Re: [PATCH] I2C update for 2.6.8-rc1

From: Adam Kropelin
Date: Fri Jul 16 2004 - 12:46:14 EST


On Fri, Jul 16, 2004 at 10:17:03AM -0700, Greg KH wrote:
> On Fri, Jul 16, 2004 at 07:07:16PM +0200, Pavel Machek wrote:
> > Hi!
> >
> > > +menu "Dallas's 1-wire bus"
> > > +
> > > +config W1
> > > + tristate "Dallas's 1-wire support"
> > > + ---help---
> > > + Dallas's 1-wire bus is usefull to connect slow 1-pin devices
> > > + such as iButtons and thermal sensors.
> >
> > Just out of curiosity... are such devices really connected using one wire only,
> > or is it GND+5V+one data wire, or GND+power&data wire?
>
> I'm pretty sure it's just 1 wire, at least for the devices I've seen.

It's GND+power&data. The device derives its power from transitions on
the data line driven by the master. Consequently there are some fairly
strict timing requirements on those pulses. Some devices can also be
powered by a dedicated VCC line which generally allows the device to
respond faster. A temperature sensor IC, for example, can usually
complete a conversion cycle much faster when it has dedicated power.

--Adam

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