ASoC: Add ADAU1X61 and ADAU1X81 CODECs common code
Subsystems (3)
Lars-Peter Clausen
maintainerPATCH 1/5 ASoC: Add ADAU1X61 and ADAU1X81 CODECs common code
The ADAU1X61 and ADAU1X81 are very similar in the digital domain, but are quite different in the analog domain. This patch adds support for the common parts of the ADAU1X61 and ADAU1X81 CODECs.
The patch also restores some of the alphabetical order in the Makfile and Kconfig.
--- include/linux/platform_data/adau17x1.h | 23 + sound/soc/codecs/Kconfig | 6 +- sound/soc/codecs/Makefile | 6 +- sound/soc/codecs/adau17x1.c | 866 +++++++++++++++++++++++++++++++++ sound/soc/codecs/adau17x1.h | 124 +++++ 5 files changed, 1022 insertions(+), 3 deletions(-) create mode 100644 include/linux/platform_data/adau17x1.h create mode 100644 sound/soc/codecs/adau17x1.c create mode 100644 sound/soc/codecs/adau17x1.h
include/linux/platform_data/adau17x1.h new file +23 -0
@@ -0,0 +1,23 @@ +/* +* Driver for ADAU1761/ADAU1461/ADAU1761/ADAU1961/ADAU1781/ADAU1781 codecs +* +* Copyright 2011-2014 Analog Devices Inc. +* Author: Lars-Peter Clausen <[email protected]> +* +* Licensed under the GPL-2 or later. +*/ + +#ifndef __LINUX_PLATFORM_DATA_ADAU17X1_H__ +#define __LINUX_PLATFORM_DATA_ADAU17X1_H__ + +/** +* enum adau17x1_micbias_voltage - Microphone bias voltage +* @ADAU17X1_MICBIAS_0_90_AVDD: 0.9 * AVDD +* @ADAU17X1_MICBIAS_0_65_AVDD: 0.65 * AVDD +*/ +enum adau17x1_micbias_voltage { +ADAU17X1_MICBIAS_0_90_AVDD =0 , +ADAU17X1_MICBIAS_0_65_AVDD =1 , +}; + +#endif
sound/soc/codecs/Kconfig +5 -1
@@ -214,13 +214,17 @@ config SND_SOC_AD1980 config SND_SOC_AD73311 tristate +config SND_SOC_ADAU1373 + tristate + config SND_SOC_ADAU1701 tristate "Analog Devices ADAU1701 CODEC" depends on I2C select SND_SOC_SIGMADSP -config SND_SOC_ADAU1373 +config SND_SOC_ADAU17X1 tristate + select SND_SOC_SIGMADSP config SND_SOC_ADAU1977 tristate
sound/soc/codecs/Makefile +4 -2
@@ -7,8 +7,9 @@ snd-soc-ad193x-spi-objs := ad193x-spi.o snd-soc-ad193x-i2c-objs := ad193x-i2c.o snd-soc-ad1980-objs := ad1980.o snd-soc-ad73311-objs := ad73311.o -snd-soc-adau1701-objs := adau1701.o snd-soc-adau1373-objs := adau1373.o +snd-soc-adau1701-objs := adau1701.o +snd-soc-adau17x1-objs := adau17x1.o snd-soc-adau1977-objs := adau1977.o snd-soc-adau1977-spi-objs := adau1977-spi.o snd-soc-adau1977-i2c-objs := adau1977-i2c.o
@@ -162,10 +163,11 @@ obj-$(CONFIG_SND_SOC_AD193X_I2C) += snd-soc-ad193x-i2c.o obj-$(CONFIG_SND_SOC_AD1980) += snd-soc-ad1980.o obj-$(CONFIG_SND_SOC_AD73311) += snd-soc-ad73311.o obj-$(CONFIG_SND_SOC_ADAU1373) += snd-soc-adau1373.o +obj-$(CONFIG_SND_SOC_ADAU1701) += snd-soc-adau1701.o +obj-$(CONFIG_SND_SOC_ADAU17X1) += snd-soc-adau17x1.o obj-$(CONFIG_SND_SOC_ADAU1977) += snd-soc-adau1977.o obj-$(CONFIG_SND_SOC_ADAU1977_SPI) += snd-soc-adau1977-spi.o obj-$(CONFIG_SND_SOC_ADAU1977_I2C) += snd-soc-adau1977-i2c.o -obj-$(CONFIG_SND_SOC_ADAU1701) += snd-soc-adau1701.o obj-$(CONFIG_SND_SOC_ADAV80X) += snd-soc-adav80x.o obj-$(CONFIG_SND_SOC_ADAV801) += snd-soc-adav801.o obj-$(CONFIG_SND_SOC_ADAV803) += snd-soc-adav803.o
sound/soc/codecs/adau17x1.c new file +866 -0
866 lines not on this page · raw message
sound/soc/codecs/adau17x1.h new file +124 -0
124 lines not on this page · raw message
Signature · 1 line
1.8.0
Lars-Peter Clausen
maintainerPATCH 2/5 ASoC: Add ADAU1361/ADAU1761 audio CODEC support
This patch adds support for the Analog Devices ADAU1361 and ADAU1761 CODECs. The device is a a low-power, 24-bit stereo audio CODEC with multiple analog input and outputs, one digital microphone input and an I2S interface. The device can be controlled either via I2C or SPI. The main difference between the two variants is that the ADAU1761 has a built-in SigmaDSP, while the ADAU1361 has not.
--- include/linux/platform_data/adau17x1.h | 67 +++ sound/soc/codecs/Kconfig | 16 + sound/soc/codecs/Makefile | 6 + sound/soc/codecs/adau1761-i2c.c | 60 +++ sound/soc/codecs/adau1761-spi.c | 77 ++++ sound/soc/codecs/adau1761.c | 803 +++++++++++++++++++++++++++++++++ sound/soc/codecs/adau1761.h | 23 + 7 files changed, 1052 insertions(+) create mode 100644 sound/soc/codecs/adau1761-i2c.c create mode 100644 sound/soc/codecs/adau1761-spi.c create mode 100644 sound/soc/codecs/adau1761.c create mode 100644 sound/soc/codecs/adau1761.h
include/linux/platform_data/adau17x1.h +67 -0
@@ -20,4 +20,71 @@ enum adau17x1_micbias_voltage { ADAU17X1_MICBIAS_0_65_AVDD = 1, }; +/** +* enum adau1761_digmic_jackdet_pin_mode - Configuration of the JACKDET/MICIN pin +* @ADAU1761_DIGMIC_JACKDET_PIN_MODE_NONE: Disable the pin +* @ADAU1761_DIGMIC_JACKDET_PIN_MODE_DIGMIC: Configure the pin for usage as +* digital microphone input. +* @ADAU1761_DIGMIC_JACKDET_PIN_MODE_JACKDETECT: Configure the pin for jack +* insertion detection. +*/ +enum adau1761_digmic_jackdet_pin_mode { +ADAU1761_DIGMIC_JACKDET_PIN_MODE_NONE , +ADAU1761_DIGMIC_JACKDET_PIN_MODE_DIGMIC , +ADAU1761_DIGMIC_JACKDET_PIN_MODE_JACKDETECT , +}; + +/** +* adau1761_jackdetect_debounce_time - Jack insertion detection debounce time +* @ADAU1761_JACKDETECT_DEBOUNCE_5MS: 5 milliseconds +* @ADAU1761_JACKDETECT_DEBOUNCE_10MS: 10 milliseconds +* @ADAU1761_JACKDETECT_DEBOUNCE_20MS: 20 milliseconds +* @ADAU1761_JACKDETECT_DEBOUNCE_40MS: 40 milliseconds +*/ +enum adau1761_jackdetect_debounce_time { +ADAU1761_JACKDETECT_DEBOUNCE_5MS =0 , +ADAU1761_JACKDETECT_DEBOUNCE_10MS =1 , +ADAU1761_JACKDETECT_DEBOUNCE_20MS =2 , +ADAU1761_JACKDETECT_DEBOUNCE_40MS =3 , +}; + +/** +* enum adau1761_output_mode - Output mode configuration +* @ADAU1761_OUTPUT_MODE_HEADPHONE: Headphone output +* @ADAU1761_OUTPUT_MODE_HEADPHONE_CAPLESS: Capless headphone output +* @ADAU1761_OUTPUT_MODE_LINE: Line output +*/ +enum adau1761_output_mode { +ADAU1761_OUTPUT_MODE_HEADPHONE , +ADAU1761_OUTPUT_MODE_HEADPHONE_CAPLESS , +ADAU1761_OUTPUT_MODE_LINE , +}; + +/** +* struct adau1761_platform_data - ADAU1761 Codec driver platform data +* @input_differential: If true the input pins will be configured in +* differential mode. +* @lineout_mode: Output mode for the LOUT/ROUT pins +* @headphone_mode: Output mode for the LHP/RHP pins +* @digmic_jackdetect_pin_mode: JACKDET/MICIN pin configuration +* @jackdetect_debounce_time: Jack insertion detection debounce time. +* Note: This value will only be used, if the JACKDET/MICIN pin is configured +* for jack insertion detection. +* @jackdetect_active_low: If true the jack insertion detection is active low. +* Othwise it will be active high. +* @micbias_voltage: Microphone voltage bias +*/ +struct adau1761_platform_data { +bool input_differential; +enum adau1761_output_mode lineout_mode; +enum adau1761_output_mode headphone_mode; + +enum adau1761_digmic_jackdet_pin_mode digmic_jackdetect_pin_mode; + +enum adau1761_jackdetect_debounce_time jackdetect_debounce_time; +bool jackdetect_active_low; + +enum adau17x1_micbias_voltage micbias_voltage; +}; +#endif
sound/soc/codecs/Kconfig +16 -0
@@ -23,6 +23,8 @@ config SND_SOC_ALL_CODECS select SND_SOC_AD1980 if SND_SOC_AC97_BUS select SND_SOC_AD73311 select SND_SOC_ADAU1373 if I2C + select SND_SOC_ADAU1761_I2C if I2C + select SND_SOC_ADAU1761_SPI if SPI select SND_SOC_ADAV801 if SPI_MASTER select SND_SOC_ADAV803 if I2C select SND_SOC_ADAU1977_SPI if SPI_MASTER
@@ -226,6 +228,20 @@ config SND_SOC_ADAU17X1 tristate select SND_SOC_SIGMADSP +config SND_SOC_ADAU1761 + tristate + select SND_SOC_ADAU17X1 + +config SND_SOC_ADAU1761_I2C + tristate + select SND_SOC_ADAU1761 + select REGMAP_I2C + +config SND_SOC_ADAU1761_SPI + tristate + select SND_SOC_ADAU1761 + select REGMAP_SPI + config SND_SOC_ADAU1977 tristate
sound/soc/codecs/Makefile +6 -0
@@ -10,6 +10,9 @@ snd-soc-ad73311-objs := ad73311.o snd-soc-adau1373-objs := adau1373.o snd-soc-adau1701-objs := adau1701.o snd-soc-adau17x1-objs := adau17x1.o +snd-soc-adau1761-objs := adau1761.o +snd-soc-adau1761-i2c-objs := adau1761-i2c.o +snd-soc-adau1761-spi-objs := adau1761-spi.o snd-soc-adau1977-objs := adau1977.o snd-soc-adau1977-spi-objs := adau1977-spi.o snd-soc-adau1977-i2c-objs := adau1977-i2c.o
@@ -165,6 +168,9 @@ obj-$(CONFIG_SND_SOC_AD73311) += snd-soc-ad73311.o obj-$(CONFIG_SND_SOC_ADAU1373) += snd-soc-adau1373.o obj-$(CONFIG_SND_SOC_ADAU1701) += snd-soc-adau1701.o obj-$(CONFIG_SND_SOC_ADAU17X1) += snd-soc-adau17x1.o +obj-$(CONFIG_SND_SOC_ADAU1761) += snd-soc-adau1761.o +obj-$(CONFIG_SND_SOC_ADAU1761_I2C) += snd-soc-adau1761-i2c.o +obj-$(CONFIG_SND_SOC_ADAU1761_SPI) += snd-soc-adau1761-spi.o obj-$(CONFIG_SND_SOC_ADAU1977) += snd-soc-adau1977.o obj-$(CONFIG_SND_SOC_ADAU1977_SPI) += snd-soc-adau1977-spi.o obj-$(CONFIG_SND_SOC_ADAU1977_I2C) += snd-soc-adau1977-i2c.o
sound/soc/codecs/adau1761-i2c.c new file +60 -0
60 lines not on this page · raw message
sound/soc/codecs/adau1761-spi.c new file +77 -0
77 lines not on this page · raw message
sound/soc/codecs/adau1761.c new file +803 -0
803 lines not on this page · raw message
sound/soc/codecs/adau1761.h new file +23 -0
@@ -0,0 +1,23 @@ +/* +* ADAU1361/ADAU1461/ADAU1761/ADAU1961 driver +* +* Copyright 2014 Analog Devices Inc. +* Author: Lars-Peter Clausen <[email protected]> +* +* Licensed under the GPL-2. +*/ + +#ifndef __SOUND_SOC_CODECS_ADAU1761_H__ +#define __SOUND_SOC_CODECS_ADAU1761_H__ + +#include <linux/regmap.h> +#include "adau17x1.h" + +struct device ; + +int adau1761_probe (struct device *dev,struct regmap *regmap, +enum adau17x1_type type,void (*switch_mode)(struct device *dev)); + +extern const struct regmap_config adau1761_regmap_config; + +#endif
Signature · 1 line
1.8.0
Lars-Peter Clausen
maintainerPATCH 3/5 ASoC: Add ADAU1381/ADAU1781 audio CODEC support
In reply to Lars-Peter ClausenThis patch adds support for the Analog Devices ADAU1381 and ADAU1781 audio CODECs. The device is a low-power, 24-bit stereo audio CODEC with multiple analog inputs and outputs, two digital microphone inputs and an I2S interface. The device can be controlled either using I2C or SPI. The main difference between the two variants is that the ADAU1781 has a freely programmable SigmaDSP processor, while the ADAU1381 has a fixed function wind noise reduction filter.
--- include/linux/platform_data/adau17x1.h | 19 ++ sound/soc/codecs/Kconfig | 16 ++ sound/soc/codecs/Makefile | 6 + sound/soc/codecs/adau1781-i2c.c | 58 ++++ sound/soc/codecs/adau1781-spi.c | 75 +++++ sound/soc/codecs/adau1781.c | 511 +++++++++++++++++++++++++++++++++ sound/soc/codecs/adau1781.h | 23 ++ 7 files changed, 708 insertions(+) create mode 100644 sound/soc/codecs/adau1781-i2c.c create mode 100644 sound/soc/codecs/adau1781-spi.c create mode 100644 sound/soc/codecs/adau1781.c create mode 100644 sound/soc/codecs/adau1781.h
include/linux/platform_data/adau17x1.h +19 -0
@@ -87,4 +87,23 @@ struct adau1761_platform_data { enum adau17x1_micbias_voltage micbias_voltage; }; +/** +* struct adau1781_platform_data - ADAU1781 Codec driver platform data +* @left_input_differential: If true configure the left input as +* differential input. +* @right_input_differential: If true configure the right input as differntial +* input. +* @use_dmic: If true configure the MIC pins as digital microphone pins instead +* of analog microphone pins. +* @micbias_voltage: Microphone voltage bias +*/ +struct adau1781_platform_data { +bool left_input_differential; +bool right_input_differential; + +bool use_dmic; + +enum adau17x1_micbias_voltage micbias_voltage; +}; +#endif
sound/soc/codecs/Kconfig +16 -0
@@ -25,6 +25,8 @@ config SND_SOC_ALL_CODECS select SND_SOC_ADAU1373 if I2C select SND_SOC_ADAU1761_I2C if I2C select SND_SOC_ADAU1761_SPI if SPI + select SND_SOC_ADAU1781_I2C if I2C + select SND_SOC_ADAU1781_SPI if SPI select SND_SOC_ADAV801 if SPI_MASTER select SND_SOC_ADAV803 if I2C select SND_SOC_ADAU1977_SPI if SPI_MASTER
@@ -242,6 +244,20 @@ config SND_SOC_ADAU1761_SPI select SND_SOC_ADAU1761 select REGMAP_SPI +config SND_SOC_ADAU1781 + select SND_SOC_ADAU17X1 + tristate + +config SND_SOC_ADAU1781_I2C + tristate + select SND_SOC_ADAU1781 + select REGMAP_I2C + +config SND_SOC_ADAU1781_SPI + tristate + select SND_SOC_ADAU1781 + select REGMAP_SPI + config SND_SOC_ADAU1977 tristate
sound/soc/codecs/Makefile +6 -0
@@ -13,6 +13,9 @@ snd-soc-adau17x1-objs := adau17x1.o snd-soc-adau1761-objs := adau1761.o snd-soc-adau1761-i2c-objs := adau1761-i2c.o snd-soc-adau1761-spi-objs := adau1761-spi.o +snd-soc-adau1781-objs := adau1781.o +snd-soc-adau1781-i2c-objs := adau1781-i2c.o +snd-soc-adau1781-spi-objs := adau1781-spi.o snd-soc-adau1977-objs := adau1977.o snd-soc-adau1977-spi-objs := adau1977-spi.o snd-soc-adau1977-i2c-objs := adau1977-i2c.o
@@ -171,6 +174,9 @@ obj-$(CONFIG_SND_SOC_ADAU17X1) += snd-soc-adau17x1.o obj-$(CONFIG_SND_SOC_ADAU1761) += snd-soc-adau1761.o obj-$(CONFIG_SND_SOC_ADAU1761_I2C) += snd-soc-adau1761-i2c.o obj-$(CONFIG_SND_SOC_ADAU1761_SPI) += snd-soc-adau1761-spi.o +obj-$(CONFIG_SND_SOC_ADAU1781) += snd-soc-adau1781.o +obj-$(CONFIG_SND_SOC_ADAU1781_I2C) += snd-soc-adau1781-i2c.o +obj-$(CONFIG_SND_SOC_ADAU1781_SPI) += snd-soc-adau1781-spi.o obj-$(CONFIG_SND_SOC_ADAU1977) += snd-soc-adau1977.o obj-$(CONFIG_SND_SOC_ADAU1977_SPI) += snd-soc-adau1977-spi.o obj-$(CONFIG_SND_SOC_ADAU1977_I2C) += snd-soc-adau1977-i2c.o
sound/soc/codecs/adau1781-i2c.c new file +58 -0
58 lines not on this page · raw message
sound/soc/codecs/adau1781-spi.c new file +75 -0
75 lines not on this page · raw message
sound/soc/codecs/adau1781.c new file +511 -0
511 lines not on this page · raw message
sound/soc/codecs/adau1781.h new file +23 -0
@@ -0,0 +1,23 @@ +/* +* ADAU1381/ADAU1781 driver +* +* Copyright 2014 Analog Devices Inc. +* Author: Lars-Peter Clausen <[email protected]> +* +* Licensed under the GPL-2. +*/ + +#ifndef __SOUND_SOC_CODECS_ADAU1781_H__ +#define __SOUND_SOC_CODECS_ADAU1781_H__ + +#include <linux/regmap.h> +#include "adau17x1.h" + +struct device ; + +int adau1781_probe (struct device *dev,struct regmap *regmap, +enum adau17x1_type type,void (*switch_mode)(struct device *dev)); + +extern const struct regmap_config adau1781_regmap_config; + +#endif
Signature · 1 line
1.8.0
Lars-Peter Clausen
maintainerPATCH 4/5 ASoC: Blackfin: ADAU1X61 eval board support
In reply to Lars-Peter ClausenThis patch adds a ASoC machine driver to support the EVAL-ADAU1X61 board connected to a Analog Devices BF5XX evaluation board.
--- sound/soc/blackfin/Kconfig | 13 +++ sound/soc/blackfin/Makefile | 2 + sound/soc/blackfin/bfin-eval-adau1x61.c | 142 ++++++++++++++++++++++++++++++++ 3 files changed, 157 insertions(+) create mode 100644 sound/soc/blackfin/bfin-eval-adau1x61.c
sound/soc/blackfin/Kconfig +13 -0
@@ -43,6 +43,19 @@ config SND_SOC_BFIN_EVAL_ADAU1373 Note: This driver assumes that first ADAU1373 DAI is connected to the first SPORT port on the BF5XX board. +config SND_SOC_BFIN_EVAL_ADAU1X61 + tristate "Support for the EVAL-ADAU1X61 board on Blackfin eval boards" + depends on SND_BF5XX_I2S && I2C + select SND_BF5XX_SOC_I2S + select SND_SOC_ADAU1761_I2C + help + Say Y if you want to add support for the Analog Devices EVAL-ADAU1X61 + board connected to one of the Blackfin evaluation boards like the + BF5XX-STAMP or BF5XX-EZKIT. + + Note: This driver assumes that the ADAU1X61 is connected to the + first SPORT port on the BF5XX board. + config SND_SOC_BFIN_EVAL_ADAV80X tristate "Support for the EVAL-ADAV80X boards on Blackfin eval boards" depends on SND_BF5XX_I2S && SND_SOC_I2C_AND_SPI
sound/soc/blackfin/Makefile +2 -0
@@ -22,6 +22,7 @@ snd-ssm2602-objs := bf5xx-ssm2602.o snd-ad73311-objs := bf5xx-ad73311.o snd-ad193x-objs := bf5xx-ad193x.o snd-soc-bfin-eval-adau1373-objs := bfin-eval-adau1373.o +snd-soc-bfin-eval-adau1x61-objs := bfin-eval-adau1x61.o snd-soc-bfin-eval-adau1701-objs := bfin-eval-adau1701.o snd-soc-bfin-eval-adav80x-objs := bfin-eval-adav80x.o
@@ -31,5 +32,6 @@ obj-$(CONFIG_SND_BF5XX_SOC_SSM2602) += snd-ssm2602.o obj-$(CONFIG_SND_BF5XX_SOC_AD73311) += snd-ad73311.o obj-$(CONFIG_SND_BF5XX_SOC_AD193X) += snd-ad193x.o obj-$(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373) += snd-soc-bfin-eval-adau1373.o +obj-$(CONFIG_SND_SOC_BFIN_EVAL_ADAU1X61) += snd-soc-bfin-eval-adau1x61.o obj-$(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701) += snd-soc-bfin-eval-adau1701.o obj-$(CONFIG_SND_SOC_BFIN_EVAL_ADAV80X) += snd-soc-bfin-eval-adav80x.o
sound/soc/blackfin/bfin-eval-adau1x61.c new file +142 -0
142 lines not on this page · raw message
Signature · 1 line
1.8.0
Lars-Peter Clausen
maintainerPATCH 5/5 ASoC: Blackfin: ADAU1X81 eval board support
In reply to Lars-Peter ClausenThis patch adds a ASoC machine driver to support the EVAL-ADAU1X81 board connected to a Analog Devices BF5XX evaluation board.
--- sound/soc/blackfin/Kconfig | 13 ++++ sound/soc/blackfin/Makefile | 2 + sound/soc/blackfin/bfin-eval-adau1x81.c | 130 ++++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+) create mode 100644 sound/soc/blackfin/bfin-eval-adau1x81.c
sound/soc/blackfin/Kconfig +13 -0
@@ -56,6 +56,19 @@ config SND_SOC_BFIN_EVAL_ADAU1X61 Note: This driver assumes that the ADAU1X61 is connected to the first SPORT port on the BF5XX board. +config SND_SOC_BFIN_EVAL_ADAU1X81 + tristate "Support for the EVAL-ADAU1X81 boards on Blackfin eval boards" + depends on SND_BF5XX_I2S && I2C + select SND_BF5XX_SOC_I2S + select SND_SOC_ADAU1781_I2C + help + Say Y if you want to add support for the Analog Devices EVAL-ADAU1X81 + board connected to one of the Blackfin evaluation boards like the + BF5XX-STAMP or BF5XX-EZKIT. + + Note: This driver assumes that the ADAU1X81 is connected to the + first SPORT port on the BF5XX board. + config SND_SOC_BFIN_EVAL_ADAV80X tristate "Support for the EVAL-ADAV80X boards on Blackfin eval boards" depends on SND_BF5XX_I2S && SND_SOC_I2C_AND_SPI
sound/soc/blackfin/Makefile +2 -0
@@ -23,6 +23,7 @@ snd-ad73311-objs := bf5xx-ad73311.o snd-ad193x-objs := bf5xx-ad193x.o snd-soc-bfin-eval-adau1373-objs := bfin-eval-adau1373.o snd-soc-bfin-eval-adau1x61-objs := bfin-eval-adau1x61.o +snd-soc-bfin-eval-adau1x81-objs := bfin-eval-adau1x81.o snd-soc-bfin-eval-adau1701-objs := bfin-eval-adau1701.o snd-soc-bfin-eval-adav80x-objs := bfin-eval-adav80x.o
@@ -33,5 +34,6 @@ obj-$(CONFIG_SND_BF5XX_SOC_AD73311) += snd-ad73311.o obj-$(CONFIG_SND_BF5XX_SOC_AD193X) += snd-ad193x.o obj-$(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373) += snd-soc-bfin-eval-adau1373.o obj-$(CONFIG_SND_SOC_BFIN_EVAL_ADAU1X61) += snd-soc-bfin-eval-adau1x61.o +obj-$(CONFIG_SND_SOC_BFIN_EVAL_ADAU1X81) += snd-soc-bfin-eval-adau1x81.o obj-$(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701) += snd-soc-bfin-eval-adau1701.o obj-$(CONFIG_SND_SOC_BFIN_EVAL_ADAV80X) += snd-soc-bfin-eval-adav80x.o
sound/soc/blackfin/bfin-eval-adau1x81.c new file +130 -0
130 lines not on this page · raw message
Signature · 1 line
1.8.0
Quoted 3 lines · Lars-Peter Clausen
The ADAU1X61 and ADAU1X81 are very similar in the digital domain, but are quite different in the analog domain. This patch adds support for the common parts of the ADAU1X61 and ADAU1X81 CODECs.
Applied all, thanks. We really ought to be able to get simple card to be able to set up the PLLs for the cards but that's a separate issue.
As ever please try to keep the lines on your commit messages a little shorter.
Quoted 1 line · Mark Brown
As ever please try to keep the lines on your commit messages a little shorter.
I ended up adding following into my ~/.vimrc after accidentally creating commit message couple times in a wider terminal:
autocmd Filetype gitcommit set textwidth=76
Not sure is that possible to do independently from editor.
Signature · 1 line
Jarkko