aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2018-12-21 16:20:52 +0500
committerAwais Belal <awais_belal@mentor.com>2018-12-21 16:20:56 +0500
commit9e28a4e8ecad4f825fc84472f715338d281a76f6 (patch)
tree591cb7e97c23d9ea643b0e820ca7be977e22d44a /common/recipes-kernel/linux
parentb3521f252396d507372f53636a7b40411ae96353 (diff)
downloadmeta-amd-9e28a4e8ecad4f825fc84472f715338d281a76f6.tar.gz
meta-amd-9e28a4e8ecad4f825fc84472f715338d281a76f6.tar.bz2
meta-amd-9e28a4e8ecad4f825fc84472f715338d281a76f6.zip
linux-yocto_4.14: enable basic drivers
Most of our BSPs require these drivers and they have been part of earlier releases so enabling them for the new kernel makes the most sense. Signed-off-by: Awais Belal <awais_belal@mentor.com>
Diffstat (limited to 'common/recipes-kernel/linux')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/console.cfg7
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/disable-bluetooth.cfg1
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/disable-intel-graphics.cfg2
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/disable-kgdb.cfg1
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/enable-bluetooth.cfg13
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/enable-kgdb.cfg3
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/hid.cfg5
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/logo.cfg1
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/sound.cfg30
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/usb-serial.cfg1
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/wifi-drivers.cfg9
-rw-r--r--common/recipes-kernel/linux/linux-yocto-common_4.14.inc13
12 files changed, 84 insertions, 2 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/console.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/console.cfg
new file mode 100644
index 00000000..9e30450e
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/console.cfg
@@ -0,0 +1,7 @@
+CONFIG_FB=y
+CONFIG_FIRMWARE_EDID=y
+CONFIG_FB_TILEBLITTING=y
+CONFIG_FB_EFI=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_FB_VESA=y
+CONFIG_FB_SIMPLE=y
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/disable-bluetooth.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/disable-bluetooth.cfg
new file mode 100644
index 00000000..ce6ddb43
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/disable-bluetooth.cfg
@@ -0,0 +1 @@
+# CONFIG_BT is not set
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/disable-intel-graphics.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/disable-intel-graphics.cfg
new file mode 100644
index 00000000..06a5238d
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/disable-intel-graphics.cfg
@@ -0,0 +1,2 @@
+# CONFIG_DRM_I915 is not set
+# CONFIG_DRM_I915_KMS is not set
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/disable-kgdb.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/disable-kgdb.cfg
new file mode 100644
index 00000000..b8a2218b
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/disable-kgdb.cfg
@@ -0,0 +1 @@
+# CONFIG_KGDB is not set
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/enable-bluetooth.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/enable-bluetooth.cfg
new file mode 100644
index 00000000..581830f0
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/enable-bluetooth.cfg
@@ -0,0 +1,13 @@
+CONFIG_BT=m
+CONFIG_BT_RFCOMM=m
+CONFIG_BT_BNEP=m
+CONFIG_BT_HIDP=m
+CONFIG_BT_HCIBFUSB=m
+CONFIG_BT_HCIBTUSB=m
+CONFIG_BT_HCIBTSDIO=m
+CONFIG_BT_HCIUART=m
+CONFIG_BT_HCIBCM203X=m
+CONFIG_BT_HCIBPA10X=m
+CONFIG_BT_HCIVHCI=m
+CONFIG_BT_MRVL=m
+CONFIG_BT_ATH3K=m
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/enable-kgdb.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/enable-kgdb.cfg
new file mode 100644
index 00000000..55f296b2
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/enable-kgdb.cfg
@@ -0,0 +1,3 @@
+CONFIG_KGDB=y
+CONFIG_KGDB_LOW_LEVEL_TRAP=y
+CONFIG_KGDB_KDB=y
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/hid.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/hid.cfg
new file mode 100644
index 00000000..cbab0fa7
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/hid.cfg
@@ -0,0 +1,5 @@
+CONFIG_HID_A4TECH=m
+CONFIG_HID_LOGITECH=m
+CONFIG_HID_LOGITECH_DJ=m
+CONFIG_HID_MICROSOFT=m
+CONFIG_HID_MULTITOUCH=m
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/logo.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/logo.cfg
new file mode 100644
index 00000000..9772c12e
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/logo.cfg
@@ -0,0 +1 @@
+CONFIG_LOGO=y
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/sound.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/sound.cfg
new file mode 100644
index 00000000..a4d0fcb1
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/sound.cfg
@@ -0,0 +1,30 @@
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_SEQUENCER=y
+CONFIG_SND_SEQ_DUMMY=y
+CONFIG_SND_MIXER_OSS=y
+CONFIG_SND_HRTIMER=y
+CONFIG_SND_DYNAMIC_MINORS=y
+CONFIG_SND_PCSP=y
+CONFIG_SND_HDA_GENERIC=y
+CONFIG_SND_HDA_INTEL=y
+CONFIG_SND_HDA_HWDEP=y
+CONFIG_SND_HDA_INPUT_BEEP=y
+CONFIG_SND_HDA_INPUT_JACK=y
+CONFIG_SND_HDA_PATCH_LOADER=y
+CONFIG_SND_HDA_CODEC_REALTEK=y
+CONFIG_SND_HDA_CODEC_ANALOG=y
+CONFIG_SND_HDA_CODEC_SIGMATEL=y
+CONFIG_SND_HDA_CODEC_VIA=y
+CONFIG_SND_HDA_CODEC_HDMI=y
+CONFIG_SND_HDA_CODEC_CIRRUS=y
+CONFIG_SND_HDA_CODEC_CONEXANT=y
+CONFIG_SND_HDA_CODEC_CA0110=y
+CONFIG_SND_HDA_CODEC_CA0132=y
+CONFIG_SND_HDA_CODEC_CMEDIA=y
+CONFIG_SND_HDA_CODEC_SI3054=y
+CONFIG_SND_USB_AUDIO=y
+CONFIG_SND_PCM_OSS=m
+CONFIG_SND_PCM_OSS_PLUGINS=y
+CONFIG_SND_SEQUENCER_OSS=y
+CONFIG_SND_SOC=m
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/usb-serial.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/usb-serial.cfg
new file mode 100644
index 00000000..11402439
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/usb-serial.cfg
@@ -0,0 +1 @@
+CONFIG_USB_SERIAL_MOS7840=y
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/wifi-drivers.cfg b/common/recipes-kernel/linux/linux-yocto-4.14.71/wifi-drivers.cfg
new file mode 100644
index 00000000..8b407303
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/wifi-drivers.cfg
@@ -0,0 +1,9 @@
+CONFIG_CFG80211_WEXT=y
+CONFIG_WEXT_CORE=y
+CONFIG_WEXT_PROC=y
+CONFIG_IWLWIFI=m
+CONFIG_IWLDVM=m
+CONFIG_IWLWIFI_OPMODE_MODULAR=y
+CONFIG_CARL9170=m
+CONFIG_CARL9170_LEDS=y
+CONFIG_CARL9170_WPC=y
diff --git a/common/recipes-kernel/linux/linux-yocto-common_4.14.inc b/common/recipes-kernel/linux/linux-yocto-common_4.14.inc
index c21e74db..1adec7d3 100644
--- a/common/recipes-kernel/linux/linux-yocto-common_4.14.inc
+++ b/common/recipes-kernel/linux/linux-yocto-common_4.14.inc
@@ -6,7 +6,16 @@ LINUX_VERSION_amdx86 ?= "4.14.71"
FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto-${LINUX_VERSION}:"
-SRC_URI_append = " file://amd-xgbe-patches.scc \
- file://amd-emmc-patches.scc"
+SRC_URI_append_amdx86 = " file://amd-xgbe-patches.scc \
+ file://amd-emmc-patches.scc \
+ file://logo.cfg \
+ file://console.cfg \
+ file://sound.cfg \
+ file://hid.cfg \
+ file://usb-serial.cfg \
+ file://wifi-drivers.cfg \
+ file://disable-intel-graphics.cfg \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'file://enable-bluetooth.cfg', 'file://disable-bluetooth.cfg', d)} \
+ ${@bb.utils.contains('DISTRO', 'mel', 'file://enable-kgdb.cfg', 'file://disable-kgdb.cfg', d)}"
KERNEL_FEATURES_append_amdx86 = " cfg/smp.scc"