[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240205191808.998754-1-frut3k7@gmail.com>
Date: Mon, 5 Feb 2024 20:18:05 +0100
From: Paweł Owoc <frut3k7@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: Robert Marko <robimarko@...il.com>,
Paweł Owoc <frut3k7@...il.com>,
linux-spi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] spi: spidev: Add Qualcomm spidev device compatible
Add compatible string for Qualcomm spidev device (used for QCA4024).
Signed-off-by: Paweł Owoc <frut3k7@...il.com>
---
drivers/spi/spidev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 655f2c959cd4..00bcb77ee597 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -710,6 +710,7 @@ static const struct spi_device_id spidev_spi_ids[] = {
{ .name = "spi-authenta" },
{ .name = "em3581" },
{ .name = "si3210" },
+ { .name = "spidev" },
{},
};
MODULE_DEVICE_TABLE(spi, spidev_spi_ids);
@@ -734,6 +735,7 @@ static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "lwn,bk4", .data = &spidev_of_check },
{ .compatible = "menlo,m53cpld", .data = &spidev_of_check },
{ .compatible = "micron,spi-authenta", .data = &spidev_of_check },
+ { .compatible = "qca,spidev", .data = &spidev_of_check },
{ .compatible = "rohm,dh2228fv", .data = &spidev_of_check },
{ .compatible = "semtech,sx1301", .data = &spidev_of_check },
{ .compatible = "silabs,em3581", .data = &spidev_of_check },
--
2.43.0
Powered by blists - more mailing lists