[linux-yocto] [PATCH 1/2][linux-yocto-3.19][meta] features: add coretemp feature

Bruce Ashfield bruce.ashfield at gmail.com
Tue Aug 18 10:16:31 PDT 2015


On Fri, Aug 14, 2015 at 1:28 PM,  <california.l.sullivan at intel.com> wrote:
> From: California Sullivan <california.l.sullivan at intel.com>
>
> This patch adds a configuration fragment and scc file to support
> the coretemp feature on some Intel platforms.
>

The change looks fine to me .. but one question. What branch do you need the
changes applied ?

The reason I ask is that for master and older releases, I need to merge the
meta changes to different locations.

3.19 is scheduled to be removed in master, so I'm guessing fido ? I'll also
stage the changes on master, so they'll be there for newer BSPs.

Bruce

> Partial fix for [YOCTO #8107].
>
> Signed-off-by: California Sullivan <california.l.sullivan at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the linux-yocto mailing list