[alsa-devel] [linux-sunxi] [PATCH v2 1/6] ASoC: sun4i-i2s: Add slot width override
Julian Calaby
julian.calaby at gmail.com
Tue Mar 13 12:59:58 CET 2018
Hi Marcus,
On Tue, Mar 13, 2018 at 2:57 AM, <codekipper at gmail.com> wrote:
> From: Marcus Cooper <codekipper at gmail.com>
>
> Some codecs require a different amount of a bit clocks per frame
> than what is calculated by using the sample width. Use a slot
> width override property to provide this mechanism.
>
> Signed-off-by: Marcus Cooper <codekipper at gmail.com>
> ---
> Documentation/devicetree/bindings/sound/sun4i-i2s.txt | 5 +++++
> sound/soc/sunxi/sun4i-i2s.c | 15 ++++++++++++---
> 2 files changed, 17 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt
> index b9d50d6cdef3..48addef65b8f 100644
> --- a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt
> +++ b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt
> @@ -28,6 +28,11 @@ Required properties for the following compatibles:
> - "allwinner,sun8i-h3-i2s"
> - resets: phandle to the reset line for this codec
>
> +Optional properties:
> +- allwinner,slot-width-override:if this property is present then the dai is
> + configured to extend the slot width to the
> + value specified. Min 8, Max 32.
> +
This sounds like something that would be useful for other I2S controllers.
Thanks,
--
Julian Calaby
Email: julian.calaby at gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
More information about the Alsa-devel
mailing list