power-controller.txt 748 B

123456789101112131415161718
  1. * Generic system power control capability
  2. Power-management integrated circuits or miscellaneous hardware components are
  3. sometimes able to control the system power. The device driver associated with these
  4. components might need to define this capability, which tells the kernel that
  5. it can be used to switch off the system. The corresponding device must have the
  6. standard property "system-power-controller" in its device node. This property
  7. marks the device as able to control the system power. In order to test if this
  8. property is found programmatically, use the helper function
  9. "of_device_is_system_power_controller" from of.h .
  10. Example:
  11. act8846: act8846@5 {
  12. compatible = "active-semi,act8846";
  13. status = "okay";
  14. system-power-controller;
  15. }