18c2ecf20Sopenharmony_ciTI LMU LM363x regulator device tree bindings
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciLM363x regulator driver supports LM3631 and LM3632.
48c2ecf20Sopenharmony_ciLM3631 has five regulators and LM3632 supports three regulators.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciRequired property:
78c2ecf20Sopenharmony_ci  - compatible: "ti,lm363x-regulator"
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciOptional properties:
108c2ecf20Sopenharmony_ci  LM3632 has external enable pins for two LDOs.
118c2ecf20Sopenharmony_ci  - enable-gpios: Two GPIO specifiers for Vpos and Vneg control pins.
128c2ecf20Sopenharmony_ci                  The first entry is Vpos, the second is Vneg enable pin.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciChild nodes:
158c2ecf20Sopenharmony_ci  LM3631
168c2ecf20Sopenharmony_ci  - vboost
178c2ecf20Sopenharmony_ci  - vcont
188c2ecf20Sopenharmony_ci  - voref
198c2ecf20Sopenharmony_ci  - vpos
208c2ecf20Sopenharmony_ci  - vneg
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci  LM3632
238c2ecf20Sopenharmony_ci  - vboost
248c2ecf20Sopenharmony_ci  - vpos
258c2ecf20Sopenharmony_ci  - vneg
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci  Optional properties of a child node:
288c2ecf20Sopenharmony_ci  Each sub-node should contain the constraints and initialization.
298c2ecf20Sopenharmony_ci  Please refer to [1].
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciExamples: Please refer to ti-lmu dt-bindings [2].
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_cilm3631@29 {
348c2ecf20Sopenharmony_ci	compatible = "ti,lm3631";
358c2ecf20Sopenharmony_ci	reg = <0x29>;
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci	regulators {
388c2ecf20Sopenharmony_ci		compatible = "ti,lm363x-regulator";
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci		vboost {
418c2ecf20Sopenharmony_ci			regulator-name = "lcd_boost";
428c2ecf20Sopenharmony_ci			regulator-min-microvolt = <4500000>;
438c2ecf20Sopenharmony_ci			regulator-max-microvolt = <6350000>;
448c2ecf20Sopenharmony_ci			regulator-always-on;
458c2ecf20Sopenharmony_ci		};
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci		vcont {
488c2ecf20Sopenharmony_ci			regulator-name = "lcd_vcont";
498c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1800000>;
508c2ecf20Sopenharmony_ci			regulator-max-microvolt = <3300000>;
518c2ecf20Sopenharmony_ci		};
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci		voref {
548c2ecf20Sopenharmony_ci			regulator-name = "lcd_voref";
558c2ecf20Sopenharmony_ci			regulator-min-microvolt = <4000000>;
568c2ecf20Sopenharmony_ci			regulator-max-microvolt = <6000000>;
578c2ecf20Sopenharmony_ci		};
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ci		vpos {
608c2ecf20Sopenharmony_ci			regulator-name = "lcd_vpos";
618c2ecf20Sopenharmony_ci			regulator-min-microvolt = <4000000>;
628c2ecf20Sopenharmony_ci			regulator-max-microvolt = <6000000>;
638c2ecf20Sopenharmony_ci			regulator-boot-on;
648c2ecf20Sopenharmony_ci		};
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ci		vneg {
678c2ecf20Sopenharmony_ci			regulator-name = "lcd_vneg";
688c2ecf20Sopenharmony_ci			regulator-min-microvolt = <4000000>;
698c2ecf20Sopenharmony_ci			regulator-max-microvolt = <6000000>;
708c2ecf20Sopenharmony_ci			regulator-boot-on;
718c2ecf20Sopenharmony_ci		};
728c2ecf20Sopenharmony_ci	};
738c2ecf20Sopenharmony_ci};
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_cilm3632@11 {
768c2ecf20Sopenharmony_ci	compatible = "ti,lm3632";
778c2ecf20Sopenharmony_ci	reg = <0x11>;
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ci	regulators {
808c2ecf20Sopenharmony_ci		compatible = "ti,lm363x-regulator";
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci		/* GPIO1_16 for Vpos, GPIO1_28 is for Vneg */
838c2ecf20Sopenharmony_ci		enable-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>,
848c2ecf20Sopenharmony_ci				<&gpio1 28 GPIO_ACTIVE_HIGH>;
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci		vboost {
878c2ecf20Sopenharmony_ci			regulator-name = "lcd_boost";
888c2ecf20Sopenharmony_ci			regulator-min-microvolt = <4500000>;
898c2ecf20Sopenharmony_ci			regulator-max-microvolt = <6400000>;
908c2ecf20Sopenharmony_ci			regulator-always-on;
918c2ecf20Sopenharmony_ci		};
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ci		vpos {
948c2ecf20Sopenharmony_ci			regulator-name = "lcd_vpos";
958c2ecf20Sopenharmony_ci			regulator-min-microvolt = <4000000>;
968c2ecf20Sopenharmony_ci			regulator-max-microvolt = <6000000>;
978c2ecf20Sopenharmony_ci		};
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_ci		vneg {
1008c2ecf20Sopenharmony_ci			regulator-name = "lcd_vneg";
1018c2ecf20Sopenharmony_ci			regulator-min-microvolt = <4000000>;
1028c2ecf20Sopenharmony_ci			regulator-max-microvolt = <6000000>;
1038c2ecf20Sopenharmony_ci		};
1048c2ecf20Sopenharmony_ci	};
1058c2ecf20Sopenharmony_ci};
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_ci[1] ../regulator/regulator.txt
1088c2ecf20Sopenharmony_ci[2] ../mfd/ti-lmu.txt
109