linux/Documentation/driver-api/thermal
Srinivas Pandruvada 5bc6b1df65 thermal: intel: int340x: Add DLVR support for RFIM control
Add support for DLVR (Digital Linear Voltage Regulator) attributes,
which can be used to control RFIM.

Here instead of "fivr" another directory "dlvr" is created with DLVR
attributes:

/sys/bus/pci/devices/0000:00:04.0/dlvr
├── dlvr_freq_mhz
├── dlvr_freq_select
├── dlvr_hardware_rev
├── dlvr_pll_busy
├── dlvr_rfim_enable
└── dlvr_spread_spectrum_pct
└── dlvr_control_mode
└── dlvr_control_lock

Attributes
dlvr_freq_mhz (RO):
Current DLVR PLL frequency in MHz.

dlvr_freq_select (RW):
Sets DLVR PLL clock frequency.

dlvr_hardware_rev (RO):
DLVR hardware revision.

dlvr_pll_busy (RO):
PLL can't accept frequency change when set.

dlvr_rfim_enable (RW):
0: Disable RF frequency hopping, 1: Enable RF frequency hopping.

dlvr_control_mode (RW):
Specifies how frequencies are spread. 0: Down spread, 1: Spread in Center.

dlvr_control_lock (RW):
1: future writes are ignored.

dlvr_spread_spectrum_pct (RW)
A write to this register updates the DLVR spread spectrum percent value.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
[ rjw: Subject edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-04-18 15:24:40 +02:00
..
cpu-cooling-api.rst
cpu-idle-cooling.rst docs: thermal: convert cpu-idle-cooling.rst to ReST 2020-06-19 14:03:00 -06:00
exynos_thermal_emulation.rst
exynos_thermal.rst thermal: exynos: Rename Samsung and Exynos to lowercase 2020-01-27 10:24:32 +01:00
index.rst Documentation: admin-guide: Move intel_powerclamp documentation 2023-02-09 20:53:39 +01:00
intel_dptf.rst thermal: intel: int340x: Add DLVR support for RFIM control 2023-04-18 15:24:40 +02:00
nouveau_thermal.rst documentation: Update #nouveau IRC channel network 2021-07-25 22:20:55 +02:00
power_allocator.rst PM: EM: Clarify abstract scale usage for power values in Energy Model 2020-11-10 20:29:28 +01:00
sysfs-api.rst thermal/core: Remove thermal_bind_params structure 2023-04-07 11:18:22 +02:00
x86_pkg_temperature_thermal.rst