Merge remote-tracking branches 'spi/topic/devprop', 'spi/topic/fsl', 'spi/topic/fsl...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mfd / lp873x.txt
1 TI LP873X PMIC MFD driver
2
3 Required properties:
4   - compatible: "ti,lp8732", "ti,lp8733"
5   - reg:                I2C slave address.
6   - gpio-controller:    Marks the device node as a GPIO Controller.
7   - #gpio-cells:        Should be two.  The first cell is the pin number and
8                         the second cell is used to specify flags.
9                         See ../gpio/gpio.txt for more information.
10   - xxx-in-supply:      Phandle to parent supply node of each regulator
11                         populated under regulators node. xxx can be
12                         buck0, buck1, ldo0 or ldo1.
13   - regulators: List of child nodes that specify the regulator
14                         initialization data.
15 Example:
16
17 pmic: lp8733@60 {
18         compatible = "ti,lp8733";
19         reg = <0x60>;
20         gpio-controller;
21         #gpio-cells = <2>;
22
23         buck0-in-supply = <&vsys_3v3>;
24         buck1-in-supply = <&vsys_3v3>;
25         ldo0-in-supply = <&vsys_3v3>;
26         ldo1-in-supply = <&vsys_3v3>;
27
28         regulators {
29                 lp8733_buck0: buck0 {
30                         regulator-name = "lp8733-buck0";
31                         regulator-min-microvolt = <800000>;
32                         regulator-max-microvolt = <1400000>;
33                         regulator-min-microamp = <1500000>;
34                         regulator-max-microamp = <4000000>;
35                         regulator-ramp-delay = <10000>;
36                         regulator-always-on;
37                         regulator-boot-on;
38                 };
39
40                 lp8733_buck1: buck1 {
41                         regulator-name = "lp8733-buck1";
42                         regulator-min-microvolt = <800000>;
43                         regulator-max-microvolt = <1400000>;
44                         regulator-min-microamp = <1500000>;
45                         regulator-max-microamp = <4000000>;
46                         regulator-ramp-delay = <10000>;
47                         regulator-boot-on;
48                         regulator-always-on;
49                 };
50
51                 lp8733_ldo0: ldo0 {
52                         regulator-name = "lp8733-ldo0";
53                         regulator-min-microvolt = <800000>;
54                         regulator-max-microvolt = <3000000>;
55                         regulator-boot-on;
56                         regulator-always-on;
57                 };
58
59                 lp8733_ldo1: ldo1 {
60                         regulator-name = "lp8733-ldo1";
61                         regulator-min-microvolt = <800000>;
62                         regulator-max-microvolt = <3000000>;
63                         regulator-always-on;
64                         regulator-boot-on;
65                 };
66         };
67 };