[U-Boot] [PATCH v2 2/2] dm: i2c: implement gpio-based I2C deblock

Heiko Schocher hs at denx.de
Wed Apr 11 16:33:21 UTC 2018


Hello Alexander,

Am 27.03.2018 um 16:52 schrieb Alexander Kochetkov:
> The commit implement a gpio-based software deblocking. The code
> extract I2C pins description from device tree, switch pins to GPIO
> mode, toggle SCL until slave release SDA, send I2C stop and switch
> I2C pins back to I2C mode.
> 
> Signed-off-by: Alexander Kochetkov <al.kochet at gmail.com>
> ---
>   drivers/i2c/i2c-uclass.c |  118 ++++++++++++++++++++++++++++++++++++++++++----
>   1 file changed, 109 insertions(+), 9 deletions(-)

Applied to u-boot-i2c master

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list