← Documents Documentation/devicetree/bindings/leds/leds-lm3601x.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

TI LM3601x Single-LED Flash Driver

LM36010/LM36011의 IR·torch와 flash 전류 바인딩입니다.

Source pathDocumentation/devicetree/bindings/leds/leds-lm3601x.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

leds-lm3601x.txt:1-51

Mode reg와 최대 flash 설정 예제를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Texas Instruments - lm3601x Single-LED Flash Driver
2
3 The LM3601X are ultra-small LED flash drivers that
4 provide a high level of adjustability.
5
6 Required properties:
7 - compatible : Can be one of the following
8 "ti,lm36010"
9 "ti,lm36011"
10 - reg : I2C slave address
11 - #address-cells : 1
12 - #size-cells : 0
13
14 Required child properties:
15 - reg : 0 - Indicates a IR mode
16 1 - Indicates a Torch (white LED) mode
17
18 Required properties for flash LED child nodes:
19 See Documentation/devicetree/bindings/leds/common.txt
20 - flash-max-microamp : Range from 11mA - 1.5A
21 - flash-max-timeout-us : Range from 40ms - 1600ms
22 - led-max-microamp : Range from 2.4mA - 376mA
23
24 Optional child properties:
25 - function : see Documentation/devicetree/bindings/leds/common.txt
26 - color : see Documentation/devicetree/bindings/leds/common.txt
27 - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
28
29 Example:
30
31 #include <dt-bindings/leds/common.h>
32
33 led-controller@64 {
34 compatible = "ti,lm36010";
35 #address-cells = <1>;
36 #size-cells = <0>;
37 reg = <0x64>;
38
39 led@0 {
40 reg = <1>;
41 function = LED_FUNCTION_TORCH;
42 color = <LED_COLOR_ID_WHITE>;
43 led-max-microamp = <376000>;
44 flash-max-microamp = <1500000>;
45 flash-max-timeout-us = <1600000>;
46 };
47 }
48
49 For more product information please see the links below:
50 https://www.ti.com/product/LM36010
51 https://www.ti.com/product/LM36011
52

3. 한국어 전문 번역

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

LM3601x flash LED 속성

1-28

TI LM3601x는 조절 범위가 넓은 초소형 single-LED flash driver입니다. `compatible`은 `ti,lm36010` 또는 `ti,lm36011`, `reg`는 I2C slave 주소이며 `#address-cells`는 1, `#size-cells`는 0입니다.

필수 child `reg` 값 0은 IR mode, 1은 torch white LED mode를 뜻합니다. Flash LED child는 공통 LED 바인딩에 더해 `flash-max-microamp` 11mA~1.5A, `flash-max-timeout-us` 40~1600ms, `led-max-microamp` 2.4~376mA 범위를 지정합니다.

선택 child `function`과 `color`는 공통 바인딩을 따릅니다. `label`도 공통 바인딩을 따르지만 deprecated입니다.

LM3601x 동작 범위
항목
Child reg0 = IR, 1 = Torch
Flash current11mA~1.5A
Flash timeout40~1600ms
Torch current2.4~376mA

IR/torch mode와 flash 전기 한계를 정리합니다.

LM36010 white torch 예제

29-51

예제는 주소 `0x64`의 LM36010에서 child `reg = <1>`로 torch mode를 선택하고 white `LED_FUNCTION_TORCH`를 구성합니다. 연속 LED 전류는 376000uA, flash 전류는 1500000uA, timeout은 1600000us로 각 허용 범위의 상한을 사용합니다.

#include <dt-bindings/leds/common.h>

led-controller@64 {
        compatible = "ti,lm36010";
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <0x64>;

        led@0 {
                reg = <1>;
                function = LED_FUNCTION_TORCH;
                color = <LED_COLOR_ID_WHITE>;
                led-max-microamp = <376000>;
                flash-max-microamp = <1500000>;
                flash-max-timeout-us = <1600000>;
        };
}