요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
* Dialog DA9052/53 Power Management Integrated Circuit (PMIC)
Required properties:
- compatible : Should be "dlg,da9052", "dlg,da9053-aa",
"dlg,da9053-ab", or "dlg,da9053-bb"
Optional properties:
- dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen
input lines are used as general purpose analogue
input.
- tsiref-supply: Phandle to the regulator, which provides the reference
voltage for the TSIREF pin. Must be provided when the
touchscreen pins are used for ADC purposes.
Sub-nodes:
- regulators : Contain the regulator nodes. The DA9052/53 regulators are
bound using their names as listed below:
buck1 : regulator BUCK CORE
buck2 : regulator BUCK PRO
buck3 : regulator BUCK MEM
buck4 : regulator BUCK PERI
ldo1 : regulator LDO1
ldo2 : regulator LDO2
ldo3 : regulator LDO3
ldo4 : regulator LDO4
ldo5 : regulator LDO5
ldo6 : regulator LDO6
ldo7 : regulator LDO7
ldo8 : regulator LDO8
ldo9 : regulator LDO9
ldo10 : regulator LDO10
The bindings details of individual regulator device can be found in:
Documentation/devicetree/bindings/regulator/regulator.txt
Examples:
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>;
};
};
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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`까지의 이름으로 바인딩합니다.
네 buck rail과 열 LDO의 고정 자식 이름입니다.
개별 regulator 장치의 자세한 속성은 `Documentation/devicetree/bindings/regulator/regulator.txt`에 있습니다.
네 buck 전압 예제
37-67I2C1의 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>;
};
};
};
};
요약과 해설
da9052-i2c.txt:1-67TSIREF 필수 조건과 DA9053-AA 전압 범위 예제를 설명합니다.