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