[PATCH 0/3] lm90: device tree and thermal zone support

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

 




This patchset adds support to the lm90 driver for initialising sensor
parameters from a device tree, as well as using the sensor in thermal zones
specified in a device tree.

The patchset is extracted from an ongoing personal project to get mainline
running on the Ouya console. The git repository is available at:

  https://github.com/stephank/linux.git

This particular patchset can also be pulled from the 'lm90-of' branch there.

The Ouya has a single GPIO fan, and an ON NCT1008 temperature sensor. With this
patchset, the kernel can do active cooling through a thermal zone, and set
sensible sensor alert parameters without user-space assistance.

There's still something amiss with alerts, though. When the temperature exceeds
one of the bounds, the machine bogs down and the log is flooded with warning
messages. (An interrupt flood? I'm not too concerned at this point, active
cooling should keep us far from the configured sensor alert bounds during
normal operation.)

Please note that these are my very first kernel patches. Hoping I get it right
the first time!

Stéphan Kochen (3):
  lm90: separate register accessors from sysfs
  lm90: initialize parameters from devicetree
  lm90: register with thermal zones

 Documentation/devicetree/bindings/hwmon/lm90.txt |  48 ++
 drivers/hwmon/lm90.c                             | 618 +++++++++++++++--------
 2 files changed, 453 insertions(+), 213 deletions(-)

-- 
2.5.0

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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux