요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
TPS65218 family of regulators
Required properties:
- compatible: "ti,tps65218"
- reg: I2C slave address
- List of regulators provided by this controller, must be named
after their hardware counterparts: dcdc[1-6] and ldo1
- This is the list of child nodes that specify the regulator
initialization data for defined regulators. Not all regulators for the given
device need to be present. The definition for each of these nodes is defined
using the standard binding for regulators found at ./regulator.txt.
The valid names for regulators are:
tps65217: regulator-dcdc1, regulator-dcdc2, regulator-dcdc3, regulator-dcdc4,
regulator-dcdc5, regulator-dcdc6, regulator-ldo1, regulator-ls3.
Each regulator is defined using the standard binding for regulators.
Example:
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>;
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
TPS65218 regulator 이름과 binding
1-18TPS65218 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-83I2C 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>;
};
};
요약과 해설
tps65218.txt:1-83칩별 supply와 regulator 이름, 확장 property, 예제 수치를 영어 원문 전체 및 줄 좌표별 한국어 전문과 함께 제공합니다.