Thread (5 messages) flat view 5 messages, 4 authors, 2021-04-12

Re: [PATCH] ASoC: fsl_sai: Don't use devm_regmap_init_mmio_clk

From: Guenter Roeck <linux@roeck-us.net>
Date: 2021-04-12 15:53:10
Also in: alsa-devel, lkml

On 4/12/21 3:37 AM, Shengjiu Wang wrote:
[ ... ]
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help