
Hello Michael,
Am 07.02.2020 um 17:55 schrieb Michael Auchter:
This adds support for clock stretching to the i2c-gpio driver. This is accomplished by switching the GPIO used for the SCL line to an input when it should be driven high, and polling on the SCL line value until it goes high (indicating that the I2C slave is no longer pulling it low).
This is enabled by default; for gpios which cannot be configured as inputs, the i2c-gpio,scl-output-only property can be used to fall back to the previous behavior.
Signed-off-by: Michael Auchter michael.auchter@ni.com Cc: Heiko Schocher hs@denx.de
doc/device-tree-bindings/i2c/i2c-gpio.txt | 2 ++ drivers/i2c/i2c-gpio.c | 23 ++++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-)
Applied to u-boot-i2c next, thanks!
bye, Heiko