[lm-sensors] lm75: Convert to new-style I2C driver

David Brownell david-b at pacbell.net
Wed Apr 16 19:52:03 CEST 2008


On Wednesday 16 April 2008, Jean Delvare wrote:
> 
> > Sorry. Is there any plan to support new-style device drivers for PC hardware 
> > in the future ?
> 
> I have something in mind but it's not clear if it will really happen.
> 
> We can't enumerate the I2C/SMBus hardware monitoring chips on PCs as we
> do on embedded platforms, because there are soooo many different PC
> motherboards (some of which cannot even be identified) that we wouldn't
> be able to list them all. So we still have to rely on probing somehow.

Hence my lm75 new-style conversion, supporting both binding styles.

I didn't actually look at that in as much detail as it deserves...
arguably "legacy" binding should be explicitly turned on as a result
of a user mode probe, along the lines of sensors-detect.

- Dave


> However, I agree that switching to new-style i2c devices would be nice.
> So what I have in mind is a dedicated kernel driver that would do the
> probing and would instantiate the (new-style) I2C/SMBus hardware
> monitoring devices.





More information about the lm-sensors mailing list