| From: |
| Vincent Whitchurch <vincent.whitchurch-AT-axis.com> |
| To: |
| <jic23-AT-kernel.org> |
| Subject: |
| [PATCH v2 0/5] iio: adc: mcp320x: Add triggered buffer support |
| Date: |
| Wed, 31 Aug 2022 12:05:01 +0200 |
| Message-ID: |
| <20220831100506.3368103-1-vincent.whitchurch@axis.com> |
| Cc: |
| <kernel-AT-axis.com>, Vincent Whitchurch <vincent.whitchurch-AT-axis.com>, <andy.shevchenko-AT-gmail.com>, <lars-AT-metafoo.de>, <linux-iio-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org> |
| Archive-link: |
| Article |
This series makes some suggested cleanups and then adds triggered buffer
support to the mcp320x ADC driver.
v2:
- Replace device_index rx switch with callbacks in chip_info
- Replace device_index tx switch with computation based
on number of channels.
- Use conv_time instead of device_index switch when initializing
conv_msg.
- Keep includes in alphabetical order with iio includes in a separate group
- Replace diff_off with scan_index as parameter to macro
- Remove reformatting of macros which makes the real change hard
to spot
Cc: andy.shevchenko@gmail.com
Cc: lars@metafoo.de
Cc: linux-iio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Axel Jonsson (1):
iio: adc: mcp320x: add triggered buffer support
Vincent Whitchurch (4):
iio: adc: mcp320x: use callbacks for RX conversion
iio: adc: mcp320x: remove device_index check for TX
iio: adc: mcp320x: use conv_time instead of device_index switch
iio: adc: mcp320x: use device managed functions
drivers/iio/adc/Kconfig | 2 +
drivers/iio/adc/mcp320x.c | 297 +++++++++++++++++++++++---------------
2 files changed, 183 insertions(+), 116 deletions(-)
--
2.34.1