Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1334999
| From | Sanchayan Maity <maitysanchayan@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 3/3] ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel |
| Date | 2016-02-16 06:10 +0100 |
| Message-ID | <r2G3D-399-5@gated-at.bofh.it> (permalink) |
| References | <r2G3D-399-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
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 a5f07e3..24ac5b1 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -673,5 +673,10 @@
status = "disabled";
};
};
+
+ iio-hwmon {
+ compatible = "iio-hwmon";
+ io-channels = <&adc0 16>, <&adc1 16>;
+ };
};
};
--
2.7.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v3 3/3] ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel Sanchayan Maity <maitysanchayan@gmail.com> - 2016-02-16 06:10 +0100 Re: [PATCH v3 3/3] ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel Stefan Agner <stefan@agner.ch> - 2016-02-16 19:00 +0100
csiph-web