Lines Matching +full:spi +full:- +full:based
1 // SPDX-License-Identifier: GPL-2.0-only
3 * ALSA SoC TLV320AIC23 codec driver SPI interface
8 * Based on sound/soc/codecs/wm8731.c by Richard Purdie
13 #include <linux/spi/spi.h>
18 static int aic23_spi_probe(struct spi_device *spi) in aic23_spi_probe() argument
23 dev_dbg(&spi->dev, "probing tlv320aic23 spi device\n"); in aic23_spi_probe()
25 spi->mode = SPI_MODE_0; in aic23_spi_probe()
26 ret = spi_setup(spi); in aic23_spi_probe()
30 regmap = devm_regmap_init_spi(spi, &tlv320aic23_regmap); in aic23_spi_probe()
31 return tlv320aic23_probe(&spi->dev, regmap); in aic23_spi_probe()
43 MODULE_DESCRIPTION("ASoC TLV320AIC23 codec driver SPI");