aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2016-02-16 00:00:55 -0500
committerGuenter Roeck <linux@roeck-us.net>2016-03-05 09:25:34 -0500
commit0aa8a99680cf2a7bc216b379a9fc257893e606cb (patch)
tree95c63c80fc724262950c53a68d1ca2b7e134ea6a
parent0b452ccca6f9e55fc727a461f7a778bebbefff0b (diff)
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>
-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 @@
629 status = "disabled"; 629 status = "disabled";
630 }; 630 };
631 }; 631 };
632
633 iio-hwmon {
634 compatible = "iio-hwmon";
635 io-channels = <&adc0 16>, <&adc1 16>;
636 };
632 }; 637 };
633}; 638};