]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel
authorSanchayan Maity <maitysanchayan@gmail.com>
Tue, 16 Feb 2016 05:00:55 +0000 (10:30 +0530)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 5 Mar 2016 14:25:34 +0000 (06:25 -0800)
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>
arch/arm/boot/dts/vfxxx.dtsi

index a9ceb5bac40ef244dc6ca18602eef4072b87a57d..4539f8d909a532121771c2259598d596c1e1971e 100644 (file)
@@ -629,5 +629,10 @@ i2c3: i2c@400e7000 {
                                status = "disabled";
                        };
                };
+
+               iio-hwmon {
+                       compatible = "iio-hwmon";
+                       io-channels = <&adc0 16>, <&adc1 16>;
+               };
        };
 };