Back to home page

OSCL-LXR

 
 

    


0001 * palmas device tree bindings
0002 
0003 The TI palmas family current members :-
0004 twl6035 (palmas)
0005 twl6037 (palmas)
0006 tps65913 (palmas)
0007 tps65914 (palmas)
0008 tps659038
0009 tps65917
0010 
0011 Required properties:
0012 - compatible : Should be from the list
0013   ti,twl6035
0014   ti,twl6036
0015   ti,twl6037
0016   ti,tps65913
0017   ti,tps65914
0018   ti,tps80036
0019   ti,tps659038
0020   ti,tps65917
0021 and also the generic series names
0022   ti,palmas
0023 - interrupt-controller : palmas has its own internal IRQs
0024 - #interrupt-cells : should be set to 2 for IRQ number and flags
0025   The first cell is the IRQ number.
0026   The second cell is the flags, encoded as the trigger masks from
0027   Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
0028 
0029 Optional properties:
0030   ti,mux-padX : set the pad register X (1-2) to the correct muxing for the
0031                 hardware, if not set will use muxing in OTP.
0032 
0033 Example:
0034 
0035 palmas {
0036         compatible = "ti,twl6035", "ti,palmas";
0037         reg = <0x48>
0038         interrupt-parent = <&intc>;
0039         interrupt-controller;
0040         #interrupt-cells = <2>;
0041 
0042         ti,mux-pad1 = <0>;
0043         ti,mux-pad2 = <0>;
0044 
0045         #address-cells = <1>;
0046         #size-cells = <0>;
0047 
0048         pmic {
0049                 compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
0050                 ....
0051         };
0052 }