From: Sanchayan Maity Date: Tue, 16 Feb 2016 05:00:55 +0000 (+0530) Subject: ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0aa8a99680cf2a7bc216b379a9fc257893e606cb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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>; + }; }; };