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