Skip to contentSkip to conversation

spi: nxp_fspi: Add i.MX8MP compatible string

PATCH In review Marek Vasut 3 participants 3 messages Mar 9, 2022 – Apr 12, 2022 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: nxp_fspi: Add i.MX8MP compatible string

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.

Cc Fabio Estevam <[email protected]>
Cc Peng Fan <[email protected]>
Cc Stefano Babic <[email protected]>
---
 drivers/spi/nxp_fspi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/spi/nxp_fspi.c +1 -0
index b7c922b1dfd..607c953987b 100644
@@ -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, },
 	{ }
 };
 
Signature · 1 line
2.34.1
Reviewed-by Peng Fan on v1 1/1
#1 lore raw
Quoted 8 lines · Marek Vasut

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.

Cc Fabio Estevam <[email protected]>
Cc Peng Fan <[email protected]>
Cc Stefano Babic <[email protected]>
Quoted 17 lines
---
  drivers/spi/nxp_fspi.c | 1 +
  1 file changed, 1 insertion(+)
drivers/spi/nxp_fspi.c +1 -0
index b7c922b1dfd..607c953987b 100644
@@ -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, },
  	{ }
  };
 
#2 lore raw

PATCH 1/1 spi: nxp_fspi: Add i.MX8MP compatible string

In reply to Marek Vasut
Quoted 8 lines

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.

Cc Fabio Estevam <[email protected]>
Cc Peng Fan <[email protected]>
Cc Stefano Babic <[email protected]>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================