Re: [PATCH v3 3/6] iio: adc: adi-axi-adc: add interface type

From: Andy Shevchenko
Date: Mon Oct 14 2024 - 07:42:39 EST


On Mon, Oct 14, 2024 at 12:40:37PM +0300, Antoniu Miclaus wrote:
> Add support for getting the interface (CMOS or LVDS) used by the AXI ADC
> ip.

IP

...

> #define ADI_AXI_REG_RSTN_MMCM_RSTN BIT(1)
> #define ADI_AXI_REG_RSTN_RSTN BIT(0)
>
> +#define ADI_AXI_ADC_REG_CONFIG 0x000c
> +#define ADI_AXI_ADC_REG_CONFIG_CMOS_OR_LVDS_N BIT(7)
> +
> #define ADI_AXI_ADC_REG_CTRL 0x0044
> #define ADI_AXI_ADC_CTRL_DDR_EDGESEL_MASK BIT(1)

Side note, the field definitions are indented with different amount of white
spaces.

--
With Best Regards,
Andy Shevchenko