]> 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)
commitfb8af4d02768b619edb9b88a19e783b2442d24fe
tree8f4823fef28a6652497635bd73b1291fa4b9f529
parent978dc82a236316501ae0a3d6fd7b8d4f949c361e
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