← Documents Documentation/devicetree/bindings/media/st-rc.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

ST IRB Remote Control

ST IRB의 적외선·UHF 수신 모드와 적외선 송신, 핀·클록·인터럽트 바인딩입니다.

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

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

1. 요약·해설

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

요약과 해설

st-rc.txt:1-29

RX/TX 배선 여부에 따른 조건부 필수 모드 속성과 적외선 수신 예제를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Device-Tree bindings for ST IRB IP
2
3 Required properties:
4 - compatible: Should contain "st,comms-irb".
5 - reg: Base physical address of the controller and length of memory
6 mapped region.
7 - interrupts: interrupt-specifier for the sole interrupt generated by
8 the device. The interrupt specifier format depends on the interrupt
9 controller parent.
10 - rx-mode: can be "infrared" or "uhf". This property specifies the L1
11 protocol used for receiving remote control signals. rx-mode should
12 be present iff the rx pins are wired up.
13 - tx-mode: should be "infrared". This property specifies the L1
14 protocol used for transmitting remote control signals. tx-mode should
15 be present iff the tx pins are wired up.
16
17 Optional properties:
18 - pinctrl-names, pinctrl-0: the pincontrol settings to configure muxing
19 properly for IRB pins.
20 - clocks : phandle with clock-specifier pair for IRB.
21
22 Example node:
23
24 rc: rc@fe518000 {
25 compatible = "st,comms-irb";
26 reg = <0xfe518000 0x234>;
27 interrupts = <0 203 0>;
28 rx-mode = "infrared";
29 };
30

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

ST IRB 장치 트리 바인딩

1-2

이 문서는 ST의 IRB(Infrared Blaster/Receiver) IP를 장치 트리에서 기술하는 방법을 정의합니다.

ST IRB 신호 경로
Infrared 또는 UHF 입력IRB 수신기
IRB 컨트롤러단일 인터럽트
IRB 송신기Infrared 출력

선택한 L1 모드에 따라 원격 제어 신호를 수신하거나 적외선으로 송신합니다.

필수 속성

3-16

`compatible`에는 `st,comms-irb`를 넣습니다. `reg`는 컨트롤러의 물리 기준 주소와 매핑할 메모리 영역 길이를 나타냅니다. `interrupts`는 장치가 생성하는 유일한 인터럽트의 지정자이며, 그 형식은 상위 인터럽트 컨트롤러에 따라 달라집니다.

`rx-mode`는 `infrared` 또는 `uhf`일 수 있으며 원격 제어 신호를 받을 때 사용하는 L1 프로토콜을 지정합니다. RX 핀이 실제로 배선된 경우에만, 그리고 그 경우에는 반드시 이 속성이 있어야 합니다. `tx-mode`는 `infrared`여야 하며 송신 L1 프로토콜을 지정합니다. 마찬가지로 TX 핀이 배선된 경우에만, 그리고 그 경우에는 반드시 존재해야 합니다.

선택 속성

17-21

`pinctrl-names`와 `pinctrl-0`는 IRB 핀의 멀티플렉싱을 올바르게 설정하는 핀 제어 상태입니다. `clocks`는 IRB에 공급되는 클록의 phandle과 clock specifier 쌍입니다.

적외선 수신 예제

22-29

예제는 `0xfe518000`의 IRB 컨트롤러에 메모리 영역과 인터럽트 203을 지정하고, 수신 모드를 적외선으로 설정합니다. TX 속성이 없으므로 송신 핀이 사용된다는 뜻은 아닙니다.

rc: rc@fe518000 {
        compatible        = "st,comms-irb";
        reg                = <0xfe518000 0x234>;
        interrupts        = <0 203 0>;
        rx-mode                = "infrared";
};