ASoC: sun8i-codec: Support the TDM slot binding
authorSamuel Holland <samuel@sholland.org>
Wed, 14 Oct 2020 06:19:31 +0000 (01:19 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 26 Oct 2020 14:56:57 +0000 (14:56 +0000)
commitafb1a6006299a8b6b5ad04363fd74aa66a6ac79b
tree2e01acfb3a44c5b60d0aeba2ef87ef954e83278b
parent68a4f2caaa17ce62890c51ef957dd008c2e42aae
ASoC: sun8i-codec: Support the TDM slot binding

Now that BCLK and LRCK rate calculations in the driver can handle any
hardware-supported slot width and number of slots, allow overriding
those parameters from the device tree.

Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20201014061941.4306-8-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c