[PATCH] i2c: bcm2835: Set up the clock stretching timeout at boot.

Wolfram Sang wsa at the-dreams.de
Sun Jul 3 17:31:19 PDT 2016


> +	/*
> +	 * SMBUS says "Devices participating in a transfer will
> +	 * timeout when any clock low exceeds the value of
> +	 * T_TIMEOUT,MIN of 25 ms."
> +	 */

SMBus has that timeout, but I2C doesn't. How about disabling the timeout
simply? Or using the max value if you want to keep the timeout
detection?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20160704/92d7d6c0/attachment.sig>


More information about the linux-rpi-kernel mailing list