summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorDevendra Tewari <devendra.tewari@gmail.com>2021-06-08 17:39:52 -0300
committerAndrei Gherzan <andrei@gherzan.com>2021-06-10 21:22:24 +0100
commit246555aea70660d053f536e6f9dfb5a068ecdaa1 (patch)
tree2de846d026c3f6494643f553ddcacab42a2172cf /recipes-kernel
parent7057d5dcbfa5802a370aa1730e14e940b9bf7b24 (diff)
downloadmeta-raspberrypi-246555aea70660d053f536e6f9dfb5a068ecdaa1.tar.gz
Add WM8960 soundcard support
Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/files/wm8960.cfg2
-rw-r--r--recipes-kernel/linux/linux-raspberrypi.inc1
2 files changed, 3 insertions, 0 deletions
diff --git a/recipes-kernel/linux/files/wm8960.cfg b/recipes-kernel/linux/files/wm8960.cfg
new file mode 100644
index 0000000..9360800
--- /dev/null
+++ b/recipes-kernel/linux/files/wm8960.cfg
@@ -0,0 +1,2 @@
1CONFIG_I2C_BCM2835=y
2CONFIG_SND_SOC_WM8960=y
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index 5ad9b78..683253c 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -14,6 +14,7 @@ require recipes-kernel/linux/linux-yocto.inc
14SRC_URI += " \ 14SRC_URI += " \
15 ${@bb.utils.contains("INITRAMFS_IMAGE_BUNDLE", "1", "file://initramfs-image-bundle.cfg", "", d)} \ 15 ${@bb.utils.contains("INITRAMFS_IMAGE_BUNDLE", "1", "file://initramfs-image-bundle.cfg", "", d)} \
16 ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "file://vc4graphics.cfg", "", d)} \ 16 ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "file://vc4graphics.cfg", "", d)} \
17 ${@bb.utils.contains("MACHINE_FEATURES", "wm8960", "file://wm8960.cfg", "", d)} \
17 " 18 "
18 19
19KCONFIG_MODE = "--alldefconfig" 20KCONFIG_MODE = "--alldefconfig"