lede/target/linux/generic/pending-6.1/130-add-linux-spidev-compatible-si3210.patch
lovehackintosh 26b859543a
kernel: bump to 5.10.166, 5.15.91, 6.1.9 (#10842)
* kernel: bump 5.15 to 5.15.91

* kernel: bump 6.1 to 6.1.9

* kernel: bump 5.10 to 5.10.166
2023-02-01 18:21:28 +08:00

19 lines
683 B
Diff

From: Giuseppe Lippolis <giu.lippolis@gmail.com>
Subject: Add the linux,spidev compatible in spidev Several device in ramips have this binding in the dts
Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
---
drivers/spi/spidev.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -726,6 +726,7 @@ static const struct of_device_id spidev_
{ .compatible = "menlo,m53cpld", .data = &spidev_of_check },
{ .compatible = "cisco,spi-petra", .data = &spidev_of_check },
{ .compatible = "micron,spi-authenta", .data = &spidev_of_check },
+ { .compatible = "siliconlabs,si3210" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);