All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
To: broonie@kernel.org
Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Subject: [PATCH v2 1/1] Add device to spidev device tree compatibility list
Date: Thu,  6 Oct 2016 16:44:27 +0200	[thread overview]
Message-ID: <1475765067-29403-1-git-send-email-fabien.lahoudere@collabora.co.uk> (raw)
In-Reply-To: <20160930160832.fnnvxkwdh5ex4xqt@sirena.org.uk>

Entries are needed in the spidev ID list to configure configure it from a
device tree. Add entry for the following device:
- "ge,achc" :  GE Healthcare USB Management Controller

The USB Management Controller does not expose USB to the host, but acts as
an offload engine, communicating with specific USB based data acquisition
devices which are connected to it, extracting the required data and
providing it to the host via other methods. SPI is used as an out-of-band
configuration channel.

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
---
 drivers/spi/spidev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 2e05046..9e2e099 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -696,6 +696,7 @@ static struct class *spidev_class;
 static const struct of_device_id spidev_dt_ids[] = {
 	{ .compatible = "rohm,dh2228fv" },
 	{ .compatible = "lineartechnology,ltc2488" },
+	{ .compatible = "ge,achc" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, spidev_dt_ids);
-- 
2.1.4

  reply	other threads:[~2016-10-06 14:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-30 10:15 [PATCH 1/1] Add devices to spidev device tree compatibility list Fabien Lahoudere
2016-09-30 10:15 ` Fabien Lahoudere
2016-09-30 16:08 ` Mark Brown
2016-09-30 16:08   ` Mark Brown
2016-10-06 14:44   ` Fabien Lahoudere [this message]
2016-10-06 14:49     ` [PATCH v2 1/1] Add device " Mark Brown
2016-10-06 14:49       ` Mark Brown
2016-09-30 17:35 ` [PATCH 1/1] Add devices " Geert Uytterhoeven
2016-09-30 17:35   ` Geert Uytterhoeven
2016-10-06  8:01   ` Fabien Lahoudere
2016-10-06  8:01     ` Fabien Lahoudere

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475765067-29403-1-git-send-email-fabien.lahoudere@collabora.co.uk \
    --to=fabien.lahoudere@collabora.co.uk \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.