1e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/
2e23feb16SSrinivas PandruvadaDate:		September 2013
3e23feb16SSrinivas PandruvadaKernelVersion:	3.13
4e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
5e23feb16SSrinivas PandruvadaDescription:
6e23feb16SSrinivas Pandruvada		The powercap/ class sub directory belongs to the power cap
7e23feb16SSrinivas Pandruvada		subsystem. Refer to
8151f4e2bSMauro Carvalho Chehab		Documentation/power/powercap/powercap.rst for details.
9e23feb16SSrinivas Pandruvada
10e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/<control type>
11e23feb16SSrinivas PandruvadaDate:		September 2013
12e23feb16SSrinivas PandruvadaKernelVersion:	3.13
13e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
14e23feb16SSrinivas PandruvadaDescription:
15e23feb16SSrinivas Pandruvada		A <control type> is a unique name under /sys/class/powercap.
16e23feb16SSrinivas Pandruvada		Here <control type> determines how the power is going to be
17e23feb16SSrinivas Pandruvada		controlled. A <control type> can contain multiple power zones.
18e23feb16SSrinivas Pandruvada
19e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/<control type>/enabled
20e23feb16SSrinivas PandruvadaDate:		September 2013
21e23feb16SSrinivas PandruvadaKernelVersion:	3.13
22e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
23e23feb16SSrinivas PandruvadaDescription:
24e23feb16SSrinivas Pandruvada		This allows to enable/disable power capping for a "control type".
25e23feb16SSrinivas Pandruvada		This status affects every power zone using this "control_type.
26e23feb16SSrinivas Pandruvada
27e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/<control type>/<power zone>
28e23feb16SSrinivas PandruvadaDate:		September 2013
29e23feb16SSrinivas PandruvadaKernelVersion:	3.13
30e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
31e23feb16SSrinivas PandruvadaDescription:
32e23feb16SSrinivas Pandruvada		A power zone is a single or a collection of devices, which can
33e23feb16SSrinivas Pandruvada		be independently monitored and controlled. A power zone sysfs
34e23feb16SSrinivas Pandruvada		entry is qualified with the name of the <control type>.
35e23feb16SSrinivas Pandruvada		E.g. intel-rapl:0:1:1.
36e23feb16SSrinivas Pandruvada
37e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/<control type>/<power zone>/<child power zone>
38e23feb16SSrinivas PandruvadaDate:		September 2013
39e23feb16SSrinivas PandruvadaKernelVersion:	3.13
40e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
41e23feb16SSrinivas PandruvadaDescription:
42e23feb16SSrinivas Pandruvada		Power zones may be organized in a hierarchy in which child
43e23feb16SSrinivas Pandruvada		power zones provide monitoring and control for a subset of
44e23feb16SSrinivas Pandruvada		devices under the parent. For example, if there is a parent
45e23feb16SSrinivas Pandruvada		power zone for a whole CPU package, each CPU core in it can
46e23feb16SSrinivas Pandruvada		be a child power zone.
47e23feb16SSrinivas Pandruvada
48e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/name
49e23feb16SSrinivas PandruvadaDate:		September 2013
50e23feb16SSrinivas PandruvadaKernelVersion:	3.13
51e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
52e23feb16SSrinivas PandruvadaDescription:
53e23feb16SSrinivas Pandruvada		Specifies the name of this power zone.
54e23feb16SSrinivas Pandruvada
55e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/energy_uj
56e23feb16SSrinivas PandruvadaDate:		September 2013
57e23feb16SSrinivas PandruvadaKernelVersion:	3.13
58e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
59e23feb16SSrinivas PandruvadaDescription:
60e23feb16SSrinivas Pandruvada		Current energy counter in micro-joules. Write "0" to reset.
61e23feb16SSrinivas Pandruvada		If the counter can not be reset, then this attribute is
62e23feb16SSrinivas Pandruvada		read-only.
63e23feb16SSrinivas Pandruvada
64e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/max_energy_range_uj
65e23feb16SSrinivas PandruvadaDate:		September 2013
66e23feb16SSrinivas PandruvadaKernelVersion:	3.13
67e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
68e23feb16SSrinivas PandruvadaDescription:
69e23feb16SSrinivas Pandruvada		Range of the above energy counter in micro-joules.
70e23feb16SSrinivas Pandruvada
71e23feb16SSrinivas Pandruvada
72e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/power_uw
73e23feb16SSrinivas PandruvadaDate:		September 2013
74e23feb16SSrinivas PandruvadaKernelVersion:	3.13
75e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
76e23feb16SSrinivas PandruvadaDescription:
77e23feb16SSrinivas Pandruvada		Current power in micro-watts.
78e23feb16SSrinivas Pandruvada
79e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/max_power_range_uw
80e23feb16SSrinivas PandruvadaDate:		September 2013
81e23feb16SSrinivas PandruvadaKernelVersion:	3.13
82e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
83e23feb16SSrinivas PandruvadaDescription:
84e23feb16SSrinivas Pandruvada		Range of the above power value in micro-watts.
85e23feb16SSrinivas Pandruvada
86e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/constraint_X_name
87e23feb16SSrinivas PandruvadaDate:		September 2013
88e23feb16SSrinivas PandruvadaKernelVersion:	3.13
89e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
90e23feb16SSrinivas PandruvadaDescription:
91e23feb16SSrinivas Pandruvada		Each power zone can define one or more constraints. Each
92e23feb16SSrinivas Pandruvada		constraint can have an optional name. Here "X" can have values
93e23feb16SSrinivas Pandruvada		from 0 to max integer.
94e23feb16SSrinivas Pandruvada
95e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/constraint_X_power_limit_uw
96e23feb16SSrinivas PandruvadaDate:		September 2013
97e23feb16SSrinivas PandruvadaKernelVersion:	3.13
98e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
99e23feb16SSrinivas PandruvadaDescription:
100e23feb16SSrinivas Pandruvada		Power limit in micro-watts should be applicable for
101e23feb16SSrinivas Pandruvada		the time window specified by "constraint_X_time_window_us".
102e23feb16SSrinivas Pandruvada		Here "X" can have values from 0 to max integer.
103e23feb16SSrinivas Pandruvada
104e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/constraint_X_time_window_us
105e23feb16SSrinivas PandruvadaDate:		September 2013
106e23feb16SSrinivas PandruvadaKernelVersion:	3.13
107e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
108e23feb16SSrinivas PandruvadaDescription:
109e23feb16SSrinivas Pandruvada		Time window in micro seconds. This is used along with
110e23feb16SSrinivas Pandruvada		constraint_X_power_limit_uw to define a power constraint.
111e23feb16SSrinivas Pandruvada		Here "X" can have values from 0 to max integer.
112e23feb16SSrinivas Pandruvada
113e23feb16SSrinivas Pandruvada
114e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/<control type>/.../constraint_X_max_power_uw
115e23feb16SSrinivas PandruvadaDate:		September 2013
116e23feb16SSrinivas PandruvadaKernelVersion:	3.13
117e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
118e23feb16SSrinivas PandruvadaDescription:
119e23feb16SSrinivas Pandruvada		Maximum allowed power in micro watts for this constraint.
120e23feb16SSrinivas Pandruvada		Here "X" can have values from 0 to max integer.
121e23feb16SSrinivas Pandruvada
122e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/<control type>/.../constraint_X_min_power_uw
123e23feb16SSrinivas PandruvadaDate:		September 2013
124e23feb16SSrinivas PandruvadaKernelVersion:	3.13
125e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
126e23feb16SSrinivas PandruvadaDescription:
127e23feb16SSrinivas Pandruvada		Minimum allowed power in micro watts for this constraint.
128e23feb16SSrinivas Pandruvada		Here "X" can have values from 0 to max integer.
129e23feb16SSrinivas Pandruvada
130e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/constraint_X_max_time_window_us
131e23feb16SSrinivas PandruvadaDate:		September 2013
132e23feb16SSrinivas PandruvadaKernelVersion:	3.13
133e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
134e23feb16SSrinivas PandruvadaDescription:
135e23feb16SSrinivas Pandruvada		Maximum allowed time window in micro seconds for this
136e23feb16SSrinivas Pandruvada		constraint. Here "X" can have values from 0 to max integer.
137e23feb16SSrinivas Pandruvada
138e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/constraint_X_min_time_window_us
139e23feb16SSrinivas PandruvadaDate:		September 2013
140e23feb16SSrinivas PandruvadaKernelVersion:	3.13
141e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
142e23feb16SSrinivas PandruvadaDescription:
143e23feb16SSrinivas Pandruvada		Minimum allowed time window in micro seconds for this
144e23feb16SSrinivas Pandruvada		constraint. Here "X" can have values from 0 to max integer.
145e23feb16SSrinivas Pandruvada
146e23feb16SSrinivas PandruvadaWhat:		/sys/class/powercap/.../<power zone>/enabled
147e23feb16SSrinivas PandruvadaDate:		September 2013
148e23feb16SSrinivas PandruvadaKernelVersion:	3.13
149e23feb16SSrinivas PandruvadaContact:	linux-pm@vger.kernel.org
150e23feb16SSrinivas PandruvadaDescription:
151e23feb16SSrinivas Pandruvada		This allows to enable/disable power capping at power zone level.
152e23feb16SSrinivas Pandruvada		This applies to current power zone and its children.
153