[PATCH 1/4] spi: pl022: Align compatible property with device tree binding

Stefan Herbrechtsmeier stefan.herbrechtsmeier-oss at weidmueller.com
Fri Apr 28 14:38:47 CEST 2023


From: Lukas Funke <lukas.funke at weidmueller.com>

Align the compatible property with the kernel device tree binding [1]
by removing the '-spi' suffix.

[1] https://www.kernel.org/doc/Documentation/devicetree/bindings/spi/spi-pl022.yaml

Signed-off-by: Lukas Funke <lukas.funke at weidmueller.com>
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
---

 drivers/spi/pl022_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/pl022_spi.c b/drivers/spi/pl022_spi.c
index 828eab3d34..2986c4eb5a 100644
--- a/drivers/spi/pl022_spi.c
+++ b/drivers/spi/pl022_spi.c
@@ -307,7 +307,7 @@ static int pl022_spi_of_to_plat(struct udevice *bus)
 }
 
 static const struct udevice_id pl022_spi_ids[] = {
-	{ .compatible = "arm,pl022-spi" },
+	{ .compatible = "arm,pl022" },
 	{ }
 };
 #endif
-- 
2.30.2



More information about the U-Boot mailing list