Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[cascardo/linux.git] / Documentation / devicetree / bindings / mfd / tps65912.txt
1 * TPS65912 Power Management Integrated Circuit bindings
2
3 Required properties:
4  - compatible           : Should be "ti,tps65912".
5  - reg                  : Slave address or chip select number (I2C / SPI).
6  - interrupt-parent     : The parent interrupt controller.
7  - interrupts           : The interrupt line the device is connected to.
8  - interrupt-controller : Marks the device node as an interrupt controller.
9  - #interrupt-cells     : The number of cells to describe an IRQ, should be 2.
10                             The first cell is the IRQ number.
11                             The second cell is the flags, encoded as trigger
12                             masks from ../interrupt-controller/interrupts.txt.
13  - gpio-controller      : Marks the device node as a GPIO Controller.
14  - #gpio-cells          : Should be two.  The first cell is the pin number and
15                             the second cell is used to specify flags.
16                             See ../gpio/gpio.txt for more information.
17  - regulators:          : List of child nodes that specify the regulator
18                             initialization data. Child nodes must be named
19                             after their hardware counterparts: dcdc[1-4] and
20                             ldo[1-10]. Each child nodes is defined using the
21                             standard binding for regulators.
22
23 Example:
24
25         pmic: tps65912@2d {
26                 compatible = "ti,tps65912";
27                 reg = <0x2d>;
28                 interrupt-parent = <&gpio1>;
29                 interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
30                 interrupt-controller;
31                 #interrupt-cells = <2>;
32                 gpio-controller;
33                 #gpio-cells = <2>;
34
35                 regulators {
36                         dcdc1 {
37                                 regulator-name = "vdd_core";
38                                 regulator-min-microvolt = <912000>;
39                                 regulator-max-microvolt = <1144000>;
40                                 regulator-boot-on;
41                                 regulator-always-on;
42                         };
43
44                         ldo1 {
45                                 regulator-name = "ldo1";
46                                 regulator-min-microvolt = <1900000>;
47                                 regulator-max-microvolt = <1900000>;
48                         };
49                 };
50         };