[PATCH] spi: spidev: Add compatible for external SPI ports on Kontron boards
From: Schrempf Frieder
Date: Thu Jul 02 2020 - 10:21:11 EST
From: Frieder Schrempf <frieder.schrempf@xxxxxxxxxx>
Allow external SPI ports on Kontron boards to use the spidev driver.
Signed-off-by: Frieder Schrempf <frieder.schrempf@xxxxxxxxxx>
---
drivers/spi/spidev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 59e07675ef86..058b08a3767d 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -677,6 +677,7 @@ static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "lwn,bk4" },
{ .compatible = "dh,dhcom-board" },
{ .compatible = "menlo,m53cpld" },
+ { .compatible = "kontron,user-spi" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);
--
2.17.1