mbox series

[v8,0/6] Add support for the whole MCP39xx family

Message ID 20230822192259.1125792-1-marcus.folkesson@gmail.com (mailing list archive)
Headers show
Series Add support for the whole MCP39xx family | expand

Message

Marcus Folkesson Aug. 22, 2023, 7:22 p.m. UTC
The main goal with this patchset is to add support for all similar
MCP39xx ADC chips.
During all patch iterations we ended up with a few cleanup patches.

See version notes in each patch.

Marcus Folkesson (6):
  dt-bindings: iio: adc: mcp3911: add support for the whole MCP39xx
    family
  iio: adc: mcp3911: make use of dev_err_probe()
  iio: adc: mcp3911: simplify usage of spi->dev
  iio: adc: mcp3911: fix indentation
  iio: adc: mcp3911: avoid ambiguity parameters in macros
  iio: adc: mcp3911: add support for the whole MCP39xx family

 .../bindings/iio/adc/microchip,mcp3911.yaml   |   6 +
 drivers/iio/adc/Kconfig                       |   6 +-
 drivers/iio/adc/mcp3911.c                     | 562 ++++++++++++++----
 3 files changed, 462 insertions(+), 112 deletions(-)


base-commit: b320441c04c9bea76cbee1196ae55c20288fd7a6

Comments

Jonathan Cameron Aug. 27, 2023, 6:27 p.m. UTC | #1
On Tue, 22 Aug 2023 21:22:53 +0200
Marcus Folkesson <marcus.folkesson@gmail.com> wrote:

> The main goal with this patchset is to add support for all similar
> MCP39xx ADC chips.
> During all patch iterations we ended up with a few cleanup patches.
> 
> See version notes in each patch.
> 
> Marcus Folkesson (6):
>   dt-bindings: iio: adc: mcp3911: add support for the whole MCP39xx
>     family
>   iio: adc: mcp3911: make use of dev_err_probe()
>   iio: adc: mcp3911: simplify usage of spi->dev
>   iio: adc: mcp3911: fix indentation
>   iio: adc: mcp3911: avoid ambiguity parameters in macros
>   iio: adc: mcp3911: add support for the whole MCP39xx family
> 
>  .../bindings/iio/adc/microchip,mcp3911.yaml   |   6 +
>  drivers/iio/adc/Kconfig                       |   6 +-
>  drivers/iio/adc/mcp3911.c                     | 562 ++++++++++++++----
>  3 files changed, 462 insertions(+), 112 deletions(-)
> 
> 
> base-commit: b320441c04c9bea76cbee1196ae55c20288fd7a6

Series applied.

Thanks to both Marcus (for working through the iterations) and Andy for
providing the detailed feedback.

Jonathan