← Documents Documentation/devicetree/bindings/media/img-ir-rev1.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

ImgTec Infrared Decoder Revision 1

ImgTec IR decoder의 MMIO, IRQ와 core·system·modulation clock입니다.

Source pathDocumentation/devicetree/bindings/media/img-ir-rev1.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

img-ir-rev1.txt:1-34

최대 세 clock의 순서와 기본 32.768kHz core clock을 설명합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 * ImgTec Infrared (IR) decoder version 1
2
3 This binding is for Imagination Technologies' Infrared decoder block,
4 specifically major revision 1.
5
6 Required properties:
7 - compatible: Should be "img,ir-rev1"
8 - reg: Physical base address of the controller and length of
9 memory mapped region.
10 - interrupts: The interrupt specifier to the cpu.
11
12 Optional properties:
13 - clocks: List of clock specifiers as described in standard
14 clock bindings.
15 Up to 3 clocks may be specified in the following order:
16 1st: Core clock (defaults to 32.768KHz if omitted).
17 2nd: System side (fast) clock.
18 3rd: Power modulation clock.
19 - clock-names: List of clock names corresponding to the clocks
20 specified in the clocks property.
21 Accepted clock names are:
22 "core": Core clock.
23 "sys": System clock.
24 "mod": Power modulation clock.
25
26 Example:
27
28 ir@2006200 {
29 compatible = "img,ir-rev1";
30 reg = <0x02006200 0x100>;
31 interrupts = <29 4>;
32 clocks = <&clk_32khz>;
33 clock-names = "core";
34 };
35

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입니다.

ImgTec IR clock 순서
순서clock-names역할
1coreCore clock, 생략 시 32.768kHz
2sysSystem-side fast clock
3modPower modulation clock

최대 세 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";
};