GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / mfd / bd9571mwv.txt
1 * ROHM BD9571MWV Power Management Integrated Circuit (PMIC) bindings
2
3 Required properties:
4  - compatible           : Should be "rohm,bd9571mwv".
5  - reg                  : I2C slave address.
6  - interrupt-parent     : Phandle to 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:
20                              - vd09
21                              - vd18
22                              - vd25
23                              - vd33
24                              - dvfs
25                             Each child node is defined using the standard
26                             binding for regulators.
27
28 Example:
29
30         pmic: pmic@30 {
31                 compatible = "rohm,bd9571mwv";
32                 reg = <0x30>;
33                 interrupt-parent = <&gpio2>;
34                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
35                 interrupt-controller;
36                 #interrupt-cells = <2>;
37                 gpio-controller;
38                 #gpio-cells = <2>;
39
40                 regulators {
41                         dvfs: dvfs {
42                                 regulator-name = "dvfs";
43                                 regulator-min-microvolt = <750000>;
44                                 regulator-max-microvolt = <1030000>;
45                                 regulator-boot-on;
46                                 regulator-always-on;
47                         };
48                 };
49         };