linux/sound/soc/sunxi
Samuel Holland 7a6b937ec4
ASoC: sun8i-codec: Generalize AIF clock control
The AIF clock control register has the same layout for all three AIFs.
The only difference between them is that AIF3 is missing some fields. We
can reuse the same register field definitions for all three registers,
and use the DAI ID to select the correct register address.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20201014061941.4306-16-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-10-26 14:57:04 +00:00
..
Kconfig ASoC: sun8i-codec: Protect the clock rate while streams are open 2020-10-26 14:57:01 +00:00
Makefile ASoC: sunxi: Add new driver for Allwinner A64 codec's analog path controls 2018-10-17 11:11:01 +01:00
sun4i-codec.c ASoC: various vendors: delete repeated words in comments 2020-08-18 14:52:32 +01:00
sun4i-i2s.c ASoC: sunxi: sun4i-i2s: add missing clock and format arguments in kernel-doc 2020-07-10 15:13:46 +01:00
sun4i-spdif.c ASoC: sunxi: use asoc_substream_to_rtd() 2020-07-23 19:07:23 +01:00
sun8i-adda-pr-regmap.c ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-adda-pr-regmap.h ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-codec-analog.c ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:09:02 +01:00
sun8i-codec.c ASoC: sun8i-codec: Generalize AIF clock control 2020-10-26 14:57:04 +00:00
sun50i-codec-analog.c ASoC: sun50i-codec-analog: Enable DAPM for earpiece switch 2020-08-17 16:19:17 +01:00