]> Gentwo Git Trees - linux/.git/commit
thermal: intel: Select INT340X_THERMAL from INTEL_SOC_DTS_THERMAL
authorSlawomir Rosek <srosek@google.com>
Mon, 3 Nov 2025 16:25:15 +0000 (16:25 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 7 Nov 2025 19:45:37 +0000 (20:45 +0100)
commit13a96342d59f4edbe237245e84c418c045b66188
treeb1b42eac71d2ecdb959b06da68cad8b577280cf3
parent6146a0f1dfae5d37442a9ddcba012add260bceb0
thermal: intel: Select INT340X_THERMAL from INTEL_SOC_DTS_THERMAL

The IRQ used by the Intel SoC DTS thermal device for critical
overheating notification is listed in _CRS of device INT3401 which
therefore needs to be enumerated for Intel SoC DTS thermal to work.

The enumeration happens by binding the int3401_thermal driver to the
INT3401 platform device. Thus CONFIG_INT340X_THERMAL is in fact
necessary for enumerating it, so checking CONFIG_INTEL_SOC_DTS_THERMAL
in int340x_thermal_handler_attach() is pointless and INT340X_THERMAL
may as well be selected by INTEL_SOC_DTS_THERMAL.

Signed-off-by: Slawomir Rosek <srosek@google.com>
[ rjw: New subject ]
Link: https://patch.msgid.link/20251103162516.2606158-2-srosek@google.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/dptf/int340x_thermal.c
drivers/thermal/intel/Kconfig