[lm-sensors] Location for thermal drivers

Guenter Roeck guenter.roeck at ericsson.com
Fri Nov 12 23:06:40 CET 2010


On Fri, 2010-11-12 at 16:53 -0500, Phil Pokorny wrote:
> On Fri, Nov 12, 2010 at 12:33 PM, Guenter Roeck
> <guenter.roeck at ericsson.com> wrote:
> > I think a better location for the driver would be drivers/thermal.
> > drivers/hwmon is not really a good fit, since hwmon support for thermal
> > drivers is optional. Potential problem with drivers/thermal is that
> > there are no thermal drivers in there (yet), and there does not seem to
> > be a maintainer.
> 
> What is the difference between a "thermal" sensor and a "temperature"
> sensor?  Aren't they the same thing?
> 
The thermal framework is much more extensive than the hwmon framework.
See Documentation/thermal/sysfs-api.txt for details.

> Why does drivers/thermal exist if there are no drivers in it and no maintainer?
> 
The framework resides there. Drivers supporting it are in various
platform directories.

As for why there are no drivers - only the framework - in
drivers/thermal, and why there is no maintainer - no idea.

Guenter





More information about the lm-sensors mailing list