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

Linux 6.18.37 · Devicetree Bindings

TI LM36274 Backlight and Bias Driver

LM36274의 4-channel WLED와 LCD bias regulator 바인딩입니다.

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

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

1. 요약·해설

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

요약과 해설

leds-lm36274.txt:1-85

29V boost, 세 regulator와 HVLED source 배치를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Texas Instruments LM36274 4-Channel LCD Backlight Driver w/Integrated Bias
2
3 The LM36274 is an integrated four-channel WLED driver and LCD bias supply.
4 The backlight boost provides the power to bias four parallel LED strings with
5 up to 29V total output voltage. The 11-bit LED current is programmable via
6 the I2C bus and/or controlled via a logic level PWM input from 60 uA to 30 mA.
7
8 Parent device properties are documented in
9 Documentation/devicetree/bindings/mfd/ti-lmu.txt
10
11 Regulator properties are documented in
12 Documentation/devicetree/bindings/regulator/lm363x-regulator.txt
13
14 Required backlight properties:
15 - compatible:
16 "ti,lm36274-backlight"
17 - reg : 0
18 - #address-cells : 1
19 - #size-cells : 0
20 - led-sources : Indicates which LED strings will be enabled.
21 Values from 0-3, sources is 0 based so strings will be
22 source value + 1.
23
24 Optional backlight properties:
25 - label : see Documentation/devicetree/bindings/leds/common.txt
26 - linux,default-trigger :
27 see Documentation/devicetree/bindings/leds/common.txt
28
29 Example:
30
31 HVLED string 1 and 3 are controlled by control bank A and HVLED 2 string is
32 controlled by control bank B.
33
34 lm36274@11 {
35 compatible = "ti,lm36274";
36 #address-cells = <1>;
37 #size-cells = <0>;
38 reg = <0x11>;
39
40 enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
41
42 regulators {
43 #address-cells = <1>;
44 #size-cells = <0>;
45 compatible = "ti,lm363x-regulator";
46
47 enable-gpios = <&pioC 0 GPIO_ACTIVE_HIGH>,
48 <&pioC 1 GPIO_ACTIVE_HIGH>;
49
50 vboost {
51 regulator-name = "lcd_boost";
52 regulator-min-microvolt = <4000000>;
53 regulator-max-microvolt = <7150000>;
54 regulator-always-on;
55 };
56
57 vpos {
58 regulator-name = "lcd_vpos";
59 regulator-min-microvolt = <4000000>;
60 regulator-max-microvolt = <6500000>;
61 };
62
63 vneg {
64 regulator-name = "lcd_vneg";
65 regulator-min-microvolt = <4000000>;
66 regulator-max-microvolt = <6500000>;
67 };
68 };
69
70 backlight {
71 #address-cells = <1>;
72 #size-cells = <0>;
73 compatible = "ti,lm36274-backlight";
74
75 led@0 {
76 reg = <0>;
77 led-sources = <0 2>;
78 label = "white:backlight_cluster";
79 linux,default-trigger = "backlight";
80 };
81 };
82 };
83
84 For more product information please see the link below:
85 https://www.ti.com/lit/ds/symlink/lm36274.pdf
86

3. 한국어 전문 번역

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

LM36274 4-channel backlight 속성

1-28

TI LM36274는 4-channel WLED driver와 LCD bias supply를 통합합니다. Backlight boost는 병렬 LED string 네 개에 전원을 공급하며 총 출력 전압은 최대 29V입니다. 11-bit LED current는 I2C bus로 프로그래밍하거나 logic-level PWM 입력으로 60uA~30mA 범위에서 제어합니다.

Parent 장치 속성은 `Documentation/devicetree/bindings/mfd/ti-lmu.txt`, regulator 속성은 `Documentation/devicetree/bindings/regulator/lm363x-regulator.txt`에 정의됩니다.

Backlight의 필수 `compatible`은 `ti,lm36274-backlight`, `reg`는 0, `#address-cells`는 1, `#size-cells`는 0입니다. `led-sources`는 활성화할 LED string을 0~3으로 지정하며 zero-based이므로 실제 string 번호는 source 값 + 1입니다. 선택 `label`과 `linux,default-trigger`는 공통 LED 바인딩을 따릅니다.

LM36274 전원과 WLED
Vboost/Vpos/VnegLCD bias supply
Backlight boost최대 29V
11-bit current/PWM60uA~30mA
HVLED sources 0..3실제 string 1..4

통합 bias regulator와 두 control bank가 네 HVLED string을 구동합니다.

LM36274 regulator와 backlight 예제

29-85

예제 설명에서 HVLED string 1과 3은 control bank A, string 2는 bank B가 제어합니다. Parent는 주소 `0x11`의 LM36274이고 active-high enable을 사용합니다.

Regulator node는 4.0~7.15V `lcd_boost`, 4.0~6.5V `lcd_vpos`, 4.0~6.5V `lcd_vneg`를 정의합니다. Backlight child는 source 0과 2, 즉 HVLED string 1과 3을 묶어 white backlight cluster로 만들고 backlight trigger를 사용합니다.

lm36274@11 {
        compatible = "ti,lm36274";
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <0x11>;

        enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;

        regulators {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "ti,lm363x-regulator";

                enable-gpios = <&pioC 0 GPIO_ACTIVE_HIGH>,
                               <&pioC 1 GPIO_ACTIVE_HIGH>;

                vboost {
                        regulator-name = "lcd_boost";
                        regulator-min-microvolt = <4000000>;
                        regulator-max-microvolt = <7150000>;
                        regulator-always-on;
                };

                vpos {
                        regulator-name = "lcd_vpos";
                        regulator-min-microvolt = <4000000>;
                        regulator-max-microvolt = <6500000>;
                };

                vneg {
                        regulator-name = "lcd_vneg";
                        regulator-min-microvolt = <4000000>;
                        regulator-max-microvolt = <6500000>;
                };
        };

        backlight {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "ti,lm36274-backlight";

                led@0 {
                        reg = <0>;
                        led-sources = <0 2>;
                        label = "white:backlight_cluster";
                        linux,default-trigger = "backlight";
                };
        };
};