On Fri, 29 Sep 2023 12:23:28 -0500
David Lechner <[email protected]> wrote:
> From: David Lechner <[email protected]>
>
> From: David Lechner <[email protected]>
>
> The AD2S1210 has a programmable threshold for the degradation of signal
> (DOS) overrange fault. This fault is triggered when either the sine or
> cosine input rises the threshold voltage.
rises above the threshold voltage.
>
> This patch converts the custom device DOS overrange threshold attribute
> to an event rising edge threshold attribute on the monitor signal
> channel.
>
> The attribute now uses millivolts instead of the raw register value in
> accordance with the IIO ABI.
>
> Emitting the event will be implemented in a later patch.
>
> Signed-off-by: David Lechner <[email protected]>