1 From 8bfdbba339bd363633e2232777fd749000011a41 Mon Sep 17 00:00:00 2001
2 From: Annaliese McDermond <nh6z@nh6z.net>
3 Date: Sun, 2 Aug 2020 18:25:07 +0000
4 Subject: [PATCH] dtoverlays: Add the iio_hwmon driver to correct ADC
7 The Linux kernel maintainers removed the hwmon driver for the
8 ads1015 used on this board. They deprecated it in favor of using
9 the IIO version of the driver with the iio_hwmon bridge. This
10 patch updates the DRAWS dtoverlay to support that usage.
12 Signed-off-by: Annaliese McDermond <nh6z@nh6z.net>
14 arch/arm/boot/dts/overlays/draws-overlay.dts | 8 ++++++++
15 1 file changed, 8 insertions(+)
17 --- a/arch/arm/boot/dts/overlays/draws-overlay.dts
18 +++ b/arch/arm/boot/dts/overlays/draws-overlay.dts
25 + compatible = "iio-hwmon";
27 + io-channels = <&tla2024 4>, <&tla2024 5>, <&tla2024 6>,
37 + #io-channel-cells = <1>;