From: Maud Spierings <maudspieri...@gocontroll.com>

The main point of the Moduline series of embedded controllers is its
ecosystem of IO modules, these are currently operated through the spidev
interface. Ideally there will be a full dedicated driver in the future.

Add the gocontroll moduline-module-slot device to enable the required
spidev interface.

Signed-off-by: Maud Spierings <maudspieri...@gocontroll.com>
---
 drivers/spi/spidev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 
58ae4304fdab155748e66117f7ceb050da95afed..6108959c28d9c7505be63583e8206519275663ba
 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -706,6 +706,7 @@ static const struct spi_device_id spidev_spi_ids[] = {
        { .name = /* cisco */ "spi-petra" },
        { .name = /* dh */ "dhcom-board" },
        { .name = /* elgin */ "jg10309-01" },
+       { .name = /* gocontroll */ "moduline-module-slot"},
        { .name = /* lineartechnology */ "ltc2488" },
        { .name = /* lwn */ "bk4" },
        { .name = /* lwn */ "bk4-spi" },
@@ -737,6 +738,7 @@ static const struct of_device_id spidev_dt_ids[] = {
        { .compatible = "cisco,spi-petra", .data = &spidev_of_check },
        { .compatible = "dh,dhcom-board", .data = &spidev_of_check },
        { .compatible = "elgin,jg10309-01", .data = &spidev_of_check },
+       { .compatible = "gocontroll,moduline-module-slot", .data = 
&spidev_of_check},
        { .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check },
        { .compatible = "lwn,bk4", .data = &spidev_of_check },
        { .compatible = "lwn,bk4-spi", .data = &spidev_of_check },

-- 
2.48.1


Reply via email to