diff options
| author | Devendra Tewari <devendra.tewari@gmail.com> | 2021-06-08 17:39:52 -0300 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2021-06-10 21:22:24 +0100 |
| commit | 246555aea70660d053f536e6f9dfb5a068ecdaa1 (patch) | |
| tree | 2de846d026c3f6494643f553ddcacab42a2172cf /recipes-kernel | |
| parent | 7057d5dcbfa5802a370aa1730e14e940b9bf7b24 (diff) | |
| download | meta-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.cfg | 2 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-raspberrypi.inc | 1 |
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 @@ | |||
| 1 | CONFIG_I2C_BCM2835=y | ||
| 2 | CONFIG_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 | |||
| 14 | SRC_URI += " \ | 14 | SRC_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 | ||
| 19 | KCONFIG_MODE = "--alldefconfig" | 20 | KCONFIG_MODE = "--alldefconfig" |
