Re: [PATCH v5 05/14] iio: adc: ad7768-1: convert driver to use regmap

From: Jonathan Cameron
Date: Sat Apr 12 2025 - 13:52:22 EST


On Fri, 11 Apr 2025 12:56:56 -0300
Jonathan Santos <Jonathan.Santos@xxxxxxxxxx> wrote:

> Convert the AD7768-1 driver to use the regmap API for register
> access. This change simplifies and standardizes register interactions,
> reducing code duplication and improving maintainability.
>
> Create two regmap configurations, one for 8-bit register values and
> other for 24-bit register values.
>
> Since we are using regmap now, define the remaining registers from 0x32
> to 0x34.
>
> Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>
> Signed-off-by: Jonathan Santos <Jonathan.Santos@xxxxxxxxxx>
Hi Jonathan,

Given this is a fairly substantial set and some parts stand on their
own, I'm going to pick up some patches now despite discussion being
ongoing about bindings etc. Please rebase your next version
on the testing branch of iio.git to take this into account.


Applied this patch.

Thanks,

Jonathan