18c2ecf20Sopenharmony_ci* Dialog Semiconductor SLG51000 Voltage Regulator
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible : Should be "dlg,slg51000" for SLG51000
58c2ecf20Sopenharmony_ci- reg : Specifies the I2C slave address.
68c2ecf20Sopenharmony_ci- xxx-supply: Input voltage supply regulator for ldo3 to ldo7.
78c2ecf20Sopenharmony_ci  These entries are required if regulators are enabled for a device.
88c2ecf20Sopenharmony_ci  An absence of these properties can cause the regulator registration to fail.
98c2ecf20Sopenharmony_ci  If some of input supply is powered through battery or always-on supply then
108c2ecf20Sopenharmony_ci  also it is required to have these parameters with proper node handle of always
118c2ecf20Sopenharmony_ci  on power supply.
128c2ecf20Sopenharmony_ci    vin3-supply: Input supply for ldo3
138c2ecf20Sopenharmony_ci    vin4-supply: Input supply for ldo4
148c2ecf20Sopenharmony_ci    vin5-supply: Input supply for ldo5
158c2ecf20Sopenharmony_ci    vin6-supply: Input supply for ldo6
168c2ecf20Sopenharmony_ci    vin7-supply: Input supply for ldo7
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciOptional properties:
198c2ecf20Sopenharmony_ci- interrupt-parent : Specifies the reference to the interrupt controller.
208c2ecf20Sopenharmony_ci- interrupts : IRQ line information.
218c2ecf20Sopenharmony_ci- dlg,cs-gpios : Specify a valid GPIO for chip select
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciSub-nodes:
248c2ecf20Sopenharmony_ci- regulators : This node defines the settings for the regulators.
258c2ecf20Sopenharmony_ci  The content of the sub-node is defined by the standard binding
268c2ecf20Sopenharmony_ci  for regulators; see regulator.txt.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci  The SLG51000 regulators are bound using their names listed below:
298c2ecf20Sopenharmony_ci    ldo1
308c2ecf20Sopenharmony_ci    ldo2
318c2ecf20Sopenharmony_ci    ldo3
328c2ecf20Sopenharmony_ci    ldo4
338c2ecf20Sopenharmony_ci    ldo5
348c2ecf20Sopenharmony_ci    ldo6
358c2ecf20Sopenharmony_ci    ldo7
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciOptional properties for regulators:
388c2ecf20Sopenharmony_ci- enable-gpios : Specify a valid GPIO for platform control of the regulator.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciExample:
418c2ecf20Sopenharmony_ci	pmic: slg51000@75 {
428c2ecf20Sopenharmony_ci		compatible = "dlg,slg51000";
438c2ecf20Sopenharmony_ci		reg = <0x75>;
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci		regulators {
468c2ecf20Sopenharmony_ci			ldo1 {
478c2ecf20Sopenharmony_ci			        regulator-name = "ldo1";
488c2ecf20Sopenharmony_ci			        regulator-min-microvolt = <2400000>;
498c2ecf20Sopenharmony_ci			        regulator-max-microvolt = <3300000>;
508c2ecf20Sopenharmony_ci			};
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci			ldo2 {
538c2ecf20Sopenharmony_ci			        regulator-name = "ldo2";
548c2ecf20Sopenharmony_ci			        regulator-min-microvolt = <2400000>;
558c2ecf20Sopenharmony_ci			        regulator-max-microvolt = <3300000>;
568c2ecf20Sopenharmony_ci			};
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci			ldo3 {
598c2ecf20Sopenharmony_ci			        regulator-name = "ldo3";
608c2ecf20Sopenharmony_ci			        regulator-min-microvolt = <1200000>;
618c2ecf20Sopenharmony_ci			        regulator-max-microvolt = <3750000>;
628c2ecf20Sopenharmony_ci			};
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ci			ldo4 {
658c2ecf20Sopenharmony_ci			        regulator-name = "ldo4";
668c2ecf20Sopenharmony_ci			        regulator-min-microvolt = <1200000>;
678c2ecf20Sopenharmony_ci			        regulator-max-microvolt = <3750000>;
688c2ecf20Sopenharmony_ci			};
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ci			ldo5 {
718c2ecf20Sopenharmony_ci			        regulator-name = "ldo5";
728c2ecf20Sopenharmony_ci			        regulator-min-microvolt = <500000>;
738c2ecf20Sopenharmony_ci			        regulator-max-microvolt = <1200000>;
748c2ecf20Sopenharmony_ci			};
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci			ldo6 {
778c2ecf20Sopenharmony_ci			        regulator-name = "ldo6";
788c2ecf20Sopenharmony_ci			        regulator-min-microvolt = <500000>;
798c2ecf20Sopenharmony_ci			        regulator-max-microvolt = <1200000>;
808c2ecf20Sopenharmony_ci			};
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci			ldo7 {
838c2ecf20Sopenharmony_ci			        regulator-name = "ldo7";
848c2ecf20Sopenharmony_ci			        regulator-min-microvolt = <1200000>;
858c2ecf20Sopenharmony_ci			        regulator-max-microvolt = <3750000>;
868c2ecf20Sopenharmony_ci			};
878c2ecf20Sopenharmony_ci		};
888c2ecf20Sopenharmony_ci	};
89