2019-08-09 17:50:30 +00:00
|
|
|
From 1b58612a44597525052617f2cb23e873ad433d2f Mon Sep 17 00:00:00 2001
|
2019-07-09 18:32:28 +00:00
|
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
Date: Thu, 7 Feb 2019 18:16:25 +0000
|
2019-08-09 17:50:30 +00:00
|
|
|
Subject: [PATCH 347/773] configs: Enable the AD193x codecs
|
2019-07-09 18:32:28 +00:00
|
|
|
|
|
|
|
See: https://github.com/raspberrypi/linux/issues/2850
|
|
|
|
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
---
|
|
|
|
arch/arm/configs/bcm2709_defconfig | 2 ++
|
|
|
|
arch/arm/configs/bcmrpi_defconfig | 2 ++
|
|
|
|
arch/arm64/configs/bcmrpi3_defconfig | 2 ++
|
|
|
|
sound/soc/codecs/Kconfig | 4 ++--
|
|
|
|
4 files changed, 8 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
--- a/arch/arm/configs/bcm2709_defconfig
|
|
|
|
+++ b/arch/arm/configs/bcm2709_defconfig
|
|
|
|
@@ -930,6 +930,8 @@ CONFIG_SND_BCM2708_SOC_ALLO_DIGIONE=m
|
|
|
|
CONFIG_SND_BCM2708_SOC_ALLO_KATANA_DAC=m
|
|
|
|
CONFIG_SND_BCM2708_SOC_FE_PI_AUDIO=m
|
|
|
|
CONFIG_SND_PISOUND=m
|
|
|
|
+CONFIG_SND_SOC_AD193X_SPI=m
|
|
|
|
+CONFIG_SND_SOC_AD193X_I2C=m
|
|
|
|
CONFIG_SND_SOC_ADAU1701=m
|
|
|
|
CONFIG_SND_SOC_ADAU7002=m
|
|
|
|
CONFIG_SND_SOC_AK4554=m
|
|
|
|
--- a/arch/arm/configs/bcmrpi_defconfig
|
|
|
|
+++ b/arch/arm/configs/bcmrpi_defconfig
|
|
|
|
@@ -923,6 +923,8 @@ CONFIG_SND_BCM2708_SOC_ALLO_DIGIONE=m
|
|
|
|
CONFIG_SND_BCM2708_SOC_ALLO_KATANA_DAC=m
|
|
|
|
CONFIG_SND_BCM2708_SOC_FE_PI_AUDIO=m
|
|
|
|
CONFIG_SND_PISOUND=m
|
|
|
|
+CONFIG_SND_SOC_AD193X_SPI=m
|
|
|
|
+CONFIG_SND_SOC_AD193X_I2C=m
|
|
|
|
CONFIG_SND_SOC_ADAU1701=m
|
|
|
|
CONFIG_SND_SOC_ADAU7002=m
|
|
|
|
CONFIG_SND_SOC_AK4554=m
|
|
|
|
--- a/arch/arm64/configs/bcmrpi3_defconfig
|
|
|
|
+++ b/arch/arm64/configs/bcmrpi3_defconfig
|
|
|
|
@@ -811,6 +811,8 @@ CONFIG_SND_DIGIDAC1_SOUNDCARD=m
|
|
|
|
CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m
|
|
|
|
CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m
|
|
|
|
CONFIG_SND_PISOUND=m
|
|
|
|
+CONFIG_SND_SOC_AD193X_SPI=m
|
|
|
|
+CONFIG_SND_SOC_AD193X_I2C=m
|
|
|
|
CONFIG_SND_SOC_ADAU1701=m
|
|
|
|
CONFIG_SND_SOC_AK4554=m
|
|
|
|
CONFIG_SND_SOC_CS4271_I2C=m
|
|
|
|
--- a/sound/soc/codecs/Kconfig
|
|
|
|
+++ b/sound/soc/codecs/Kconfig
|
|
|
|
@@ -295,11 +295,11 @@ config SND_SOC_AD193X
|
|
|
|
tristate
|
|
|
|
|
|
|
|
config SND_SOC_AD193X_SPI
|
|
|
|
- tristate
|
|
|
|
+ tristate "Analog Devices AU193X CODEC - SPI"
|
|
|
|
select SND_SOC_AD193X
|
|
|
|
|
|
|
|
config SND_SOC_AD193X_I2C
|
|
|
|
- tristate
|
|
|
|
+ tristate "Analog Devices AU193X CODEC - I2C"
|
|
|
|
select SND_SOC_AD193X
|
|
|
|
|
|
|
|
config SND_SOC_AD1980
|