Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / max8925.txt
blob4f0dc6638e5e19abf2be5594dfb6361849a9f6b9
1 * Maxim max8925 Power Management IC
3 Required parent device properties:
4 - compatible : "maxim,max8925"
5 - reg : the I2C slave address for the max8925 chip
6 - interrupts : IRQ line for the max8925 chip
7 - interrupt-controller: describes the max8925 as an interrupt
8   controller (has its own domain)
9 - #interrupt-cells : should be 1.
10         - The cell is the max8925 local IRQ number
12 Optional parent device properties:
13 - maxim,tsc-irq: there are 2 IRQ lines for max8925, one is indicated in
14   interrupts property, the other is indicated here.
16 max8925 consists of a large and varied group of sub-devices:
18 Device                   Supply Names    Description
19 ------                   ------------    -----------
20 max8925-onkey           :               : On key
21 max8925-rtc             :               : RTC
22 max8925-regulator       :               : Regulators
23 max8925-backlight       :               : Backlight
24 max8925-touch           :               : Touchscreen
25 max8925-power           :               : Charger
27 Example:
29         pmic: max8925@3c {
30                 compatible = "maxim,max8925";
31                 reg = <0x3c>;
32                 interrupts = <1>;
33                 interrupt-parent = <&intcmux4>;
34                 interrupt-controller;
35                 #interrupt-cells = <1>;
36                 maxim,tsc-irq = <0>;
38                 regulators {
39                         SDV1 {
40                                 regulator-min-microvolt = <637500>;
41                                 regulator-max-microvolt = <1425000>;
42                                 regulator-boot-on;
43                                 regulator-always-on;
44                         };
46                         LDO1 {
47                                 regulator-min-microvolt = <750000>;
48                                 regulator-max-microvolt = <3900000>;
49                                 regulator-boot-on;
50                                 regulator-always-on;
51                         };
53                 };
54                 backlight {
55                         maxim,max8925-dual-string = <0>;
56                 };
57                 charger {
58                         batt-detect = <0>;
59                         topoff-threshold = <1>;
60                         fast-charge = <7>;
61                         no-temp-support = <0>;
62                         no-insert-detect = <0>;
63                 };
64         };