xref: /openbmc/linux/Documentation/devicetree/bindings/power/power-controller.txt (revision cf40a76e7d5874bb25f4404eecc58a2e033af885)
1*0ce5b307SRomain Perier* Generic system power control capability
28f73110fSRomain Perier
3*0ce5b307SRomain PerierPower-management integrated circuits or miscellaneous hardware components are
4*0ce5b307SRomain Periersometimes able to control the system power. The device driver associated with these
5*0ce5b307SRomain Periercomponents might need to define this capability, which tells the kernel that
6*0ce5b307SRomain Perierit can be used to switch off the system. The corresponding device must have the
7*0ce5b307SRomain Perierstandard property "system-power-controller" in its device node. This property
8*0ce5b307SRomain Periermarks the device as able to control the system power. In order to test if this
9*0ce5b307SRomain Perierproperty is found programmatically, use the helper function
10*0ce5b307SRomain Perier"of_device_is_system_power_controller" from of.h .
118f73110fSRomain Perier
128f73110fSRomain PerierExample:
138f73110fSRomain Perier
148f73110fSRomain Perieract8846: act8846@5 {
158f73110fSRomain Perier	 compatible = "active-semi,act8846";
16*0ce5b307SRomain Perier	 system-power-controller;
178f73110fSRomain Perier}
18