From: Chee Yang Lee <[email protected]>
CONFIG_INT340X_THERMAL required x86_64.
[NOTE]: 'CONFIG_INT340X_THERMAL' last val (m) and .config val (n) do not
match
[INFO]: CONFIG_INT340X_THERMAL : n
[INFO]: raw config text:
config INT340X_THERMAL
tristate "ACPI INT340X thermal drivers"
select THERMAL_GOV_USER_SPACE
select ACPI_THERMAL_REL
select ACPI_FAN
select INTEL_SOC_DTS_IOSF_CORE
select PROC_THERMAL_MMIO_RAPL if POWERCAP
depends on X86_64 && ACPI && PCI && (X86 || X86_INTEL_QUARK ||
COMPILE_TEST) && THERMAL
help
Newer laptops and tablets that use ACPI may have thermal
sensors and
other devices with thermal control capabilities outside the
core
CPU/SOC, for thermal safety reasons.
They are exposed for the OS to use via the INT3400 ACPI
device object
as the master, and INT3401~INT340B ACPI device objects as the
slaves.
Enable this to expose the temperature information and cooling
ability
from these objects to userspace via the normal thermal
framework.
This means that a wide range of applications and GUI widgets
can show
the information to the user or use this information for making
decisions. For example, the Intel Thermal Daemon can use this
information to allow the user to select his laptop to run
without
turning on the fans.
Config 'INT340X_THERMAL' has the following Direct dependencies
(INT340X_THERMAL=n):
X86_64(=n) && ACPI(=y) && PCI(=y) && X86(=y) ||
X86_INTEL_QUARK(=n) || COMPILE_TEST(=n) (=y) && THERMAL(=y)
Parent dependencies are:
PCI [y] THERMAL [y] COMPILE_TEST [n] X86 [y] ACPI [y]
X86_INTEL_QUARK [n] POWERCAP [y] X86_64 [n]
[INFO]: config 'CONFIG_INT340X_THERMAL' was set, but it wasn't assignable,
check (parent) dependencies
Signed-off-by: Chee Yang Lee <[email protected]>
---
features/thermal/coretemp-x86_64.cfg | 4 ++++
features/thermal/coretemp.cfg | 3 ---
features/thermal/coretemp.scc | 4 ++++
3 files changed, 8 insertions(+), 3 deletions(-)
create mode 100644 features/thermal/coretemp-x86_64.cfg
diff --git a/features/thermal/coretemp-x86_64.cfg
b/features/thermal/coretemp-x86_64.cfg
new file mode 100644
index 00000000..4a34163a
--- /dev/null
+++ b/features/thermal/coretemp-x86_64.cfg
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: MIT
+# ACPI INT340X thermal drivers
+CONFIG_INT340X_THERMAL=m
+
diff --git a/features/thermal/coretemp.cfg b/features/thermal/coretemp.cfg
index efe4654b..1b89b549 100644
--- a/features/thermal/coretemp.cfg
+++ b/features/thermal/coretemp.cfg
@@ -8,9 +8,6 @@ CONFIG_SENSORS_CORETEMP=m
# Intel SoCs DTS thermal driver
CONFIG_INTEL_SOC_DTS_THERMAL=m
-# ACPI INT340X thermal drivers
-CONFIG_INT340X_THERMAL=m
-
# Intel PowerClamp idle injection driver
CONFIG_INTEL_POWERCLAMP=m
diff --git a/features/thermal/coretemp.scc b/features/thermal/coretemp.scc
index 272d5578..ded07295 100644
--- a/features/thermal/coretemp.scc
+++ b/features/thermal/coretemp.scc
@@ -3,3 +3,7 @@ define KFEATURE_DESCRIPTION "Coretemp support for Intel
platforms"
define KFEATURE_COMPATIBILITY board
kconf hardware coretemp.cfg
+if [ "$KARCH" = "x86_64" ] ; then
+ kconf hardware coretemp-x86_64.cfg
+fi
+
--
2.37.3
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12287):
https://lists.yoctoproject.org/g/linux-yocto/message/12287
Mute This Topic: https://lists.yoctoproject.org/mt/97774556/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-