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