Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[sfrench/cifs-2.6.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 Optional properties:
29   - rohm,ddr-backup-power : Value to use for DDR-Backup Power (default 0).
30                             This is a bitmask that specifies which DDR power
31                             rails need to be kept powered when backup mode is
32                             entered, for system suspend:
33                               - bit 0: DDR0
34                               - bit 1: DDR1
35                               - bit 2: DDR0C
36                               - bit 3: DDR1C
37                             These bits match the KEEPON_DDR* bits in the
38                             documentation for the "BKUP Mode Cnt" register.
39   - rohm,rstbmode-level: The RSTB signal is configured for level mode, to
40                          accommodate a toggle power switch (the RSTBMODE pin is
41                          strapped low).
42   - rohm,rstbmode-pulse: The RSTB signal is configured for pulse mode, to
43                          accommodate a momentary power switch (the RSTBMODE pin
44                          is strapped high).
45                          The two properties above are mutually exclusive.
46
47 Example:
48
49         pmic: pmic@30 {
50                 compatible = "rohm,bd9571mwv";
51                 reg = <0x30>;
52                 interrupt-parent = <&gpio2>;
53                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
54                 interrupt-controller;
55                 #interrupt-cells = <2>;
56                 gpio-controller;
57                 #gpio-cells = <2>;
58                 rohm,ddr-backup-power = <0xf>;
59                 rohm,rstbmode-pulse;
60
61                 regulators {
62                         dvfs: dvfs {
63                                 regulator-name = "dvfs";
64                                 regulator-min-microvolt = <750000>;
65                                 regulator-max-microvolt = <1030000>;
66                                 regulator-boot-on;
67                                 regulator-always-on;
68                         };
69                 };
70         };