summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2016-02-16 08:00:55 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-03-05 17:25:34 +0300
commit0aa8a99680cf2a7bc216b379a9fc257893e606cb (patch)
tree95c63c80fc724262950c53a68d1ca2b7e134ea6a /arch/arm
parent0b452ccca6f9e55fc727a461f7a778bebbefff0b (diff)
downloadlinux-0aa8a99680cf2a7bc216b379a9fc257893e606cb.tar.xz
ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel
Add iio-hwmon node to expose the temperature channel on Vybrid as hardware monitor device using the iio_hwmon driver. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/vfxxx.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
index a9ceb5bac40e..4539f8d909a5 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -629,5 +629,10 @@
status = "disabled";
};
};
+
+ iio-hwmon {
+ compatible = "iio-hwmon";
+ io-channels = <&adc0 16>, <&adc1 16>;
+ };
};
};