Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / max77693.txt
blob11921cc417bf58584fd6c84212630dbeb6d4c62d
1 Maxim MAX77693 multi-function device
3 MAX77693 is a Multifunction device with the following submodules:
4 - PMIC,
5 - CHARGER,
6 - LED,
7 - MUIC,
8 - HAPTIC
10 It is interfaced to host controller using i2c.
11 This document describes the bindings for the mfd device.
13 Required properties:
14 - compatible : Must be "maxim,max77693".
15 - reg : Specifies the i2c slave address of PMIC block.
16 - interrupts : This i2c device has an IRQ line connected to the main SoC.
17 - interrupt-parent :  The parent interrupt controller.
19 Optional properties:
20 - regulators : The regulators of max77693 have to be instantiated under subnod
21   named "regulators" using the following format.
23         regulators {
24                 regualtor-compatible = ESAFEOUT1/ESAFEOUT2/CHARGER
25                 standard regulator constratints[*].
26         };
28         [*] refer Documentation/devicetree/bindings/regulator/regulator.txt
30 Example:
31         max77693@66 {
32                 compatible = "maxim,max77693";
33                 reg = <0x66>;
34                 interrupt-parent = <&gpx1>;
35                 interrupts = <5 2>;
37                 regulators {
38                         esafeout@1 {
39                                 regulator-compatible = "ESAFEOUT1";
40                                 regulator-name = "ESAFEOUT1";
41                                 regulator-boot-on;
42                         };
43                         esafeout@2 {
44                                 regulator-compatible = "ESAFEOUT2";
45                                 regulator-name = "ESAFEOUT2";
46                                 };
47                         charger@0 {
48                                 regulator-compatible = "CHARGER";
49                                 regulator-name = "CHARGER";
50                                 regulator-min-microamp = <60000>;
51                                 regulator-max-microamp = <2580000>;
52                                         regulator-boot-on;
53                         };
54                 };
55         };