[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1475230554-5986-1-git-send-email-fabien.lahoudere@collabora.co.uk>
Date: Fri, 30 Sep 2016 12:15:54 +0200
From: Fabien Lahoudere <fabien.lahoudere@...labora.co.uk>
To: broonie@...nel.org
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
Fabien Lahoudere <fabien.lahoudere@...labora.co.uk>
Subject: [PATCH 1/1] Add devices to spidev device tree compatibility list
Entries are needed in the spidev ID list to configure configure it from a
device tree. Add entries for the following devices:
- "fsl,mk20fn1m0vmd12" : a cortex m4 based chip
- "exar,xra1403" : a GPIO expander
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@...labora.co.uk>
---
drivers/spi/spidev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 2e05046..821937a 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -696,6 +696,8 @@ static struct class *spidev_class;
static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "rohm,dh2228fv" },
{ .compatible = "lineartechnology,ltc2488" },
+ { .compatible = "fsl,MK20FN1M0VMD12" },
+ { .compatible = "exar,xra1403" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);
--
2.1.4
Powered by blists - more mailing lists