Commit | Line | Data |
---|---|---|
8d561b60 K |
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) | |
23e51e8e | 8 | tps659038 |
ac3ae036 | 9 | tps65917 |
8d561b60 K |
10 | |
11 | Required properties: | |
12 | - compatible : Should be from the list | |
13 | ti,twl6035 | |
14 | ti,twl6036 | |
15 | ti,twl6037 | |
16 | ti,tps65913 | |
17 | ti,tps65914 | |
18 | ti,tps80036 | |
23e51e8e | 19 | ti,tps659038 |
ac3ae036 | 20 | ti,tps65917 |
8d561b60 K |
21 | and also the generic series names |
22 | ti,palmas | |
23 | - interrupt-controller : palmas has its own internal IRQs | |
24 | - #interrupt-cells : should be set to 2 for IRQ number and flags | |
25 | The first cell is the IRQ number. | |
26 | The second cell is the flags, encoded as the trigger masks from | |
51669f89 | 27 | Documentation/devicetree/bindings/interrupt-controller/interrupts.txt |
8d561b60 K |
28 | - interrupt-parent : The parent interrupt controller. |
29 | ||
30 | Optional properties: | |
31 | ti,mux-padX : set the pad register X (1-2) to the correct muxing for the | |
32 | hardware, if not set will use muxing in OTP. | |
33 | ||
34 | Example: | |
35 | ||
36 | palmas { | |
37 | compatible = "ti,twl6035", "ti,palmas"; | |
38 | reg = <0x48> | |
39 | interrupt-parent = <&intc>; | |
40 | interrupt-controller; | |
41 | #interrupt-cells = <2>; | |
42 | ||
43 | ti,mux-pad1 = <0>; | |
44 | ti,mux-pad2 = <0>; | |
45 | ||
46 | #address-cells = <1>; | |
47 | #size-cells = <0>; | |
48 | ||
49 | pmic { | |
50 | compatible = "ti,twl6035-pmic", "ti,palmas-pmic"; | |
51 | .... | |
52 | }; | |
53 | } |