Linux SPI subsystem development
 help / color / mirror / Atom feed
* [PATCH] spi: spidev: add compatible value for LTC2488
@ 2015-06-25 11:44 Jiri Prchal
       [not found] ` <26052734d7c05f1dadc7d8e62a4db01e8f19a0f8.1435232279.git.jiri.prchal-cKCO0sOKHLPtwjQa/ONI9g@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Prchal @ 2015-06-25 11:44 UTC (permalink / raw)
  To: broonie-DgEjT+Ai2ygdnm+yROfE0A, linux-spi-u79uwXL29TY76Z2rM5mHXA
  Cc: Jiri Prchal

Since spidev is no more allowed to use in DT and is really loudly warned about
it I'd like to add this compatible value.
(Geert Uytterhoeven wrote: "Add the compatible value for your device to the
spidev_dt_ids[] array in drivers/spi/spidev.c.")
---
 drivers/spi/spidev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 92c909e..9b7c77d 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -706,6 +706,7 @@ static struct class *spidev_class;
 #ifdef CONFIG_OF
 static const struct of_device_id spidev_dt_ids[] = {
 	{ .compatible = "rohm,dh2228fv" },
+	{ .compatible = "lineartechnology,ltc2488" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, spidev_dt_ids);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-07-07 13:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-25 11:44 [PATCH] spi: spidev: add compatible value for LTC2488 Jiri Prchal
     [not found] ` <26052734d7c05f1dadc7d8e62a4db01e8f19a0f8.1435232279.git.jiri.prchal-cKCO0sOKHLPtwjQa/ONI9g@public.gmane.org>
2015-07-07 13:58   ` Applied "spi: spidev: add compatible value for LTC2488" to the spi tree Mark Brown

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