]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
thermal: intel: int340x: Add module parameter for balanced Slider
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Mon, 25 Aug 2025 13:23:14 +0000 (06:23 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Aug 2025 13:44:47 +0000 (15:44 +0200)
commit4a64a748e45cded20443ad54826ac78b3967de15
treecf7e9b071c7dbec794e8fb0d4e486674f9b1f893
parent018d046a1a2cdf917bd8e3b6a3fdab6ce7aa698b
thermal: intel: int340x: Add module parameter for balanced Slider

By default, the SoC slider value for the "balanced" platform profile is
set to 3. This update introduces a new module parameter, allowing users
to modify this default value.

The module parameter can be specified during load time to set a custom
slider value for the "balanced" profile. If the module parameter is not
specified at load time and is updated later, the new value will only take
effect after the next write of "balanced" to the sysfs "profile"
attribute.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/20250825132315.75521-4-srinivas.pandruvada@linux.intel.com
[ rjw: Minor adjustments of module param description ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/processor_thermal_soc_slider.c