arch/arm/boot/dts/overlays/sonomkr-card-overlay.dts
arch/arm/boot/dts/overlays/Makefile
- add the following line (for 4.9 kernel) :
sonomkr-card.dtbo \
- or the following line (for 4.4 kernel) :
dtbo-$(RPI_DT_OVERLAYS) += sonomkr-card.dtbo
Documentation/devicetree/bindings/vendor-prefixes.txt
- add the following line :
sonomkr SonoMKR Project Team
sound/soc/bcm/sonomkr-card.c
sound/soc/bcm/Makefile
- add these two lines at the right place :
snd-soc-sonomkr-card-objs := sonomkr-card.o
obj-$(CONFIG_SND_SONOMKR_CARD) += snd-soc-sonomkr-card.o
sound/soc/bcm/Kconfig
- add the following lines:
config SND_SONOMKR_CARD
tristate "Support for the SonoMKR Audio Card"
depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S
select SND_SOC_WM8782
help
Say Y or M if you want to add support for SonoMKR Audio Card.
arch/arm/configs/bcm2709_defconfig
arch/arm/configs/bcmrpi_defconfig
- add the following line to both files
CONFIG_SND_SONOMKR_CARD=m