palmas.txt 1.1 KB

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