Merge tag 'cris-for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper...
[cascardo/linux.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   - regulators: List of child nodes that specify the regulator
11                         initialization data.
12 Example:
13
14 pmic: lp8733@60 {
15         compatible = "ti,lp8733";
16         reg = <0x60>;
17         gpio-controller;
18         #gpio-cells = <2>;
19
20         regulators {
21                 lp8733_buck0: buck0 {
22                         regulator-name = "lp8733-buck0";
23                         regulator-min-microvolt = <800000>;
24                         regulator-max-microvolt = <1400000>;
25                         regulator-min-microamp = <1500000>;
26                         regulator-max-microamp = <4000000>;
27                         regulator-ramp-delay = <10000>;
28                         regulator-always-on;
29                         regulator-boot-on;
30                 };
31
32                 lp8733_buck1: buck1 {
33                         regulator-name = "lp8733-buck1";
34                         regulator-min-microvolt = <800000>;
35                         regulator-max-microvolt = <1400000>;
36                         regulator-min-microamp = <1500000>;
37                         regulator-max-microamp = <4000000>;
38                         regulator-ramp-delay = <10000>;
39                         regulator-boot-on;
40                         regulator-always-on;
41                 };
42
43                 lp8733_ldo0: ldo0 {
44                         regulator-name = "lp8733-ldo0";
45                         regulator-min-microvolt = <800000>;
46                         regulator-max-microvolt = <3000000>;
47                         regulator-boot-on;
48                         regulator-always-on;
49                 };
50
51                 lp8733_ldo1: ldo1 {
52                         regulator-name = "lp8733-ldo1";
53                         regulator-min-microvolt = <800000>;
54                         regulator-max-microvolt = <3000000>;
55                         regulator-always-on;
56                         regulator-boot-on;
57                 };
58         };
59 };