Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1494014
| Path | csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/1] Add devices to spidev device tree compatibility list |
| Date | Fri, 30 Sep 2016 12:20:01 +0200 |
| Message-ID | <sn357-vu-9@gated-at.bofh.it> (permalink) |
| X-Mailer | git-send-email 2.1.4 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 25 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> |
| X-Original-Date | Fri, 30 Sep 2016 12:15:54 +0200 |
| X-Original-Message-ID | <1475230554-5986-1-git-send-email-fabien.lahoudere@collabora.co.uk> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1494014 |
Show key headers only | View raw
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/1] Add devices to spidev device tree compatibility list Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-09-30 12:20 +0200
Re: [PATCH 1/1] Add devices to spidev device tree compatibility list Mark Brown <broonie@kernel.org> - 2016-09-30 18:10 +0200
[PATCH v2 1/1] Add device to spidev device tree compatibility list Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-10-06 16:50 +0200
Re: [PATCH v2 1/1] Add device to spidev device tree compatibility list Mark Brown <broonie@kernel.org> - 2016-10-06 18:40 +0200
Re: [PATCH 1/1] Add devices to spidev device tree compatibility list Geert Uytterhoeven <geert@linux-m68k.org> - 2016-09-30 19:40 +0200
Re: [PATCH 1/1] Add devices to spidev device tree compatibility list Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> - 2016-10-06 10:10 +0200
csiph-web