162306a36Sopenharmony_ci* Generic system power control capability 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciPower-management integrated circuits or miscellaneous hardware components are 462306a36Sopenharmony_cisometimes able to control the system power. The device driver associated with these 562306a36Sopenharmony_cicomponents might need to define this capability, which tells the kernel that 662306a36Sopenharmony_ciit can be used to switch off the system. The corresponding device must have the 762306a36Sopenharmony_cistandard property "system-power-controller" in its device node. This property 862306a36Sopenharmony_cimarks the device as able to control the system power. In order to test if this 962306a36Sopenharmony_ciproperty is found programmatically, use the helper function 1062306a36Sopenharmony_ci"of_device_is_system_power_controller" from of.h . 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciExample: 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciact8846: act8846@5 { 1562306a36Sopenharmony_ci compatible = "active-semi,act8846"; 1662306a36Sopenharmony_ci system-power-controller; 1762306a36Sopenharmony_ci} 18