palmas.txt 1.1 KB

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