From 0aa8a99680cf2a7bc216b379a9fc257893e606cb Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Tue, 16 Feb 2016 10:30:55 +0530 Subject: [PATCH] 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 Acked-by: Stefan Agner Signed-off-by: Guenter Roeck --- arch/arm/boot/dts/vfxxx.dtsi | 5 +++++ 1 file changed, 5 insertions(+) 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>; + }; }; }; -- 2.39.5