[PATCH] i2c: Raise SDA for each received bit, if necessary

2016-04-27 Thread Thomas Zimmermann
Some I2C adapters don't raise SDA by themselves when sending a bit. This behavior can be seen with the DDC channel of SiS 300 graphics cards. This patch adds the flag |set_sdahi| to |struct i2c_algo_bit_data|. With the flags set to true, the I2C bit algo will raise SDA before reading each bit from

Re: [PATCH] i2c: Raise SDA for each received bit, if necessary

2016-05-12 Thread Wolfram Sang
Hi Thomas, On Wed, Apr 27, 2016 at 08:11:54PM +0200, Thomas Zimmermann wrote: > Some I2C adapters don't raise SDA by themselves when sending a bit. This > behavior can be seen with the DDC channel of SiS 300 graphics cards. I think you mean 'clients' or 'devices' here, not adapters (masters), rig

Re: [PATCH] i2c: Raise SDA for each received bit, if necessary

2016-05-12 Thread Thomas Zimmermann
Hi Am 12.05.2016 um 11:05 schrieb Wolfram Sang: > Hi Thomas, > > On Wed, Apr 27, 2016 at 08:11:54PM +0200, Thomas Zimmermann wrote: >> Some I2C adapters don't raise SDA by themselves when sending a bit. This >> behavior can be seen with the DDC channel of SiS 300 graphics cards. > > I think you

Re: [PATCH] i2c: Raise SDA for each received bit, if necessary

2016-05-13 Thread Wolfram Sang
> I was playing with the DRM framework and an old SiS graphics card. I > discovered this issue while trying to read the EDID from the monitor. So, there is no upstream user yet? > I have a few other SiS cards/models here and they all expose this > behavior. So I guess it's intentional(==cheaper?

Re: [PATCH] i2c: Raise SDA for each received bit, if necessary

2016-05-13 Thread Thomas Zimmermann
Hi Am 13.05.2016 um 12:33 schrieb Wolfram Sang: > >> I was playing with the DRM framework and an old SiS graphics card. I >> discovered this issue while trying to read the EDID from the monitor. > > So, there is no upstream user yet? No. >> I have a few other SiS cards/models here and they all