diff options
| author | Julien Stephan <jstephan@baylibre.com> | 2024-05-28 16:20:32 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-04 19:53:08 +0100 |
| commit | baa781e1d84f2165c480c28d2c286e465d3fb2e1 (patch) | |
| tree | dd30265469fbbc7d62b8c95cf1b967c0e8a63f09 /tools/perf/scripts/python | |
| parent | iio: adc: ad7380: add support for pseudo-differential parts (diff) | |
| download | linux-baa781e1d84f2165c480c28d2c286e465d3fb2e1.tar.gz linux-baa781e1d84f2165c480c28d2c286e465d3fb2e1.zip | |
iio: adc: ad7380: prepare for parts with more channels
The current driver supports only parts with 2 channels.
In order to prepare the support of new compatible ADCs with more
channels, this commit:
- defines MAX_NUM_CHANNEL to specify the maximum number of
channels currently supported by the driver
- adds available_scan_mask member in ad7380_chip_info structure
- fixes spi xfer struct len depending on number of channels
- fixes scan_data.raw buffer size to handle more channels
- adds a timing specifications structure in ad7380_chip_info structure
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Link: https://lore.kernel.org/r/20240528-adding-new-ad738x-driver-v7-5-4cd70a4c12c8@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
