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