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