The revision of the imx-sdma IP that is in the i.MX8M series is the same is that as that in the i.MX7 series but the imx7d MODULE_FIRMWARE directive is wrapped in a condiditional which means it's not defined when built for aarch64 SOC_IMX8M platforms and hence you get the following errors when the driver loads on imx8m devices: imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2 imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware Add the SOC_IMX8M into the check so the firmware can load on i.MX8.
Unified · Split
| @@ -2346,7 +2346,7 @@ MODULE_DESCRIPTION("i.MX SDMA driver"); · 2345 unmodified lines | |||
| 2346 | #if IS_ENABLED(CONFIG_SOC_IMX6Q) | 2346 | #if IS_ENABLED(CONFIG_SOC_IMX6Q) |
| 2347 | MODULE_FIRMWARE("imx/sdma/sdma-imx6q.bin"); | 2347 | MODULE_FIRMWARE("imx/sdma/sdma-imx6q.bin"); |
| 2348 | #endif | 2348 | #endif |
| 2349 | #if IS_ENABLED(CONFIG_SOC_IMX7D) | 2349 | #if IS_ENABLED(CONFIG_SOC_IMX7D) || IS_ENABLED(CONFIG_SOC_IMX8M) |
| 2350 | MODULE_FIRMWARE("imx/sdma/sdma-imx7d.bin"); | 2350 | MODULE_FIRMWARE("imx/sdma/sdma-imx7d.bin"); |
| 2351 | #endif | 2351 | #endif |
| 2352 | MODULE_LICENSE("GPL"); | 2352 | MODULE_LICENSE("GPL"); |