18c2ecf20Sopenharmony_ci* Generic system power control capability 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciPower-management integrated circuits or miscellaneous hardware components are 48c2ecf20Sopenharmony_cisometimes able to control the system power. The device driver associated with these 58c2ecf20Sopenharmony_cicomponents might need to define this capability, which tells the kernel that 68c2ecf20Sopenharmony_ciit can be used to switch off the system. The corresponding device must have the 78c2ecf20Sopenharmony_cistandard property "system-power-controller" in its device node. This property 88c2ecf20Sopenharmony_cimarks the device as able to control the system power. In order to test if this 98c2ecf20Sopenharmony_ciproperty is found programmatically, use the helper function 108c2ecf20Sopenharmony_ci"of_device_is_system_power_controller" from of.h . 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciExample: 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciact8846: act8846@5 { 158c2ecf20Sopenharmony_ci compatible = "active-semi,act8846"; 168c2ecf20Sopenharmony_ci system-power-controller; 178c2ecf20Sopenharmony_ci} 18