Re: [PATCH v12 6/9] iio: adc: adi-axi-adc: set data format

From: David Lechner
Date: Fri Feb 07 2025 - 15:52:03 EST


On 2/7/25 8:09 AM, Antoniu Miclaus wrote:
> Add support for selecting the data format within the AXI ADC ip.
>
> Add separate complatible string for the custom AD485X IP and implement
> the necessary changes.
>
> Reviewed-by: Nuno Sa <nuno.sa@xxxxxxxxxx>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
> ---

...

> @@ -312,6 +324,45 @@ static int axi_adc_interface_type_get(struct iio_backend *back,
> return 0;
> }
>
> +static int axi_adc_data_size_set(struct iio_backend *back, unsigned int size)

This function only applies to AD485X so would be nice to have _ad485x_ in the
function name.