Tom Rini trini at
Wed Apr 7 09:09:11 EST 2004

On Tue, Apr 06, 2004 at 06:03:37PM -0500, Tolunay Orkun wrote:

> >> Do you happen know what it would take to use the DS1307 driver from LM
> >> Sensors package? Has anyone used LMSensors with PPC Linux?
> >
> > LM Sensors implies i2c, which means you'd have to use that, or add a few
> > more hooks to genrtc (a probe is required for i2c, but not others, maybe
> > others) to get it working w/ that driver.  But you'd still be using the
> > main i2c subsystem, which I think you've said is too heavy.
> No, I already use i2c on this board so i2c driver is included in kernel
> configuration. We bring the i2c bus to a header for communication with
> some external devices already.

Ah, OK.

> My concern about bloat from rest of LM Sensors. I am not sure if I can
> take ds1307 driver from sensors package and include in my build and if so
> how/how much additional code to provide /dev/rtc support working.

It should not be too hard, nor too bloaty.

Tom Rini

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list