From 27172be8036da48dc093668b7366d467111008f4 Mon Sep 17 00:00:00 2001 From: California Sullivan <california.l.sullivan@intel.com> Date: Fri, 14 Aug 2015 10:28:09 -0700 Subject: [PATCH] features: add coretemp feature 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.sullivan@intel.com> --- features/thermal/coretemp.cfg | 11 +++++++++++ features/thermal/coretemp.scc | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 features/thermal/coretemp.cfg create mode 100644 features/thermal/coretemp.scc diff --git a/features/thermal/coretemp.cfg b/features/thermal/coretemp.cfg new file mode 100644 index 000000000..f46f32d67 --- /dev/null +++ b/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/features/thermal/coretemp.scc b/features/thermal/coretemp.scc new file mode 100644 index 000000000..e2dc92b25 --- /dev/null +++ b/features/thermal/coretemp.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Coretemp support for Intel platforms" +define KFEATURE_COMPATIBILITY board + +kconf hardware coretemp.cfg -- GitLab