[PATCH v2] ASoC: kirkwood: enable Kirkwood driver for Armada 38x platforms
Andrew Lunn
andrew at lunn.ch
Mon Sep 26 21:08:11 CEST 2022
On Mon, Sep 26, 2022 at 01:05:33PM +0200, Pali Rohár wrote:
> From: Marcin Wojtas <mw at semihalf.com>
>
> The audio unit of Marvell Armada38x SoC is similar to the ones comprised by
> other Marvell SoCs (Kirkwood, Dove and Armada 370). Therefore KW audio
> driver can be used to support it and this commit adds new compatible string
> to identify Armada 38x variant.
>
> Two new memory regions are added: first one for PLL configuration and
> the second one for choosing one of audio I/O modes (I2S or S/PDIF).
> For the latter purpose a new optional DT property is added ('spdif-mode').
>
> kirkwood-i2s driver is extended by adding a new init function for Armada
> 38x flavor and also a routine that enables PLL output (i.e. MCLK)
> configuration.
>
> Signed-off-by: Marcin Wojtas <mw at semihalf.com>
> Tested-by: Star_Automation <star at marvell.com>
> Reviewed-by: Nadav Haklai <nadavh at marvell.com>
> Reviewed-by: Lior Amsalem <alior at marvell.com>
> Tested-by: Lior Amsalem <alior at marvell.com>
> Signed-off-by: Hezi Shahmoon <hezi at marvell.com>
> Reviewed-by: Neta Zur Hershkovits <neta at marvell.com>
> [pali: Fix support for pre-38x SoCs]
> Signed-off-by: Pali Rohár <pali at kernel.org>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Andrew
More information about the Alsa-devel
mailing list