aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/jz4740/Kconfig
diff options
context:
space:
mode:
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>2022-10-23 15:33:21 +0100
committerMark Brown <broonie@kernel.org>2022-10-26 14:18:14 +0100
commitcf375e693252f4e8ecb6256af631ff381381a3dd (patch)
treed3b12e54b2c2589c555483718e5522dafe59daa6 /sound/soc/jz4740/Kconfig
parentASoC: jz4740-i2s: Handle independent FIFO flush bits (diff)
downloadwireguard-linux-cf375e693252f4e8ecb6256af631ff381381a3dd.tar.xz
wireguard-linux-cf375e693252f4e8ecb6256af631ff381381a3dd.zip
ASoC: jz4740-i2s: Convert to regmap API
Using regmap for accessing the AIC registers makes the driver a little easier to read, and later refactors can take advantage of regmap APIs to further simplify the driver. Reviewed-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com> Link: https://lore.kernel.org/r/20221023143328.160866-3-aidanmacdonald.0x0@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/jz4740/Kconfig')
-rw-r--r--sound/soc/jz4740/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/jz4740/Kconfig b/sound/soc/jz4740/Kconfig
index e72f826062e9..dd3b4507fbe6 100644
--- a/sound/soc/jz4740/Kconfig
+++ b/sound/soc/jz4740/Kconfig
@@ -3,6 +3,7 @@ config SND_JZ4740_SOC_I2S
tristate "SoC Audio (I2S protocol) for Ingenic JZ4740 SoC"
depends on MIPS || COMPILE_TEST
depends on HAS_IOMEM
+ select REGMAP_MMIO
select SND_SOC_GENERIC_DMAENGINE_PCM
help
Say Y if you want to use I2S protocol and I2S codec on Ingenic JZ4740