Re: [PATCH v1 1/3] iio: adc: Kconfig: add SPI interface mention to AD7924 description

From: Jonathan Cameron
Date: Fri Dec 23 2022 - 08:59:30 EST


On Thu, 22 Dec 2022 15:36:08 -0500
Hugo Villeneuve <hugo@xxxxxxxxxxx> wrote:

> From: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
>
> The Analog Devices AD7924 uses an SPI interface. There is also a Texas
> Instruments ADS7924 which uses an I2C interface.
>
> Adding the SPI mention to the AD7924 will help to avoid confusion
> between the two chips.
Hi Hugo,

Welcome to IIO.

I don't really mind this, but given they have different part numbers
and the similarly named TI part could just have easily been SPI
I'm not sure the clarification is really useful.

Also, under all the circumstances I can think of, if you can see the
help text you can also see the SPI dependence clearly listed.

Hence I think is just noise, though I'm guessing it reflects a
confusion you ran into!

Jonathan


>
> Signed-off-by: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
> ---
> drivers/iio/adc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index 46c4fc2fc534..235319546974 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -243,7 +243,7 @@ config AD7923
> select IIO_TRIGGERED_BUFFER
> help
> Say yes here to build support for Analog Devices
> - AD7904, AD7914, AD7923, AD7924 4 Channel ADCs.
> + AD7904, AD7914, AD7923, AD7924 4 Channel SPI ADCs.
>
> To compile this driver as a module, choose M here: the
> module will be called ad7923.