lede/target/linux/generic/pending-5.4/130-add-linux-spidev-compatible-si3210.patch
aakkll bb99eaf39c
kernel: bump 5.4 to 5.4.231 (#10881)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2023-02-07 11:40:27 +08:00

19 lines
592 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
@@ -687,6 +687,7 @@ static const struct of_device_id spidev_
{ .compatible = "lwn,bk4" },
{ .compatible = "dh,dhcom-board" },
{ .compatible = "menlo,m53cpld" },
+ { .compatible = "siliconlabs,si3210" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);