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