Documentation/devicetree/bindings/media/i2c/adi,adp1653.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Analog Devices ADP1653 Flash LED

ADP1653의 flash·indicator current와 flash timeout 바인딩입니다.

Source pathDocumentation/devicetree/bindings/media/i2c/adi,adp1653.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

adi,adp1653.txt:1-38

두 child 출력의 필수 current 제한을 구분해 설명합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 * Analog Devices ADP1653 flash LED driver
2
3 Required Properties:
4
5 - compatible: Must contain "adi,adp1653"
6
7 - reg: I2C slave address
8
9 - enable-gpios: Specifier of the GPIO connected to EN pin
10
11 There are two LED outputs available - flash and indicator. One LED is
12 represented by one child node, nodes need to be named "flash" and "indicator".
13
14 Required properties of the LED child node:
15 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
16
17 Required properties of the flash LED child node:
18
19 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
20 - flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
21 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
22
23 Example:
24
25 adp1653: led-controller@30 {
26 compatible = "adi,adp1653";
27 reg = <0x30>;
28 enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */
29
30 flash {
31 flash-timeout-us = <500000>;
32 flash-max-microamp = <320000>;
33 led-max-microamp = <50000>;
34 };
35 indicator {
36 led-max-microamp = <17500>;
37 };
38 };
39

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

ADP1653 flash와 indicator 출력

1-22

Analog Devices ADP1653 flash LED driver의 필수 `compatible`은 `adi,adp1653`, `reg`는 I2C slave address, `enable-gpios`는 EN pin에 연결한 GPIO specifier입니다.

장치에는 flash와 indicator 두 LED output이 있습니다. LED 하나를 child node 하나로 표현하며 node 이름은 각각 `flash`와 `indicator`여야 합니다. 모든 LED child의 `led-max-microamp`는 `Documentation/devicetree/bindings/leds/common.txt`를 따릅니다.

Flash child에는 추가로 같은 common binding의 `flash-max-microamp`와 `flash-timeout-us`가 필수입니다. 즉 flash node는 연속 LED current, flash current, flash timeout 세 제한을 모두 갖고 indicator는 연속 current 제한만 갖습니다.

ADP1653 출력별 제한
Child필수 속성
flashled-max-microamp
flashflash-max-microamp
flashflash-timeout-us
indicatorled-max-microamp

Flash와 indicator child에 필요한 current·timeout 속성을 구분합니다.

Flash current와 timeout 예제

23-38

예제 controller는 I2C 주소 `0x30`과 active-high enable GPIO를 사용합니다. Flash는 timeout 500000us, 최대 flash current 320000uA, 최대 연속 current 50000uA이고 indicator 최대 current는 17500uA입니다.

adp1653: led-controller@30 {
        compatible = "adi,adp1653";
        reg = <0x30>;
        enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */

        flash {
                flash-timeout-us = <500000>;
                flash-max-microamp = <320000>;
                led-max-microamp = <50000>;
        };
        indicator {
                led-max-microamp = <17500>;
        };
};