summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorAlexandru Ardelean <aardelean@baylibre.com>2024-09-19 16:04:36 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-09-30 09:21:04 +0100
commit300a90a6ba644cfcea75e5585e74a0e5fd46b94a (patch)
treedba7ad19f1f0b9d2e3b5cd9236e8569d001a88af /scripts/gdb/linux
parent76729a03cc2ee855f3d1df4c7d581f058cd73471 (diff)
iio: adc: ad7606: add 'bits' parameter to channels macros
There are some newer additions to the AD7606 family, which support 18 bit precision. Up until now, all chips were 16 bit. This change adds a 'bits' parameter to the AD760X_CHANNEL macro and renames 'ad7606_channels' -> 'ad7606_channels_16bit' for the current devices. The AD7606_SW_CHANNEL() macro is also introduced, as a short-hand for IIO channels in SW mode. Signed-off-by: Alexandru Ardelean <aardelean@baylibre.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20240919130444.2100447-2-aardelean@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions