2024-06-17 23:43:47 +00:00
|
|
|
From c67d90e058550403a3e6f9b05bfcdcfa12b1815c Mon Sep 17 00:00:00 2001
|
2023-01-01 19:16:08 +00:00
|
|
|
From: Vincent Tremblay <vincent@vtremblay.dev>
|
2024-06-17 23:43:47 +00:00
|
|
|
Date: Mon, 26 Dec 2022 21:35:48 -0500
|
|
|
|
Subject: [PATCH] spidev: Add Silicon Labs EM3581 device compatible
|
2023-01-01 19:16:08 +00:00
|
|
|
|
|
|
|
Add compatible string for Silicon Labs EM3581 device.
|
|
|
|
|
|
|
|
Signed-off-by: Vincent Tremblay <vincent@vtremblay.dev>
|
2024-06-17 23:43:47 +00:00
|
|
|
Link: https://lore.kernel.org/r/20221227023550.569547-2-vincent@vtremblay.dev
|
|
|
|
Signed-off-by: Mark Brown <broonie@kernel.org>
|
2023-01-01 19:16:08 +00:00
|
|
|
---
|
|
|
|
drivers/spi/spidev.c | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
--- a/drivers/spi/spidev.c
|
|
|
|
+++ b/drivers/spi/spidev.c
|
2023-02-01 20:37:19 +00:00
|
|
|
@@ -691,6 +691,7 @@ static const struct spi_device_id spidev
|
2023-01-01 19:16:08 +00:00
|
|
|
{ .name = "m53cpld" },
|
|
|
|
{ .name = "spi-petra" },
|
|
|
|
{ .name = "spi-authenta" },
|
|
|
|
+ { .name = "em3581" },
|
|
|
|
{},
|
|
|
|
};
|
|
|
|
MODULE_DEVICE_TABLE(spi, spidev_spi_ids);
|
2023-02-01 20:37:19 +00:00
|
|
|
@@ -705,6 +706,7 @@ static const struct of_device_id spidev_
|
2023-01-01 19:16:08 +00:00
|
|
|
{ .compatible = "menlo,m53cpld" },
|
|
|
|
{ .compatible = "cisco,spi-petra" },
|
|
|
|
{ .compatible = "micron,spi-authenta" },
|
|
|
|
+ { .compatible = "silabs,em3581" },
|
|
|
|
{},
|
|
|
|
};
|
|
|
|
MODULE_DEVICE_TABLE(of, spidev_dt_ids);
|