53 lines · plain
1* palmas device tree bindings2 3The TI palmas family current members :-4twl6035 (palmas)5twl6037 (palmas)6tps65913 (palmas)7tps65914 (palmas)8tps6590389tps6591710 11Required properties:12- compatible : Should be from the list13 ti,twl603514 ti,twl603615 ti,twl603716 ti,tps6591317 ti,tps6591418 ti,tps8003619 ti,tps65903820 ti,tps6591721and also the generic series names22 ti,palmas23- interrupt-controller : palmas has its own internal IRQs24- #interrupt-cells : should be set to 2 for IRQ number and flags25 The first cell is the IRQ number.26 The second cell is the flags, encoded as the trigger masks from27 Documentation/devicetree/bindings/interrupt-controller/interrupts.txt28 29Optional properties:30 ti,mux-padX : set the pad register X (1-2) to the correct muxing for the31 hardware, if not set will use muxing in OTP.32 33Example:34 35palmas {36 compatible = "ti,twl6035", "ti,palmas";37 reg = <0x48>38 interrupt-parent = <&intc>;39 interrupt-controller;40 #interrupt-cells = <2>;41 42 ti,mux-pad1 = <0>;43 ti,mux-pad2 = <0>;44 45 #address-cells = <1>;46 #size-cells = <0>;47 48 pmic {49 compatible = "ti,twl6035-pmic", "ti,palmas-pmic";50 ....51 };52}53