twl4030-power.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Texas Instruments TWL family (twl4030) reset and power management module
  2. The power management module inside the TWL family provides several facilities
  3. to control the power resources, including power scripts. For now, the
  4. binding only supports the complete shutdown of the system after poweroff.
  5. Required properties:
  6. - compatible : must be one of the following
  7. "ti,twl4030-power"
  8. "ti,twl4030-power-reset"
  9. "ti,twl4030-power-idle"
  10. "ti,twl4030-power-idle-osc-off"
  11. The use of ti,twl4030-power-reset is recommended at least on
  12. 3530 that needs a special configuration for warm reset to work.
  13. When using ti,twl4030-power-idle, the TI recommended configuration
  14. for idle modes is loaded to the tlw4030 PMIC.
  15. When using ti,twl4030-power-idle-osc-off, the TI recommended
  16. configuration is used with the external oscillator being shut
  17. down during off-idle. Note that this does not work on all boards
  18. depending on how the external oscillator is wired.
  19. Optional properties:
  20. - ti,system-power-controller: This indicates that TWL4030 is the
  21. power supply master of the system. With this flag, the chip will
  22. initiate an ACTIVE-to-OFF or SLEEP-to-OFF transition when the
  23. system poweroffs.
  24. - ti,use_poweroff: Deprecated name for ti,system-power-controller
  25. Example:
  26. &i2c1 {
  27. clock-frequency = <2600000>;
  28. twl: twl@48 {
  29. reg = <0x48>;
  30. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  31. interrupt-parent = <&intc>;
  32. twl_power: power {
  33. compatible = "ti,twl4030-power";
  34. ti,use_poweroff;
  35. };
  36. };
  37. };