summaryrefslogtreecommitdiffstats
path: root/tools/iio
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-07-29 01:20:15 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-09 14:26:28 +0100
commitfb4b6f92d19c9509c75f2ef5fee44287e413b7a2 (patch)
treeb8b02ee5e440fa762148df28d86c887e0cb299f8 /tools/iio
parentee2ac1cdd356f34a2962141d5c157254da3f5a62 (diff)
downloadlinux-fb4b6f92d19c9509c75f2ef5fee44287e413b7a2.tar.bz2
iio: adc: ti-ads7950: Add OF device ID table
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a SPI device registered via OF will always match a legacy SPI device ID and that the MODALIAS reported will always be of the form spi:<device>. There is an ACPI method to enumerate such devices via specific ACPI ID and use of compatible strings. It will not work for the drivers which have no OF match ID table present. Besides this could change in the future so the correct approach is to have an OF device ID table if the devices are registered via OF. Tested-by: David Lechner <david@lechnology.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions