mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] Add devices to spidev device tree compatibility list
@ 2016-09-30 10:15 Fabien Lahoudere
  2016-09-30 16:08 ` Mark Brown
  2016-09-30 17:35 ` [PATCH 1/1] Add devices " Geert Uytterhoeven
  0 siblings, 2 replies; 6+ messages in thread
From: Fabien Lahoudere @ 2016-09-30 10:15 UTC (permalink / raw)
  To: broonie; +Cc: linux-spi, linux-kernel, Fabien Lahoudere

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@collabora.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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-06 16:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30 10:15 [PATCH 1/1] Add devices to spidev device tree compatibility list Fabien Lahoudere
2016-09-30 16:08 ` Mark Brown
2016-10-06 14:44   ` [PATCH v2 1/1] Add device " Fabien Lahoudere
2016-10-06 14:49     ` Mark Brown
2016-09-30 17:35 ` [PATCH 1/1] Add devices " Geert Uytterhoeven
2016-10-06  8:01   ` Fabien Lahoudere

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®