[PATCH] ASoC: fsl_sai: Don't use devm_regmap_init_mmio_clk
Guenter Roeck
linux at roeck-us.net
Mon Apr 12 17:52:59 CEST 2021
On 4/12/21 3:37 AM, Shengjiu Wang wrote:
[ ... ]
> The SAI module is not supported in QEMU, so the access of the register
> failed.
>
> you can add bypass the access in QEMU, for example:
>
> diff --git a/hw/arm/fsl-imx6ul.c b/hw/arm/fsl-imx6ul.c
> index e0128d7316..62f7bd92a4 100644
> --- a/hw/arm/fsl-imx6ul.c
> +++ b/hw/arm/fsl-imx6ul.c
> @@ -534,6 +534,10 @@ static void fsl_imx6ul_realize(DeviceState *dev,
> Error **errp)
> */
> create_unimplemented_device("sdma", FSL_IMX6UL_SDMA_ADDR, 0x4000);
>
> + create_unimplemented_device("sai1", 0x02028000, 0x4000);
> + create_unimplemented_device("sai2", 0x0202c000, 0x4000);
> + create_unimplemented_device("sai3", 0x02030000, 0x4000);
>
Ah, yes, that takes care of the problem.
Thanks, and sorry for the noise.
Guenter
More information about the Alsa-devel
mailing list