Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

thermal: int340x: processor_thermal: Platform temperature control documentation

Update documentation of attributes for platform temperature control.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/20250429000110.236243-4-srinivas.pandruvada@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Srinivas Pandruvada and committed by
Rafael J. Wysocki
fdccdb65 579daefb

+21
+21
Documentation/driver-api/thermal/intel_dptf.rst
··· 191 191 User space can specify any one of the available workload type using 192 192 this interface. 193 193 194 + :file:`/sys/bus/pci/devices/0000\:00\:04.0/ptc_0_control` 195 + :file:`/sys/bus/pci/devices/0000\:00\:04.0/ptc_1_control` 196 + :file:`/sys/bus/pci/devices/0000\:00\:04.0/ptc_2_control` 197 + 198 + All these controls needs admin privilege to update. 199 + 200 + ``enable`` (RW) 201 + 1 for enable, 0 for disable. Shows the current enable status of 202 + platform temperature control feature. User space can enable/disable 203 + hardware controls. 204 + 205 + ``temperature_target`` (RW) 206 + Update a new temperature target in milli degree celsius for hardware to 207 + use for the temperature control. 208 + 209 + Given that this is platform temperature control, it is expected that a 210 + single user-level manager owns and manages the controls. If multiple 211 + user-level software applications attempt to write different targets, it 212 + can lead to unexpected behavior. 213 + 214 + 194 215 DPTF Processor thermal RFIM interface 195 216 -------------------------------------------- 196 217