Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mfd / rohm,bd71837-pmic.txt
1 * ROHM BD71837 and BD71847 Power Management Integrated Circuit bindings
2
3 BD71837MWV and BD71847MWV are programmable Power Management ICs for powering
4 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. They are
5 optimized for low BOM cost and compact solution footprint. BD71837MWV
6 integrates 8 Buck regulators and 7 LDOs. BD71847MWV contains 6 Buck regulators
7 and 6 LDOs.
8
9 Datasheet for BD71837 is available at:
10 https://www.rohm.com/datasheet/BD71837MWV/bd71837mwv-e
11
12 Required properties:
13  - compatible           : Should be "rohm,bd71837" for bd71837
14                                     "rohm,bd71847" for bd71847.
15  - reg                  : I2C slave address.
16  - interrupt-parent     : Phandle to the parent interrupt controller.
17  - interrupts           : The interrupt line the device is connected to.
18  - clocks               : The parent clock connected to PMIC. If this is missing
19                           32768 KHz clock is assumed.
20  - #clock-cells         : Should be 0.
21  - regulators:          : List of child nodes that specify the regulators.
22                           Please see ../regulator/rohm,bd71837-regulator.txt
23
24 Optional properties:
25 - clock-output-names    : Should contain name for output clock.
26
27 Example:
28
29         /* external oscillator node */
30         osc: oscillator {
31                 compatible = "fixed-clock";
32                 #clock-cells = <1>;
33                 clock-frequency  = <32768>;
34                 clock-output-names = "osc";
35         };
36
37         pmic: pmic@4b {
38                 compatible = "rohm,bd71837";
39                 reg = <0x4b>;
40                 interrupt-parent = <&gpio1>;
41                 interrupts = <29 GPIO_ACTIVE_LOW>;
42                 interrupt-names = "irq";
43                 #clock-cells = <0>;
44                 clocks = <&osc 0>;
45                 clock-output-names = "bd71837-32k-out";
46
47                 regulators {
48                         buck1: BUCK1 {
49                                 regulator-name = "buck1";
50                                 regulator-min-microvolt = <700000>;
51                                 regulator-max-microvolt = <1300000>;
52                                 regulator-boot-on;
53                                 regulator-ramp-delay = <1250>;
54                         };
55                 };
56         };
57
58         /* Clock consumer node */
59         rtc@0 {
60                 compatible = "company,my-rtc";
61                 clock-names = "my-clock";
62                 clocks = <&pmic>;
63         };