Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * palmas device tree bindings |
| 2 | |
| 3 | The TI palmas family current members :- |
| 4 | twl6035 (palmas) |
| 5 | twl6037 (palmas) |
| 6 | tps65913 (palmas) |
| 7 | tps65914 (palmas) |
| 8 | tps659038 |
| 9 | tps65917 |
| 10 | |
| 11 | Required properties: |
| 12 | - compatible : Should be from the list |
| 13 | ti,twl6035 |
| 14 | ti,twl6036 |
| 15 | ti,twl6037 |
| 16 | ti,tps65913 |
| 17 | ti,tps65914 |
| 18 | ti,tps80036 |
| 19 | ti,tps659038 |
| 20 | ti,tps65917 |
| 21 | and also the generic series names |
| 22 | ti,palmas |
| 23 | - interrupt-controller : palmas has its own internal IRQs |
| 24 | - #interrupt-cells : should be set to 2 for IRQ number and flags |
| 25 | The first cell is the IRQ number. |
| 26 | The second cell is the flags, encoded as the trigger masks from |
| 27 | Documentation/devicetree/bindings/interrupt-controller/interrupts.txt |
| 28 | |
| 29 | Optional properties: |
| 30 | ti,mux-padX : set the pad register X (1-2) to the correct muxing for the |
| 31 | hardware, if not set will use muxing in OTP. |
| 32 | |
| 33 | Example: |
| 34 | |
| 35 | palmas { |
| 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 | } |