요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
* Texas Instruments OMAP2+ McBSP module
Required properties:
- compatible: "ti,omap2420-mcbsp" for McBSP on OMAP2420
"ti,omap2430-mcbsp" for McBSP on OMAP2430
"ti,omap3-mcbsp" for McBSP on OMAP3
"ti,omap4-mcbsp" for McBSP on OMAP4 and newer SoC
- reg: Register location and size, for OMAP4+ as an array:
<MPU access base address, size>,
<L3 interconnect address, size>;
- reg-names: Array of strings associated with the address space
- interrupts: Interrupt numbers for the McBSP port, as an array in case the
McBSP IP have more interrupt lines:
<OCP compliant irq>,
<TX irq>,
<RX irq>;
- interrupt-names: Array of strings associated with the interrupt numbers
- ti,buffer-size: Size of the FIFO on the port (OMAP2430 and newer SoC)
- ti,hwmods: Name of the hwmod associated to the McBSP port
Example:
mcbsp2: mcbsp@49022000 {
compatible = "ti,omap3-mcbsp";
reg = <0x49022000 0xff>,
<0x49028000 0xff>;
reg-names = "mpu", "sidetone";
interrupts = <0 17 0x4>, /* OCP compliant interrupt */
<0 62 0x4>, /* TX interrupt */
<0 63 0x4>, /* RX interrupt */
<0 4 0x4>; /* Sidetone */
interrupt-names = "common", "tx", "rx", "sidetone";
interrupt-parent = <&intc>;
ti,buffer-size = <1280>;
ti,hwmods = "mcbsp2";
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
OMAP2+ McBSP 필수 속성
1-20McBSP의 `compatible`은 OMAP2420에서 `ti,omap2420-mcbsp`, OMAP2430에서 `ti,omap2430-mcbsp`, OMAP3에서 `ti,omap3-mcbsp`, OMAP4 이후에서 `ti,omap4-mcbsp`입니다.
`reg`는 register location과 size이며 OMAP4+에서는 MPU access와 L3 interconnect 두 address space를 배열로 둡니다. `reg-names`는 각 address space의 이름입니다.
`interrupts`는 OCP-compliant, TX, RX interrupt 배열이고 `interrupt-names`가 각 번호의 이름을 지정합니다. `ti,buffer-size`는 OMAP2430 이후 port FIFO 크기, `ti,hwmods`는 McBSP port의 hwmod 이름입니다.
OMAP3 McBSP2 예제
21-36예제는 MPU와 sidetone register, common·TX·RX·sidetone interrupt, FIFO 크기 1280과 `mcbsp2` hwmod를 구성합니다.
mcbsp2: mcbsp@49022000 {
compatible = "ti,omap3-mcbsp";
reg = <0x49022000 0xff>,
<0x49028000 0xff>;
reg-names = "mpu", "sidetone";
interrupts = <0 17 0x4>, /* OCP compliant interrupt */
<0 62 0x4>, /* TX interrupt */
<0 63 0x4>, /* RX interrupt */
<0 4 0x4>; /* Sidetone */
interrupt-names = "common", "tx", "rx", "sidetone";
interrupt-parent = <&intc>;
ti,buffer-size = <1280>;
ti,hwmods = "mcbsp2";
};
요약과 해설
omap-mcbsp.txt:1-36OMAP 세대별 McBSP compatible과 register·interrupt·FIFO 자원을 설명합니다. 접을 수 있는 영어 원문은 전체 source line과 공백을 보존하며, 한국어 전문 번역은 property·endpoint·phandle·예제 코드를 원형대로 유지합니다.