Re: [PATCH v2 0/3] MCP3911 fixes
From: Jonathan Cameron
Date: Mon May 05 2025 - 08:57:44 EST
On Mon, 28 Apr 2025 08:54:10 +0200
Marcus Folkesson <marcus.folkesson@xxxxxxxxx> wrote:
> This series contain two fixes for the MCP3911 driver:
> - Add support for reset signal
> - Fix wrong mapping for the coversion result registers
>
> The register map for the conversion result registers of the MCP3911
> differs from the other variants so make sure we read from the right
> register by introducing device-dependent .read_raw() callbacks.
Applied to the togreg branch of iio.git and initially pushed out as testing
for 0-day to take a look.
Thanks,
Jonathan
>
> Signed-off-by: Marcus Folkesson <marcus.folkesson@xxxxxxxxx>
> ---
> Changes in v2:
> - Fix review comments from Andy Shevchenko (Thanks Andy!)
> - Link to v1: https://lore.kernel.org/r/20250423-mcp3911-fixes-v1-0-5bd0b68ec481@xxxxxxxxx
>
> ---
> Marcus Folkesson (3):
> iio: adc: mcp3911: fix device dependent mappings for conversion result registers
> dt-bindings: iio: adc: mcp3911: add reset-gpios
> iio: adc: mcp3911: add reset management
>
> .../bindings/iio/adc/microchip,mcp3911.yaml | 5 ++
> drivers/iio/adc/mcp3911.c | 58 ++++++++++++++++++++--
> 2 files changed, 58 insertions(+), 5 deletions(-)
> ---
> base-commit: 1e26c5e28ca5821a824e90dd359556f5e9e7b89f
> change-id: 20250423-mcp3911-fixes-ef3b2145577d
>
> Best regards,