18c2ecf20Sopenharmony_ciTPS6507x Power Management Integrated Circuit
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: "ti,tps6507x"
58c2ecf20Sopenharmony_ci- reg: I2C slave address
68c2ecf20Sopenharmony_ci- regulators: This is the list of child nodes that specify the regulator
78c2ecf20Sopenharmony_ci  initialization data for defined regulators. Not all regulators for the
88c2ecf20Sopenharmony_ci  given device need to be present. The definition for each of these nodes
98c2ecf20Sopenharmony_ci  is defined using the standard binding for regulators found at
108c2ecf20Sopenharmony_ci  Documentation/devicetree/bindings/regulator/regulator.txt.
118c2ecf20Sopenharmony_ci  The regulator is matched with the regulator-compatible.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci  The valid regulator-compatible values are:
148c2ecf20Sopenharmony_ci  tps6507x: vdcdc1, vdcdc2, vdcdc3, vldo1, vldo2
158c2ecf20Sopenharmony_ci- xxx-supply: Input voltage supply regulator.
168c2ecf20Sopenharmony_ci  These entries are required if regulators are enabled for a device.
178c2ecf20Sopenharmony_ci  Missing of these properties can cause the regulator registration
188c2ecf20Sopenharmony_ci  fails.
198c2ecf20Sopenharmony_ci  If some of input supply is powered through battery or always-on
208c2ecf20Sopenharmony_ci  supply then also it is require to have these parameters with proper
218c2ecf20Sopenharmony_ci  node handle of always on power supply.
228c2ecf20Sopenharmony_ci  tps6507x:
238c2ecf20Sopenharmony_ci       vindcdc1_2-supply: VDCDC1 and VDCDC2 input.
248c2ecf20Sopenharmony_ci       vindcdc3-supply  : VDCDC3 input.
258c2ecf20Sopenharmony_ci       vldo1_2-supply   : VLDO1 and VLDO2 input.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciRegulator Optional properties:
288c2ecf20Sopenharmony_ci- defdcdc_default: It's property of DCDC2 and DCDC3 regulators.
298c2ecf20Sopenharmony_ci			0: If defdcdc pin of DCDC2/DCDC3 is pulled to GND.
308c2ecf20Sopenharmony_ci			1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH.
318c2ecf20Sopenharmony_ci  If this property is not defined, it defaults to 0 (not enabled).
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciExample:
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci	pmu: tps6507x@48 {
368c2ecf20Sopenharmony_ci		compatible = "ti,tps6507x";
378c2ecf20Sopenharmony_ci		reg = <0x48>;
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci		vindcdc1_2-supply = <&vbat>;
408c2ecf20Sopenharmony_ci		vindcdc3-supply = <...>;
418c2ecf20Sopenharmony_ci		vinldo1_2-supply = <...>;
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci		regulators {
448c2ecf20Sopenharmony_ci			#address-cells = <1>;
458c2ecf20Sopenharmony_ci			#size-cells = <0>;
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci			vdcdc1_reg: regulator@0 {
488c2ecf20Sopenharmony_ci				regulator-compatible = "VDCDC1";
498c2ecf20Sopenharmony_ci				reg = <0>;
508c2ecf20Sopenharmony_ci				regulator-min-microvolt = <3150000>;
518c2ecf20Sopenharmony_ci				regulator-max-microvolt = <3450000>;
528c2ecf20Sopenharmony_ci				regulator-always-on;
538c2ecf20Sopenharmony_ci				regulator-boot-on;
548c2ecf20Sopenharmony_ci			};
558c2ecf20Sopenharmony_ci			vdcdc2_reg: regulator@1 {
568c2ecf20Sopenharmony_ci				regulator-compatible = "VDCDC2";
578c2ecf20Sopenharmony_ci				reg = <1>;
588c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1710000>;
598c2ecf20Sopenharmony_ci				regulator-max-microvolt = <3450000>;
608c2ecf20Sopenharmony_ci				regulator-always-on;
618c2ecf20Sopenharmony_ci				regulator-boot-on;
628c2ecf20Sopenharmony_ci				defdcdc_default = <1>;
638c2ecf20Sopenharmony_ci			};
648c2ecf20Sopenharmony_ci			vdcdc3_reg: regulator@2 {
658c2ecf20Sopenharmony_ci				regulator-compatible = "VDCDC3";
668c2ecf20Sopenharmony_ci				reg = <2>;
678c2ecf20Sopenharmony_ci				regulator-min-microvolt = <950000>
688c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1350000>;
698c2ecf20Sopenharmony_ci				regulator-always-on;
708c2ecf20Sopenharmony_ci				regulator-boot-on;
718c2ecf20Sopenharmony_ci				defdcdc_default = <1>;
728c2ecf20Sopenharmony_ci			};
738c2ecf20Sopenharmony_ci			ldo1_reg: regulator@3 {
748c2ecf20Sopenharmony_ci				regulator-compatible = "LDO1";
758c2ecf20Sopenharmony_ci				reg = <3>;
768c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1710000>;
778c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1890000>;
788c2ecf20Sopenharmony_ci				regulator-always-on;
798c2ecf20Sopenharmony_ci				regulator-boot-on;
808c2ecf20Sopenharmony_ci			};
818c2ecf20Sopenharmony_ci			ldo2_reg: regulator@4 {
828c2ecf20Sopenharmony_ci				regulator-compatible = "LDO2";
838c2ecf20Sopenharmony_ci				reg = <4>;
848c2ecf20Sopenharmony_ci				regulator-min-microvolt = <1140000>;
858c2ecf20Sopenharmony_ci				regulator-max-microvolt = <1320000>;
868c2ecf20Sopenharmony_ci				regulator-always-on;
878c2ecf20Sopenharmony_ci				regulator-boot-on;
888c2ecf20Sopenharmony_ci			};
898c2ecf20Sopenharmony_ci		};
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ci	};
92