[meta-intel] [jethro][[PATCH 2/2] linux-yocto_4.1: use KERNEL_FEATURES for PWM in Leaf Hill

chong.yi.chai at intel.com chong.yi.chai at intel.com
Tue Jul 4 07:30:33 PDT 2017


From: "Chai, Chong Yi" <chong.yi.chai at intel.com>

Leaf Hill PWM kernel configuration is overwritten by intel_pwm feature.
Introduce Leaf Hill PWM feature to take those configuration into final
config.
These PWM kernel configuration are required by DC-IRIS kernel driver
in Leaf Hill platform.

Signed-off-by: Chai, Chong Yi <chong.yi.chai at intel.com>
---
 common/recipes-kernel/linux/linux-yocto_4.1.bbappend | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/recipes-kernel/linux/linux-yocto_4.1.bbappend b/common/recipes-kernel/linux/linux-yocto_4.1.bbappend
index 4074e3e..8debee4 100644
--- a/common/recipes-kernel/linux/linux-yocto_4.1.bbappend
+++ b/common/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -2,6 +2,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 KERNEL_FEATURES_INTEL_COMMON += "features/amt/mei/mei.scc"
 KERNEL_FEATURES_LEAFHILL_AUDIO += "bsp/leafhill/snd_ssp_intel.scc"
+KERNEL_FEATURES_LEAFHILL_PWM += "bsp/leafhill/pwm_leafhill.scc"
 
 LINUX_VERSION_core2-32-intel-common = "4.1.26"
 COMPATIBLE_MACHINE_core2-32-intel-common = "${MACHINE}"
@@ -20,6 +21,8 @@ SRCREV_machine_corei7-64-intel-common ?= "${@bb.utils.contains('BSP_SUBTYPE', 'l
 KERNEL_FEATURES_append_corei7-64-intel-common = "${KERNEL_FEATURES_INTEL_COMMON} \
 						 ${@bb.utils.contains('AUDIO_FEATURES', 'ssp', '${KERNEL_FEATURES_LEAFHILL_AUDIO}', '', d)}"
 
+KERNEL_FEATURES_append_corei7-64-intel-common = "${@bb.utils.contains('BSP_SUBTYPE', 'leafhill', '${KERNEL_FEATURES_LEAFHILL_PWM}', '', d)}"
+
 # Quark / X1000 BSP Info
 LINUX_VERSION_i586-nlp-32-intel-common = "4.1.26"
 COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}"
-- 
1.9.1



More information about the meta-intel mailing list