[alsa-devel] [PATCH] ASoC: tlv320aic32x4: Add SPI support
Mark Brown
broonie at kernel.org
Mon Apr 18 12:35:54 CEST 2016
On Fri, Apr 15, 2016 at 11:30:59AM -0700, Jeremy McDermond wrote:
> The TLV320AIC32x4 support the control channel over either SPI or I2C.
> Added the proper interfacing with regmap to make the driver able to
> handle either possibility.
>
> Signed-off-by: Jeremy McDermond <nh6z at nh6z.net>
> ---
> sound/soc/codecs/Kconfig | 5 +-
> sound/soc/codecs/tlv320aic32x4.c | 181 +++++++++++++++++++++++++++++++++++----
> 2 files changed, 165 insertions(+), 21 deletions(-)
Instead of putting everything in one file please split the driver so it
has separate core and I2C modules and then add a SPI module like we do
for newer drivers.
> config SND_SOC_TLV320AIC32X4
> - tristate
> + tristate "Texas Instruments TLV320AIC32x4 CODECs"
> + depends on SND_SOC_I2C_AND_SPI
Making the driver directly user selectable is a separate change and
should be in a separate patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160418/ca3116d7/attachment-0001.sig>
More information about the Alsa-devel
mailing list