apm821xx: lm90 add thermal sensor interface support for device tree
authorChristian Lamparter <chunkeey@googlemail.com>
Wed, 20 Jul 2016 13:44:56 +0000 (15:44 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 22 Jul 2016 07:48:12 +0000 (09:48 +0200)
commit47eeb9f857044de6e79c79577a1a7d6a57ac5046
treedc290446499ea086c266d2ebd554cfeffe7cca2f
parentb46e2a6d95ec3a7fc2b41489f28ea7d8be56e0d9
apm821xx: lm90 add thermal sensor interface support for device tree

 From 912-hwmon-lm90-expose-to-thermal-fw-via-DT.patch:
"This patch adds to lm90 temperature sensor the possibility
to expose itself as thermal zone device, registered on the
thermal framework.

The thermal zone is built only if a device tree node
describing a thermal zone for this sensor is present
inside the lm90 DT node. Otherwise, the driver behavior
will be the same."

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/patches-4.4/911-hwmon-lm90-split-set-and-show-temp-as-common-codes.patch [new file with mode: 0644]
target/linux/apm821xx/patches-4.4/912-hwmon-lm90-expose-to-thermal-fw-via-DT.patch [new file with mode: 0644]