diff options
author | 2020-07-14 08:11:11 +0300 | |
---|---|---|
committer | 2020-07-22 14:36:05 +0100 | |
commit | 951ad4700313984a45c95a33ec6abba6b3054525 (patch) | |
tree | 065ca1690836d417f4bc6b442e27d70301921ec3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dt-bindings: iio: ti,ads8688 yaml conversion (diff) | |
download | wireguard-linux-951ad4700313984a45c95a33ec6abba6b3054525.tar.xz wireguard-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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions