]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/mfd/palmas.txt
Merge remote-tracking branch 'spi/topic/xilinx' into spi-next
[karo-tx-linux.git] / Documentation / devicetree / bindings / mfd / palmas.txt
1 * palmas device tree bindings
2
3 The TI palmas family current members :-
4 twl6035 (palmas)
5 twl6037 (palmas)
6 tps65913 (palmas)
7 tps65914 (palmas)
8
9 Required properties:
10 - compatible : Should be from the list
11   ti,twl6035
12   ti,twl6036
13   ti,twl6037
14   ti,tps65913
15   ti,tps65914
16   ti,tps80036
17 and also the generic series names
18   ti,palmas
19 - interrupt-controller : palmas has its own internal IRQs
20 - #interrupt-cells : should be set to 2 for IRQ number and flags
21   The first cell is the IRQ number.
22   The second cell is the flags, encoded as the trigger masks from
23   Documentation/devicetree/bindings/interrupts.txt
24 - interrupt-parent : The parent interrupt controller.
25
26 Optional properties:
27   ti,mux-padX : set the pad register X (1-2) to the correct muxing for the
28                 hardware, if not set will use muxing in OTP.
29
30 Example:
31
32 palmas {
33         compatible = "ti,twl6035", "ti,palmas";
34         reg = <0x48>
35         interrupt-parent = <&intc>;
36         interrupt-controller;
37         #interrupt-cells = <2>;
38
39         ti,mux-pad1 = <0>;
40         ti,mux-pad2 = <0>;
41
42         #address-cells = <1>;
43         #size-cells = <0>;
44
45         pmic {
46                 compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
47                 ....
48         };
49 }