1*c66ec88fSEmmanuel Vadot* Dialog Semiconductor SLG51000 Voltage Regulator 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible : Should be "dlg,slg51000" for SLG51000 5*c66ec88fSEmmanuel Vadot- reg : Specifies the I2C slave address. 6*c66ec88fSEmmanuel Vadot- xxx-supply: Input voltage supply regulator for ldo3 to ldo7. 7*c66ec88fSEmmanuel Vadot These entries are required if regulators are enabled for a device. 8*c66ec88fSEmmanuel Vadot An absence of these properties can cause the regulator registration to fail. 9*c66ec88fSEmmanuel Vadot If some of input supply is powered through battery or always-on supply then 10*c66ec88fSEmmanuel Vadot also it is required to have these parameters with proper node handle of always 11*c66ec88fSEmmanuel Vadot on power supply. 12*c66ec88fSEmmanuel Vadot vin3-supply: Input supply for ldo3 13*c66ec88fSEmmanuel Vadot vin4-supply: Input supply for ldo4 14*c66ec88fSEmmanuel Vadot vin5-supply: Input supply for ldo5 15*c66ec88fSEmmanuel Vadot vin6-supply: Input supply for ldo6 16*c66ec88fSEmmanuel Vadot vin7-supply: Input supply for ldo7 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel VadotOptional properties: 19*c66ec88fSEmmanuel Vadot- interrupt-parent : Specifies the reference to the interrupt controller. 20*c66ec88fSEmmanuel Vadot- interrupts : IRQ line information. 21*c66ec88fSEmmanuel Vadot- dlg,cs-gpios : Specify a valid GPIO for chip select 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel VadotSub-nodes: 24*c66ec88fSEmmanuel Vadot- regulators : This node defines the settings for the regulators. 25*c66ec88fSEmmanuel Vadot The content of the sub-node is defined by the standard binding 26*c66ec88fSEmmanuel Vadot for regulators; see regulator.txt. 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot The SLG51000 regulators are bound using their names listed below: 29*c66ec88fSEmmanuel Vadot ldo1 30*c66ec88fSEmmanuel Vadot ldo2 31*c66ec88fSEmmanuel Vadot ldo3 32*c66ec88fSEmmanuel Vadot ldo4 33*c66ec88fSEmmanuel Vadot ldo5 34*c66ec88fSEmmanuel Vadot ldo6 35*c66ec88fSEmmanuel Vadot ldo7 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel VadotOptional properties for regulators: 38*c66ec88fSEmmanuel Vadot- enable-gpios : Specify a valid GPIO for platform control of the regulator. 39*c66ec88fSEmmanuel Vadot 40*c66ec88fSEmmanuel VadotExample: 41*c66ec88fSEmmanuel Vadot pmic: slg51000@75 { 42*c66ec88fSEmmanuel Vadot compatible = "dlg,slg51000"; 43*c66ec88fSEmmanuel Vadot reg = <0x75>; 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadot regulators { 46*c66ec88fSEmmanuel Vadot ldo1 { 47*c66ec88fSEmmanuel Vadot regulator-name = "ldo1"; 48*c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2400000>; 49*c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 50*c66ec88fSEmmanuel Vadot }; 51*c66ec88fSEmmanuel Vadot 52*c66ec88fSEmmanuel Vadot ldo2 { 53*c66ec88fSEmmanuel Vadot regulator-name = "ldo2"; 54*c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2400000>; 55*c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 56*c66ec88fSEmmanuel Vadot }; 57*c66ec88fSEmmanuel Vadot 58*c66ec88fSEmmanuel Vadot ldo3 { 59*c66ec88fSEmmanuel Vadot regulator-name = "ldo3"; 60*c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 61*c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3750000>; 62*c66ec88fSEmmanuel Vadot }; 63*c66ec88fSEmmanuel Vadot 64*c66ec88fSEmmanuel Vadot ldo4 { 65*c66ec88fSEmmanuel Vadot regulator-name = "ldo4"; 66*c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 67*c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3750000>; 68*c66ec88fSEmmanuel Vadot }; 69*c66ec88fSEmmanuel Vadot 70*c66ec88fSEmmanuel Vadot ldo5 { 71*c66ec88fSEmmanuel Vadot regulator-name = "ldo5"; 72*c66ec88fSEmmanuel Vadot regulator-min-microvolt = <500000>; 73*c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1200000>; 74*c66ec88fSEmmanuel Vadot }; 75*c66ec88fSEmmanuel Vadot 76*c66ec88fSEmmanuel Vadot ldo6 { 77*c66ec88fSEmmanuel Vadot regulator-name = "ldo6"; 78*c66ec88fSEmmanuel Vadot regulator-min-microvolt = <500000>; 79*c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1200000>; 80*c66ec88fSEmmanuel Vadot }; 81*c66ec88fSEmmanuel Vadot 82*c66ec88fSEmmanuel Vadot ldo7 { 83*c66ec88fSEmmanuel Vadot regulator-name = "ldo7"; 84*c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 85*c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3750000>; 86*c66ec88fSEmmanuel Vadot }; 87*c66ec88fSEmmanuel Vadot }; 88*c66ec88fSEmmanuel Vadot }; 89