Re: [PATCH v4] staging: iio: addac: adt7316: document SPI interface switching sequence
From: Jonathan Cameron
Date: Tue May 12 2026 - 12:14:39 EST
On Mon, 11 May 2026 14:06:41 +0000
Hungyu Lin <dennylin0707@xxxxxxxxx> wrote:
> The device powers up in I2C mode. Switching to SPI mode
> requires sending a sequence of SPI writes as described in
> the datasheet.
>
> During this sequence, the device may still be in I2C mode,
> so SPI transactions may not be recognized and can fail.
> Such errors are therefore ignored.
>
> Add a comment to clarify this behavior.
>
> Datasheet: https://www.analog.com/en/products/adt7316.html
> Reviewed-by: Maxwell Doose <m32285159@xxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> Signed-off-by: Hungyu Lin <dennylin0707@xxxxxxxxx>
Applied!
Thanks
Jonathan