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