From: California Sullivan <california.l.sulli...@intel.com>

This patch adds a configuration fragment and scc file to support
the coretemp feature on some Intel platforms.

Partial fix for [YOCTO #8107].

Signed-off-by: California Sullivan <california.l.sulli...@intel.com>
---
 meta/cfg/kernel-cache/features/thermal/coretemp.cfg | 11 +++++++++++
 meta/cfg/kernel-cache/features/thermal/coretemp.scc |  4 ++++
 2 files changed, 15 insertions(+)
 create mode 100644 meta/cfg/kernel-cache/features/thermal/coretemp.cfg
 create mode 100644 meta/cfg/kernel-cache/features/thermal/coretemp.scc

diff --git a/meta/cfg/kernel-cache/features/thermal/coretemp.cfg 
b/meta/cfg/kernel-cache/features/thermal/coretemp.cfg
new file mode 100644
index 0000000..f46f32d
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/thermal/coretemp.cfg
@@ -0,0 +1,11 @@
+# IOSF_MBI is required by INTEL_SOC_DTS_THERMAL
+CONFIG_IOSF_MBI=m
+
+# Intel Core/Core2/Atom temperature sensor
+CONFIG_SENSORS_CORETEMP=m
+
+# Intel SoCs DTS thermal driver
+CONFIG_INTEL_SOC_DTS_THERMAL=m
+
+# ACPI INT340X thermal drivers
+CONFIG_INT340X_THERMAL=m
diff --git a/meta/cfg/kernel-cache/features/thermal/coretemp.scc 
b/meta/cfg/kernel-cache/features/thermal/coretemp.scc
new file mode 100644
index 0000000..e2dc92b
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/thermal/coretemp.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Coretemp support for Intel platforms"
+define KFEATURE_COMPATIBILITY board
+
+kconf hardware coretemp.cfg
-- 
2.1.0

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to