Documentation/devicetree/bindings/regulator/tps65023.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

TI TPS65023 regulator family

TPS65020·21·23 계열의 VDCDC와 LDO rail binding을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

tps65023.txt:1-60

필수·선택 property를 요약하고 영어 원문 전체와 줄 좌표별 한국어 전문, 설정 예제를 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 TPS65023 family of regulators
2
3 Required properties:
4 - compatible: Must be one of the following.
5 "ti,tps65020",
6 "ti,tps65021",
7 "ti,tps65023",
8 - reg: I2C slave address
9 - regulators: list of regulators provided by this controller, must be named
10 after their hardware counterparts: VDCDC[1-3] and LDO[1-2]
11 - regulators: This is the list of child nodes that specify the regulator
12 initialization data for defined regulators. The definition for each of
13 these nodes is defined using the standard binding for regulators found at
14 Documentation/devicetree/bindings/regulator/regulator.txt.
15
16 Each regulator is defined using the standard binding for regulators.
17
18 Example:
19
20 tps65023@48 {
21 compatible = "ti,tps65023";
22 reg = <0x48>;
23
24 regulators {
25 VDCDC1 {
26 regulator-name = "vdd_mpu";
27 regulator-always-on;
28 regulator-min-microvolt = <1200000>;
29 regulator-max-microvolt = <1200000>;
30 };
31
32 VDCDC2 {
33 regulator-name = "vdd_core";
34 regulator-always-on;
35 regulator-min-microvolt = <3300000>;
36 regulator-max-microvolt = <3300000>;
37 };
38
39 VDCDC3 {
40 regulator-name = "vdd_io";
41 regulator-always-on;
42 regulator-min-microvolt = <1800000>;
43 regulator-max-microvolt = <1800000>;
44 };
45
46 LDO1 {
47 regulator-name = "vdd_usb18";
48 regulator-always-on;
49 regulator-min-microvolt = <1800000>;
50 regulator-max-microvolt = <1800000>;
51 };
52
53 LDO2 {
54 regulator-name = "vdd_usb33";
55 regulator-always-on;
56 regulator-min-microvolt = <3300000>;
57 regulator-max-microvolt = <3300000>;
58 };
59 };
60 };
61

3. 한국어 전문 번역

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

TPS65023 계열 필수 property

1-17

TPS65023 regulator 계열의 `compatible`은 `ti,tps65020`, `ti,tps65021`, `ti,tps65023` 중 하나여야 하고, `reg`에는 I2C slave address를 지정합니다.

`regulators`에는 controller가 제공하는 regulator 목록과 각 regulator의 초기화 data를 child node로 둡니다. Hardware 이름에 맞춰 `VDCDC1`, `VDCDC2`, `VDCDC3`, `LDO1`, `LDO2`를 사용해야 하며 각 node는 `Documentation/devicetree/bindings/regulator/regulator.txt`의 표준 regulator binding으로 정의합니다.

TPS65023 다섯 rail 예제

18-60

I2C address 0x48의 예제는 `VDCDC1`을 1,200,000 microvolt `vdd_mpu`, `VDCDC2`를 3,300,000 microvolt `vdd_core`, `VDCDC3`을 1,800,000 microvolt `vdd_io`로 설정합니다.

`LDO1`은 1,800,000 microvolt `vdd_usb18`, `LDO2`는 3,300,000 microvolt `vdd_usb33`이며 다섯 rail 모두 always-on입니다.

tps65023@48 {
        compatible = "ti,tps65023";
        reg = <0x48>;

        regulators {
                VDCDC1 {
                        regulator-name = "vdd_mpu";
                        regulator-always-on;
                        regulator-min-microvolt = <1200000>;
                        regulator-max-microvolt = <1200000>;
                };

                VDCDC2 {
                        regulator-name = "vdd_core";
                        regulator-always-on;
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                };

                VDCDC3 {
                        regulator-name = "vdd_io";
                        regulator-always-on;
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                };

                LDO1 {
                        regulator-name = "vdd_usb18";
                        regulator-always-on;
                        regulator-min-microvolt = <1800000>;
                        regulator-max-microvolt = <1800000>;
                };

                LDO2 {
                        regulator-name = "vdd_usb33";
                        regulator-always-on;
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
                };
        };
};