diff options
| author | Julien Stephan <[email protected]> | 2024-05-28 16:20:32 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-06-04 19:53:08 +0100 |
| commit | baa781e1d84f2165c480c28d2c286e465d3fb2e1 (patch) | |
| tree | dd30265469fbbc7d62b8c95cf1b967c0e8a63f09 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 2920b6ee6d69ed874b8cc60e5a0b930aca102e18 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions