1*4882a593Smuzhiyun* Generic system power control capability 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunPower-management integrated circuits or miscellaneous hardware components are 4*4882a593Smuzhiyunsometimes able to control the system power. The device driver associated with these 5*4882a593Smuzhiyuncomponents might need to define this capability, which tells the kernel that 6*4882a593Smuzhiyunit can be used to switch off the system. The corresponding device must have the 7*4882a593Smuzhiyunstandard property "system-power-controller" in its device node. This property 8*4882a593Smuzhiyunmarks the device as able to control the system power. In order to test if this 9*4882a593Smuzhiyunproperty is found programmatically, use the helper function 10*4882a593Smuzhiyun"of_device_is_system_power_controller" from of.h . 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunExample: 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunact8846: act8846@5 { 15*4882a593Smuzhiyun compatible = "active-semi,act8846"; 16*4882a593Smuzhiyun system-power-controller; 17*4882a593Smuzhiyun} 18