← Documents Documentation/devicetree/bindings/mfd/da9052-i2c.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Dialog DA9052/53 PMIC

DA9052/53의 touchscreen ADC 전환과 네 BUCK·열 LDO regulator 바인딩입니다.

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

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

1. 요약·해설

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

요약과 해설

da9052-i2c.txt:1-67

TSIREF 필수 조건과 DA9053-AA 전압 범위 예제를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Dialog DA9052/53 Power Management Integrated Circuit (PMIC)
2
3 Required properties:
4 - compatible : Should be "dlg,da9052", "dlg,da9053-aa",
5 "dlg,da9053-ab", or "dlg,da9053-bb"
6
7 Optional properties:
8 - dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen
9 input lines are used as general purpose analogue
10 input.
11 - tsiref-supply: Phandle to the regulator, which provides the reference
12 voltage for the TSIREF pin. Must be provided when the
13 touchscreen pins are used for ADC purposes.
14
15 Sub-nodes:
16 - regulators : Contain the regulator nodes. The DA9052/53 regulators are
17 bound using their names as listed below:
18
19 buck1 : regulator BUCK CORE
20 buck2 : regulator BUCK PRO
21 buck3 : regulator BUCK MEM
22 buck4 : regulator BUCK PERI
23 ldo1 : regulator LDO1
24 ldo2 : regulator LDO2
25 ldo3 : regulator LDO3
26 ldo4 : regulator LDO4
27 ldo5 : regulator LDO5
28 ldo6 : regulator LDO6
29 ldo7 : regulator LDO7
30 ldo8 : regulator LDO8
31 ldo9 : regulator LDO9
32 ldo10 : regulator LDO10
33
34 The bindings details of individual regulator device can be found in:
35 Documentation/devicetree/bindings/regulator/regulator.txt
36
37 Examples:
38
39 i2c@63fc8000 { /* I2C1 */
40
41 pmic: dialog@48 {
42 compatible = "dlg,da9053-aa";
43 reg = <0x48>;
44
45 regulators {
46 buck1 {
47 regulator-min-microvolt = <500000>;
48 regulator-max-microvolt = <2075000>;
49 };
50
51 buck2 {
52 regulator-min-microvolt = <500000>;
53 regulator-max-microvolt = <2075000>;
54 };
55
56 buck3 {
57 regulator-min-microvolt = <925000>;
58 regulator-max-microvolt = <2500000>;
59 };
60
61 buck4 {
62 regulator-min-microvolt = <925000>;
63 regulator-max-microvolt = <2500000>;
64 };
65 };
66 };
67 };
68

3. 한국어 전문 번역

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

Dialog DA9052/53 PMIC

1-2

이 바인딩은 Dialog DA9052 및 DA9053 Power Management Integrated Circuit을 설명합니다.

필수 호환성

3-6

`compatible`은 `dlg,da9052`, `dlg,da9053-aa`, `dlg,da9053-ab`, `dlg,da9053-bb` 중 하나여야 합니다.

Touchscreen pin의 ADC 사용

7-14

불리언 `dlg,tsi-as-adc`를 설정하면 touchscreen 입력 X+, X-, Y+, Y-를 범용 analog input으로 사용합니다. 이 용도로 touchscreen pin을 쓸 때는 TSIREF pin의 기준 전압을 공급하는 regulator phandle인 `tsiref-supply`가 반드시 필요합니다.

Regulator 자식 이름

15-36

`regulators` 자식에는 regulator 노드를 넣습니다. DA9052/53 regulator는 BUCK CORE인 `buck1`, BUCK PRO인 `buck2`, BUCK MEM인 `buck3`, BUCK PERI인 `buck4`와 `ldo1`부터 `ldo10`까지의 이름으로 바인딩합니다.

DA9052/53 regulator 이름
이름기능
buck1BUCK CORE
buck2BUCK PRO
buck3BUCK MEM
buck4BUCK PERI
ldo1..ldo10LDO1..LDO10

네 buck rail과 열 LDO의 고정 자식 이름입니다.

개별 regulator 장치의 자세한 속성은 `Documentation/devicetree/bindings/regulator/regulator.txt`에 있습니다.

네 buck 전압 예제

37-67

I2C1의 PMIC는 주소 `0x48`과 `dlg,da9053-aa` 호환성을 사용합니다. BUCK1·BUCK2 범위는 0.5~2.075V이고 BUCK3·BUCK4 범위는 0.925~2.5V입니다.

i2c@63fc8000 { /* I2C1 */

        pmic: dialog@48 {
                compatible = "dlg,da9053-aa";
                reg = <0x48>;

                regulators {
                        buck1 {
                                regulator-min-microvolt = <500000>;
                                regulator-max-microvolt = <2075000>;
                        };

                        buck2 {
                                regulator-min-microvolt = <500000>;
                                regulator-max-microvolt = <2075000>;
                        };

                        buck3 {
                                regulator-min-microvolt = <925000>;
                                regulator-max-microvolt = <2500000>;
                        };

                        buck4 {
                                regulator-min-microvolt = <925000>;
                                regulator-max-microvolt = <2500000>;
                        };
                };
        };
};