← Documents Documentation/devicetree/bindings/mfd/tps6105x.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

TI TPS61050 and TPS61052

TPS6105x white LED boost converter의 GPIO·regulator·LED 동작 모드 바인딩입니다.

Source pathDocumentation/devicetree/bindings/mfd/tps6105x.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

tps6105x.txt:1-62

선택 자식 하나로 정하는 세 동작 구성과 5V regulator·white LED 예제를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Device tree bindings for TI TPS61050/61052 Boost Converters
2
3 The TP61050/TPS61052 is a high-power "white LED driver". The
4 device provides LED, GPIO and regulator functionalities.
5
6 Required properties:
7 - compatible: "ti,tps61050" or "ti,tps61052"
8 - reg: Specifies the I2C slave address
9
10 Optional sub-node:
11
12 This subnode selects the chip's operational mode.
13 There can be at most one single available subnode.
14
15 - regulator: presence of this sub-node puts the chip in regulator mode.
16 see ../regulator/regulator.yaml
17
18 - led: presence of this sub-node puts the chip in led mode.
19 Optional properties:
20 - function : see ../leds/common.txt
21 - color : see ../leds/common.txt
22 - label : see ../leds/common.txt
23 (deprecated)
24
25 Example (GPIO operation only):
26
27 i2c0 {
28 tps61052@33 {
29 compatible = "ti,tps61052";
30 reg = <0x33>;
31 };
32 };
33
34 Example (GPIO + regulator operation):
35
36 i2c0 {
37 tps61052@33 {
38 compatible = "ti,tps61052";
39 reg = <0x33>;
40
41 regulator {
42 regulator-min-microvolt = <5000000>;
43 regulator-max-microvolt = <5000000>;
44 regulator-always-on;
45 };
46 };
47 };
48
49 Example (GPIO + led operation):
50
51 #include <dt-bindings/leds/common.h>
52
53 i2c0 {
54 tps61052@33 {
55 compatible = "ti,tps61052";
56 reg = <0x33>;
57
58 led {
59 color = <LED_COLOR_ID_WHITE>;
60 };
61 };
62 };
63

3. 한국어 전문 번역

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

TPS61050·TPS61052 boost converter

1-9

TI TPS61050/TPS61052는 고전력 white LED driver이며 LED, GPIO, regulator 기능을 제공합니다. 원문 첫 설명에는 `TP61050`으로 적힌 표기가 한 번 나타납니다.

필수 `compatible`은 `ti,tps61050` 또는 `ti,tps61052`이고 `reg`는 I2C slave address입니다.

TPS6105x 동작 모드
TPS61050 / TPS61052GPIO operation
Optional regulator childGPIO + regulator mode
Optional led childGPIO + LED mode

기본 GPIO 기능에 선택 자식 하나를 더해 regulator 또는 LED mode 중 하나를 고릅니다.

Regulator 또는 LED 자식

10-24

선택 subnode는 chip의 operational mode를 고르며 사용 가능한 subnode는 최대 하나뿐입니다. `regulator` 자식이 있으면 regulator mode가 되고 `../regulator/regulator.yaml`을 따릅니다.

`led` 자식이 있으면 LED mode가 됩니다. 선택 속성 `function`, `color`, `label`은 `../leds/common.txt`를 따르며 `label`은 deprecated입니다.

GPIO 전용 예제

25-33

GPIO 전용 구성은 별도 자식 없이 I2C 주소 `0x33`의 `ti,tps61052`만 선언합니다.

i2c0 {
        tps61052@33 {
                compatible = "ti,tps61052";
                reg = <0x33>;
        };
};

GPIO와 regulator 예제

34-48

regulator mode 예제는 5V 고정 출력과 `regulator-always-on`을 지정합니다.

i2c0 {
        tps61052@33 {
                compatible = "ti,tps61052";
                reg = <0x33>;

                regulator {
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
                        regulator-always-on;
                };
        };
};

GPIO와 white LED 예제

49-62

LED mode 예제는 `dt-bindings/leds/common.h`를 포함하고 LED 자식의 `color`를 `LED_COLOR_ID_WHITE`로 지정합니다.

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

i2c0 {
        tps61052@33 {
                compatible = "ti,tps61052";
                reg = <0x33>;

                led {
                        color = <LED_COLOR_ID_WHITE>;
                };
        };
};