요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
* ImgTec Infrared (IR) decoder version 1
This binding is for Imagination Technologies' Infrared decoder block,
specifically major revision 1.
Required properties:
- compatible: Should be "img,ir-rev1"
- reg: Physical base address of the controller and length of
memory mapped region.
- interrupts: The interrupt specifier to the cpu.
Optional properties:
- clocks: List of clock specifiers as described in standard
clock bindings.
Up to 3 clocks may be specified in the following order:
1st: Core clock (defaults to 32.768KHz if omitted).
2nd: System side (fast) clock.
3rd: Power modulation clock.
- clock-names: List of clock names corresponding to the clocks
specified in the clocks property.
Accepted clock names are:
"core": Core clock.
"sys": System clock.
"mod": Power modulation clock.
Example:
ir@2006200 {
compatible = "img,ir-rev1";
reg = <0x02006200 0x100>;
interrupts = <29 4>;
clocks = <&clk_32khz>;
clock-names = "core";
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
ImgTec IR decoder revision 1
1-11이 바인딩은 Imagination Technologies Infrared decoder block의 major revision 1용입니다. 필수 `compatible`은 `img,ir-rev1`, `reg`는 controller의 물리 base address와 MMIO region 길이, `interrupts`는 CPU interrupt specifier입니다.
최대 세 clock을 property 배열에 지정하는 순서입니다.
선택적 세 clock
12-25선택적인 `clocks`는 표준 clock binding을 따르며 최대 3개를 순서대로 지정합니다. 첫 번째 core clock은 생략하면 32.768kHz, 두 번째는 system-side fast clock, 세 번째는 power modulation clock입니다.
`clock-names`는 같은 순서의 clock 이름 목록이며 허용 이름은 core clock의 `core`, system clock의 `sys`, power modulation clock의 `mod`입니다.
Core clock만 지정한 예제
26-34예제는 `0x02006200`의 0x100-byte MMIO region과 interrupt `<29 4>`를 사용하고 32kHz clock을 `core`로 지정합니다.
ir@2006200 {
compatible = "img,ir-rev1";
reg = <0x02006200 0x100>;
interrupts = <29 4>;
clocks = <&clk_32khz>;
clock-names = "core";
};
요약과 해설
img-ir-rev1.txt:1-34최대 세 clock의 순서와 기본 32.768kHz core clock을 설명합니다.