palmas.txt 1.1 KB

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