Re: [PATCH 7/7] Documentation: ABI: testing: ad485x: add ABI docs

From: Jonathan Cameron
Date: Sat Sep 28 2024 - 13:33:02 EST


On Mon, 23 Sep 2024 13:10:24 +0300
Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx> wrote:

> Add documentation for the packet size.
>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
> ---
> Documentation/ABI/testing/sysfs-bus-iio-adc-ad485x | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-ad485x
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-ad485x b/Documentation/ABI/testing/sysfs-bus-iio-adc-ad485x
> new file mode 100644
> index 000000000000..80aaef4eb750
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-ad485x
> @@ -0,0 +1,14 @@
> +What: /sys/bus/iio/devices/iio:deviceX/packet_format_available
> +KernelVersion:
> +Contact: linux-iio@xxxxxxxxxxxxxxx
> +Description:
> + Packet sizes on the CMOS or LVDS conversion data output bus.
> + Reading this returns the valid values that can be written to the
> + packet_format.
> +
> +What: /sys/bus/iio/devices/iio:deviceX/packet_format
> +KernelVersion:
> +Contact: linux-iio@xxxxxxxxxxxxxxx
> +Description:
> + This attribute configures the packet size.
> + Reading returns the actual size used.
This was touched upon by David's review of the driver.
These docs tell us nothing useful unfortunately so a user would have
no idea how to set them...