ASoC: sun4i-i2s: Add support for the R329/D1 variant
authorSamuel Holland <samuel@sholland.org>
Thu, 3 Feb 2022 02:01:15 +0000 (20:01 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 3 Feb 2022 11:30:57 +0000 (11:30 +0000)
commite2ce580f1fffc009807da73adf7dc86912ab6a19
tree8f4823fef28a6652497635bd73b1291fa4b9f529
parentc8bbc1de9088fedb5d71db7d185c37db18feb2e1
ASoC: sun4i-i2s: Add support for the R329/D1 variant

This adds a new set of quirks to set the right RX channel map. Since
that is the only change to the register layout, reuse the H6 regmap
config by extending its last register. R329 support is added by its
compatible string. D1 uses R329 as its fallback compatible, so no
additional code change is needed for it.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220203020116.12279-4-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c