summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDumitru Ceclan <dumitru.ceclan@analog.com>2024-06-07 17:53:11 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-25 23:04:43 +0300
commitfc5cdff0654a2f77e68c4bd1c2f8426ab4a9de1e (patch)
tree012bd0456c75e738ea63248d249d82674124e73d /tools/perf/scripts/python
parent137a83a66f355a9e22039ebf39581ce922119d97 (diff)
downloadlinux-fc5cdff0654a2f77e68c4bd1c2f8426ab4a9de1e.tar.xz
iio: adc: ad7173: refactor ain and vref selection
Move validation of analog inputs and reference voltage selection to separate functions to reduce the size of the channel config parsing function and improve readability. Add defines for the number of analog inputs in a channel. Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20240607-ad4111-v7-5-97e3855900a0@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions