]> git.karo-electronics.de Git - linux-beck.git/commitdiff
spi: spidev: Add device to spidev device tree compatibility list
authorFabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Thu, 6 Oct 2016 14:44:27 +0000 (16:44 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 21 Oct 2016 11:09:57 +0000 (12:09 +0100)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spidev.c

index 2e05046f866bd01bf87edcdeff0d5b76d4d0aea7..9e2e099baf8ca5cc6510912a36d4ca03daeb8273 100644 (file)
@@ -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);