Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c: bcm2835: Set clock-stretch timeout to 35ms
commit 3f22ee90ee63243824307e530e3032b7d052cfa6 from https://github.com/raspberrypi/linux.git rpi-6.6.y The BCM2835 I2C blocks have a register to set the clock-stretch timeout - how long the device is allowed to hold SCL low - in bus cycles. The current driver doesn't write to the register, therefore the default value of 64 cycles is being used for all devices. Set the timeout to the value recommended for SMBus - 35ms. See: raspberrypi/linux#3064 Signed-off-by: Phil Elwell <phil@raspberrypi.org> Signed-off-by: Rajeshkumar Ramasamy <rajeshkumar.ramasamy@windriver.com>
- Loading branch information