← Documents Documentation/devicetree/bindings/regulator/tps65218.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

TI TPS65218 regulator family

TPS65218 DCDC·LDO·load switch binding과 원문의 이름 불일치를 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

tps65218.txt:1-83

칩별 supply와 regulator 이름, 확장 property, 예제 수치를 영어 원문 전체 및 줄 좌표별 한국어 전문과 함께 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 TPS65218 family of regulators
2
3 Required properties:
4 - compatible: "ti,tps65218"
5 - reg: I2C slave address
6
7 - List of regulators provided by this controller, must be named
8 after their hardware counterparts: dcdc[1-6] and ldo1
9 - This is the list of child nodes that specify the regulator
10 initialization data for defined regulators. Not all regulators for the given
11 device need to be present. The definition for each of these nodes is defined
12 using the standard binding for regulators found at ./regulator.txt.
13
14 The valid names for regulators are:
15 tps65217: regulator-dcdc1, regulator-dcdc2, regulator-dcdc3, regulator-dcdc4,
16 regulator-dcdc5, regulator-dcdc6, regulator-ldo1, regulator-ls3.
17 Each regulator is defined using the standard binding for regulators.
18
19 Example:
20 tps65218: tps65218@24 {
21 reg = <0x24>;
22 compatible = "ti,tps65218";
23 interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* NMIn */
24 interrupt-controller;
25 #interrupt-cells = <2>;
26
27 dcdc1: regulator-dcdc1 {
28 regulator-name = "vdd_core";
29 regulator-min-microvolt = <912000>;
30 regulator-max-microvolt = <1144000>;
31 regulator-boot-on;
32 regulator-always-on;
33 };
34
35 dcdc2: regulator-dcdc2 {
36 regulator-name = "vdd_mpu";
37 regulator-min-microvolt = <912000>;
38 regulator-max-microvolt = <1378000>;
39 regulator-boot-on;
40 regulator-always-on;
41 };
42
43 dcdc3: regulator-dcdc3 {
44 regulator-name = "vdcdc3";
45 regulator-min-microvolt = <1500000>;
46 regulator-max-microvolt = <1500000>;
47 regulator-boot-on;
48 regulator-always-on;
49 };
50
51 dcdc5: regulator-dcdc5 {
52 regulator-name = "v1_0bat";
53 regulator-min-microvolt = <1000000>;
54 regulator-max-microvolt = <1000000>;
55 regulator-boot-on;
56 regulator-always-on;
57 };
58
59 dcdc6: regulator-dcdc6 {
60 regulator-name = "v1_8bat";
61 regulator-min-microvolt = <1800000>;
62 regulator-max-microvolt = <1800000>;
63 regulator-boot-on;
64 regulator-always-on;
65 };
66
67 ldo1: regulator-ldo1 {
68 regulator-min-microvolt = <1800000>;
69 regulator-max-microvolt = <1800000>;
70 regulator-boot-on;
71 regulator-always-on;
72 };
73
74 ls2: regulator-ls2 {
75 regulator-min-microamp = <100000>;
76 regulator-max-microamp = <1000000>;
77 };
78
79 ls3: regulator-ls3 {
80 regulator-min-microamp = <100000>;
81 regulator-max-microamp = <1000000>;
82 };
83 };
84

3. 한국어 전문 번역

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

TPS65218 regulator 이름과 binding

1-18

TPS65218 regulator 계열의 필수 `compatible`은 `ti,tps65218`, `reg`는 I2C slave address입니다. Controller가 제공하는 regulator child node는 hardware에 맞춰 `dcdc[1-6]`과 `ldo1` 이름을 사용하며 모든 regulator를 반드시 포함할 필요는 없습니다. 각 node는 `./regulator.txt`의 표준 binding을 따릅니다.

원문의 유효 이름 머리말은 `tps65217`로 표기되어 있으며, 목록은 `regulator-dcdc1`, `regulator-dcdc2`, `regulator-dcdc3`, `regulator-dcdc4`, `regulator-dcdc5`, `regulator-dcdc6`, `regulator-ldo1`, `regulator-ls3`입니다. 각 regulator는 표준 binding으로 정의합니다.

TPS65218 DCDC·LDO·load switch 예제

19-83

I2C address 0x24의 예제는 interrupt controller와 `dcdc1`, `dcdc2`, `dcdc3`, `dcdc5`, `dcdc6`, `ldo1`, `ls2`, `ls3`를 선언합니다. 유효 이름 목록에는 `regulator-ls3`만 있지만 예제에는 `regulator-ls2`도 포함되어 있습니다.

`dcdc1`은 912,000~1,144,000 microvolt, `dcdc2`는 912,000~1,378,000 microvolt입니다. `dcdc3`은 1,500,000, `dcdc5`는 1,000,000, `dcdc6`과 `ldo1`은 1,800,000 microvolt 고정이며 모두 boot-on·always-on입니다. `ls2`와 `ls3` 전류 범위는 100,000~1,000,000 microamp입니다.

tps65218: tps65218@24 {
        reg = <0x24>;
        compatible = "ti,tps65218";
        interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* NMIn */
        interrupt-controller;
        #interrupt-cells = <2>;

        dcdc1: regulator-dcdc1 {
                regulator-name = "vdd_core";
                regulator-min-microvolt = <912000>;
                regulator-max-microvolt = <1144000>;
                regulator-boot-on;
                regulator-always-on;
        };

        dcdc2: regulator-dcdc2 {
                regulator-name = "vdd_mpu";
                regulator-min-microvolt = <912000>;
                regulator-max-microvolt = <1378000>;
                regulator-boot-on;
                regulator-always-on;
        };

        dcdc3: regulator-dcdc3 {
                regulator-name = "vdcdc3";
                regulator-min-microvolt = <1500000>;
                regulator-max-microvolt = <1500000>;
                regulator-boot-on;
                regulator-always-on;
        };

        dcdc5: regulator-dcdc5 {
                regulator-name = "v1_0bat";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-boot-on;
                regulator-always-on;
        };

        dcdc6: regulator-dcdc6 {
                regulator-name = "v1_8bat";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-boot-on;
                regulator-always-on;
        };

        ldo1: regulator-ldo1 {
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-boot-on;
                regulator-always-on;
        };

        ls2: regulator-ls2 {
                regulator-min-microamp = <100000>;
                regulator-max-microamp = <1000000>;
        };

        ls3: regulator-ls3 {
                regulator-min-microamp = <100000>;
                regulator-max-microamp = <1000000>;
        };
};