Re: [PATCH v6 17/17] Documentation: iio: Add AD7768 Documentation

From: Jonathan Cameron

Date: Sat Sep 05 2026 - 23:56:18 EST


> Add driver documentation for AD7768.
>
> Signed-off-by: Janani Sunil <janani.sunil@xxxxxxxxxx>
>
> diff --git a/Documentation/iio/ad7768.rst b/Documentation/iio/ad7768.rst
> new file mode 100644
> index 000000000000..49aeff27b00a
> --- /dev/null

...

> +
> +Channel modes
> +^^^^^^^^^^^^^
> +
> +* **Mode A** - First set of filter and decimation settings
> +* **Mode B** - Second set of filter and decimation settings
> +
> +The hardware provides two mode profiles (A and B), each holding one
> +(frequency, filter) combination. When buffered capture is started,
> +enabled channels are grouped by their configured (frequency, filter)
> +pair. Up to two distinct groups are supported; the driver automatically
> +assigns each group to a mode slot and programs the hardware accordingly.

Say what happens if the user tries to use more sets of settings and
hence two groups isn't enough.

--
Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>