xref: /openbmc/linux/Documentation/ABI/testing/sysfs-firmware-opal-powercap (revision cf40a76e7d5874bb25f4404eecc58a2e033af885)
1*cb8b340dSShilpasri G BhatWhat:		/sys/firmware/opal/powercap
2*cb8b340dSShilpasri G BhatDate:		August 2017
3*cb8b340dSShilpasri G BhatContact:	Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
4*cb8b340dSShilpasri G BhatDescription:	Powercap directory for Powernv (P8, P9) servers
5*cb8b340dSShilpasri G Bhat
6*cb8b340dSShilpasri G Bhat		Each folder in this directory contains a
7*cb8b340dSShilpasri G Bhat		power-cappable component.
8*cb8b340dSShilpasri G Bhat
9*cb8b340dSShilpasri G BhatWhat:		/sys/firmware/opal/powercap/system-powercap
10*cb8b340dSShilpasri G Bhat		/sys/firmware/opal/powercap/system-powercap/powercap-min
11*cb8b340dSShilpasri G Bhat		/sys/firmware/opal/powercap/system-powercap/powercap-max
12*cb8b340dSShilpasri G Bhat		/sys/firmware/opal/powercap/system-powercap/powercap-current
13*cb8b340dSShilpasri G BhatDate:		August 2017
14*cb8b340dSShilpasri G BhatContact:	Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
15*cb8b340dSShilpasri G BhatDescription:	System powercap directory and attributes applicable for
16*cb8b340dSShilpasri G Bhat		Powernv (P8, P9) servers
17*cb8b340dSShilpasri G Bhat
18*cb8b340dSShilpasri G Bhat		This directory provides powercap information. It
19*cb8b340dSShilpasri G Bhat		contains below sysfs attributes:
20*cb8b340dSShilpasri G Bhat
21*cb8b340dSShilpasri G Bhat		- powercap-min : This file provides the minimum
22*cb8b340dSShilpasri G Bhat		  possible powercap in Watt units
23*cb8b340dSShilpasri G Bhat
24*cb8b340dSShilpasri G Bhat		- powercap-max : This file provides the maximum
25*cb8b340dSShilpasri G Bhat		  possible powercap in Watt units
26*cb8b340dSShilpasri G Bhat
27*cb8b340dSShilpasri G Bhat		- powercap-current : This file provides the current
28*cb8b340dSShilpasri G Bhat		  powercap set on the system. Writing to this file
29*cb8b340dSShilpasri G Bhat		  creates a request for setting a new-powercap. The
30*cb8b340dSShilpasri G Bhat		  powercap requested must be between powercap-min
31*cb8b340dSShilpasri G Bhat		  and powercap-max.
32