Re: Sony IMX290/462 image sensors I2C xfer peculiarity

From: Wolfram Sang
Date: Fri Oct 13 2023 - 03:17:31 EST



> Do you know the I2C repeated start feature [1]? This allows to batch together
> multiple I2C read/writes in a single transfer. And in the best case, this
> transfer is executed in one go without a delay in between. At least in the
> kernel it's guaranteed that no other driver can go in between with another
> transfer.

If the HW does rep_start properly, it is even guaranteed on the bus
because the bus is never seen as free by other participants. Check
"START and STOP" conditions in the I2C specs.

Attachment: signature.asc
Description: PGP signature