Documentation/devicetree/bindings/regulator/mt6311-regulator.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Mediatek MT6311 regulator

Mediatek MT6311 regulator의 rail 이름, voltage constraint와 device-tree 예제를 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

mt6311-regulator.txt:1-35

Regulator별 필수 property와 전체 예제를 원문 줄 좌표와 함께 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Mediatek MT6311 Regulator
2
3 Required properties:
4 - compatible: "mediatek,mt6311-regulator"
5 - reg: I2C slave address, usually 0x6b.
6 - regulators: List of regulators provided by this controller. It is named
7 to VDVFS and VBIASN.
8 The definition for each of these nodes is defined using the standard binding
9 for regulators at Documentation/devicetree/bindings/regulator/regulator.txt.
10
11 The valid names for regulators are:
12 BUCK:
13 VDVFS
14 LDO:
15 VBIASN
16
17 Example:
18 mt6311: pmic@6b {
19 compatible = "mediatek,mt6311-regulator";
20 reg = <0x6b>;
21
22 regulators {
23 mt6311_vcpu_reg: VDVFS {
24 regulator-name = "VDVFS";
25 regulator-min-microvolt = < 600000>;
26 regulator-max-microvolt = <1400000>;
27 regulator-ramp-delay = <10000>;
28 };
29 mt6311_ldo_reg: VBIASN {
30 regulator-name = "VBIASN";
31 regulator-min-microvolt = <200000>;
32 regulator-max-microvolt = <800000>;
33 };
34 };
35 };
36

3. 한국어 전문 번역

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

MT6311 필수 property

1-10

Mediatek MT6311 regulator의 필수 `compatible`은 `mediatek,mt6311-regulator`, `reg`는 보통 0x6b인 I2C slave address입니다. `regulators` node에는 controller가 제공하는 `VDVFS`, `VBIASN` regulator를 두며 각 정의는 `Documentation/devicetree/bindings/regulator/regulator.txt`의 standard binding을 따릅니다.

유효한 regulator 이름

11-16

유효한 BUCK 이름은 `VDVFS`, LDO 이름은 `VBIASN`입니다.

MT6311 예제

17-35

I2C address 0x6b의 예제는 `VDVFS`를 600,000~1,400,000 microvolt와 ramp delay 10,000으로 설정하고 `VBIASN`을 200,000~800,000 microvolt로 설정합니다.

mt6311: pmic@6b {
        compatible = "mediatek,mt6311-regulator";
        reg = <0x6b>;

        regulators {
                mt6311_vcpu_reg: VDVFS {
                        regulator-name = "VDVFS";
                        regulator-min-microvolt = < 600000>;
                        regulator-max-microvolt = <1400000>;
                        regulator-ramp-delay = <10000>;
                };
                mt6311_ldo_reg: VBIASN {
                        regulator-name = "VBIASN";
                        regulator-min-microvolt = <200000>;
                        regulator-max-microvolt = <800000>;
                };
        };
};