projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3da3d2
)
ARM: dts: mxs: Add iio-hwmon to mx28 soc
author
Alexandre Belloni
<alexandre.belloni@free-electrons.com>
Wed, 18 Dec 2013 18:50:55 +0000
(19:50 +0100)
committer
Shawn Guo
<shawn.guo@linaro.org>
Sun, 9 Feb 2014 13:33:27 +0000
(21:33 +0800)
This allows to read the SoC on-die temperature sensor available on the LRADC by
using:
cat /sys/class/hwmon/hwmon0/device/temp1_input
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx28.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/imx28.dtsi
b/arch/arm/boot/dts/imx28.dtsi
index 2575dd8342243f045906b6cc4de76a17f75f33ed..f60ed820b40a53fc18ddc2bb57aa1407c45b0b32 100644
(file)
--- a/
arch/arm/boot/dts/imx28.dtsi
+++ b/
arch/arm/boot/dts/imx28.dtsi
@@
-1182,4
+1182,9
@@
etn_switch: switch@800f8000 {
status = "disabled";
};
};
+
+ iio_hwmon {
+ compatible = "iio-hwmon";
+ io-channels = <&lradc 8>;
+ };
};