Re: [PATCH 2/2] i2c-algo-bit: Complain about masters which can't read SCL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 07, 2010 at 12:10:10PM +0000, Mark Brown wrote:
> On Tue, Dec 07, 2010 at 11:07:05AM +0100, Jean Delvare wrote:
> > The I2C specification explicitly describes both SDA and SCL as
> > bidirectional lines. An I2C master with a read-only SCL is thus not
> > compliant. If a slow slave stretches the clock, errors will happen,
> > so the bus can't be considered as reliable.
> > 
> > Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
> 
> It'd be good to also flag this via sysfs so that it's more readily
> visible to things like diagnostic tools.

Could be, I wonder how many other hardware based adapters just don't
do this. Quite a few devices i've seen don't use it as they're generally
fast enough, or implement some other status polling system.

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux