Re: [PATCH v4 11/17] staging: iio: resolver: ad2s1210: rename DOS reset min/max attrs
From: Jonathan Cameron
Date: Tue Oct 10 2023 - 11:57:05 EST
On Thu, 5 Oct 2023 19:50:28 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:
> The AD2S1210 has a programmable threshold for the degradation of signal
> (DOS) mismatch fault. This fault is triggered when the difference in
> amplitude between the sine and cosine inputs exceeds the threshold.
>
> The DOS reset min/max registers on the chip provide initial values
> for internal tracking of the min/max of the monitor signal after the
> fault register is cleared.
>
> This patch converts the custom device DOS reset min/max threshold
> attributes custom event attributes on the monitor signal channel.
>
> The attributes now use millivolts instead of the raw register value in
> accordance with the IIO ABI.
>
> Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>
Applied.