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

Marcus Folkesson posted 6 patches 2 years, 3 months ago
.../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(-)
[PATCH v8 0/6] Add support for the whole MCP39xx family
Posted by Marcus Folkesson 2 years, 3 months ago
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
-- 
2.41.0
Re: [PATCH v8 0/6] Add support for the whole MCP39xx family
Posted by Jonathan Cameron 2 years, 3 months ago
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