[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1386362843-20798-1-git-send-email-alexandre.belloni@free-electrons.com>
Date: Fri, 6 Dec 2013 21:47:23 +0100
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Shawn Guo <shawn.guo@...aro.org>
Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>, jimwall@...om,
brian@...stalfontz.com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>
Subject: [PATCH] ARM: dts: mxs: Add iio-hwmon to crystalfontz boards
Signed-off-by: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
---
This won't work until those patches are applied:
https://lkml.org/lkml/2013/12/6/676
and http://lists.infradead.org/pipermail/linux-arm-kernel/2013-December/216963.html
However, I'm wondering if it wouldn't make sense to add it directly in
imx28.dtsi
arch/arm/boot/dts/imx28-cfa10036.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts/imx28-cfa10036.dts
index cabb6171a19d..51ebf36dd7b9 100644
--- a/arch/arm/boot/dts/imx28-cfa10036.dts
+++ b/arch/arm/boot/dts/imx28-cfa10036.dts
@@ -114,4 +114,9 @@
default-state = "on";
};
};
+
+ iio_hwmon {
+ compatible = "iio-hwmon";
+ io-channels = <&lradc 8>;
+ };
};
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists