aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChai, Chong Yi <chong.yi.chai@intel.com>2017-07-04 22:30:33 +0800
committerSaul Wold <sgw@linux.intel.com>2017-07-05 23:10:17 -0700
commit4e8b0ef1e521dc45dcc310b6b7528bfe1eed1274 (patch)
treee309f5b00cc0ba715a7a2b3b846e143b47e03e23
parentf8371fe3f4063b2227e2cc28af7b55a0900e2efc (diff)
downloadmeta-intel-jethro.tar.gz
meta-intel-jethro.tar.bz2
meta-intel-jethro.zip
linux-yocto_4.1: use KERNEL_FEATURES for PWM in Leaf Hilljethro
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@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--common/recipes-kernel/linux/linux-yocto_4.1.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto_4.1.bbappend b/common/recipes-kernel/linux/linux-yocto_4.1.bbappend
index 4074e3ef..8debee41 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}"