2016-10-06 14:45:31

by Fabien Lahoudere

[permalink] [raw]
Subject: [PATCH v2 1/1] Add device to spidev device tree compatibility list

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 <[email protected]>
---
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


2016-10-06 16:30:42

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH v2 1/1] Add device to spidev device tree compatibility list

On Thu, Oct 06, 2016 at 04:44:27PM +0200, Fabien Lahoudere wrote:
> 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

Please use subject lines matching the style for the subsystem. This
makes it easier for people to identify relevant patches.


Attachments:
(No filename) (377.00 B)
signature.asc (455.00 B)
Download all attachments