spi: nxp_fspi: Add i.MX8MP compatible string
authorMarek Vasut <marex@denx.de>
Wed, 9 Mar 2022 03:18:57 +0000 (04:18 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 19:08:23 +0000 (21:08 +0200)
The i.MX8M Mini and i.MX8M Plus flexspi IPs are compatible with one
another, however the linux kernel DT uses separate compatible string
for each SoC. Add the missing i.MX8MP compatible into this driver.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/spi/nxp_fspi.c

index b7c922b..607c953 100644 (file)
@@ -1053,6 +1053,7 @@ static const struct dm_spi_ops nxp_fspi_ops = {
 static const struct udevice_id nxp_fspi_ids[] = {
        { .compatible = "nxp,lx2160a-fspi", .data = (ulong)&lx2160a_data, },
        { .compatible = "nxp,imx8mm-fspi", .data = (ulong)&imx8mm_data, },
+       { .compatible = "nxp,imx8mp-fspi", .data = (ulong)&imx8mm_data, },
        { }
 };