diff options
author | Sanchayan Maity <maitysanchayan@gmail.com> | 2016-02-16 10:30:55 +0530 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-03-05 06:25:34 -0800 |
commit | 0aa8a99680cf2a7bc216b379a9fc257893e606cb (patch) | |
tree | 95c63c80fc724262950c53a68d1ca2b7e134ea6a | |
parent | 0b452ccca6f9e55fc727a461f7a778bebbefff0b (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.dtsi | 5 |
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>; + }; }; }; |