]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68a2a125028a185b1c49c3e139f8eb6824890e24
tree8f4823fef28a6652497635bd73b1291fa4b9f529
parentf01b1544141adbee7fd616a7d39eff7855b4ae1b
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