summaryrefslogtreecommitdiffstats
path: root/drivers/ps3
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-07-14 07:11:11 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-22 15:36:05 +0200
commit951ad4700313984a45c95a33ec6abba6b3054525 (patch)
tree065ca1690836d417f4bc6b442e27d70301921ec3 /drivers/ps3
parentdt-bindings: iio: ti,ads8688 yaml conversion (diff)
downloadlinux-951ad4700313984a45c95a33ec6abba6b3054525.tar.xz
linux-951ad4700313984a45c95a33ec6abba6b3054525.zip
iio: adc: ad7124: move chip ID & name on the chip_info table
This change does the following: * removes the SPI device table in favor of the OF device table * adds 'name' && 'chip_id' fields to chip_info * implements chip ID & silicon revision checking; the device ID for AD7124-4 is 0x0, so just checking that value can be useless; but at least the silicon revision isn't 0, so a non-zero value can be used to check that "a" device is on the SPI bus; it's probably the best way to narrow it down to one of the 2 AD7124 chip IDs Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions