2024-10-31 09:09:44 +00:00
|
|
|
From ba0f2212e0e100ee16bdde76b7efca6bb8ee9446 Mon Sep 17 00:00:00 2001
|
2024-05-10 11:19:19 +00:00
|
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
|
|
Date: Mon, 29 Nov 2021 12:14:49 +0000
|
2024-10-31 09:09:44 +00:00
|
|
|
Subject: [PATCH 1232/1350] spi: spidev: Restore loading from Device Tree
|
2024-05-10 11:19:19 +00:00
|
|
|
|
|
|
|
As happens occasionally, an upstream change has once again prevented
|
|
|
|
spidev from being loaded via Device Tree. We now need "spidev" to be
|
|
|
|
included in the new spi_device_id list, otherwise although the
|
|
|
|
spidev driver gets loaded no /dev/spidev*.* entries will appear.
|
|
|
|
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
|
|
---
|
|
|
|
drivers/spi/spidev.c | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
--- a/drivers/spi/spidev.c
|
|
|
|
+++ b/drivers/spi/spidev.c
|
2024-10-31 09:09:44 +00:00
|
|
|
@@ -711,6 +711,7 @@ static const struct spi_device_id spidev
|
|
|
|
{ .name = "spi-authenta" },
|
|
|
|
{ .name = "em3581" },
|
|
|
|
{ .name = "si3210" },
|
2024-05-10 11:19:19 +00:00
|
|
|
+ { .name = "spidev" },
|
2024-10-31 09:09:44 +00:00
|
|
|
{},
|
|
|
|
};
|
|
|
|
MODULE_DEVICE_TABLE(spi, spidev_spi_ids);
|