> Subject: Re: [PATCH 0/2] Use demuxer for i2c1 and i2c5 > > On Mon, Jan 22, 2018 at 11:29:21AM +0000, Biju Das wrote: > > We have observed that on iWave RZ/G1E boards, randomly HDMI slave > > device is holding data line after a soft reboot. > > > > We applied demuxer patch for i2c1 and using an oscilloscope verified > > that i2c recovery works on the failure condition. > > Do you really need the demuxer for that? How do i2c-bus gets details of gpio lines associated with i2c bus for bus recovery? For eg:- i2c1 scl line --> gpio0 11 I2c1 sda line --> gpio0 12 > I posted and just merged bus recovery to the i2c-rcar driver. Did you test that? > In theory, this should be enough. On top of renesas-dev branch, I am using the below i2c-rcar driver related patches. https://www.mail-archive.com/linux-renesas-soc@xxxxxxxxxxxxxxx/msg22278.html Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.