diff mbox

ARM: dts: mx23: fix iio-hwmon support

Message ID 1433282608-16257-1-git-send-email-stefan.wahren@i2se.com (mailing list archive)
State New, archived
Headers show

Commit Message

Stefan Wahren June 2, 2015, 10:03 p.m. UTC
In order to get iio-hwmon support, the lradc must be declared as an
iio provider. So fix this issue by adding the #io-channel-cells property.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: bd798f9c7b30 ("ARM: dts: mxs: Add iio-hwmon to mx23 soc")
---
 arch/arm/boot/dts/imx23.dtsi |    1 +
 1 file changed, 1 insertion(+)

Comments

Marek Vasut June 3, 2015, 12:41 p.m. UTC | #1
On Wednesday, June 03, 2015 at 12:03:28 AM, Stefan Wahren wrote:
> In order to get iio-hwmon support, the lradc must be declared as an
> iio provider. So fix this issue by adding the #io-channel-cells property.
> 
> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> Fixes: bd798f9c7b30 ("ARM: dts: mxs: Add iio-hwmon to mx23 soc")

Reviewed-by: Marek Vasut <marex@denx.de>

[...]

Best regards,
Marek Vasut
Alexandre Belloni June 8, 2015, 6:04 p.m. UTC | #2
On 02/06/2015 at 22:03:28 +0000, Stefan Wahren wrote :
> In order to get iio-hwmon support, the lradc must be declared as an
> iio provider. So fix this issue by adding the #io-channel-cells property.
> 
> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> Fixes: bd798f9c7b30 ("ARM: dts: mxs: Add iio-hwmon to mx23 soc")

Reviewed-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Shawn Guo June 29, 2015, 11:58 a.m. UTC | #3
On Tue, Jun 02, 2015 at 10:03:28PM +0000, Stefan Wahren wrote:
> In order to get iio-hwmon support, the lradc must be declared as an
> iio provider. So fix this issue by adding the #io-channel-cells property.
> 
> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> Fixes: bd798f9c7b30 ("ARM: dts: mxs: Add iio-hwmon to mx23 soc")

Applied with a stable tag, thanks.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi
index c892d58..b995333 100644
--- a/arch/arm/boot/dts/imx23.dtsi
+++ b/arch/arm/boot/dts/imx23.dtsi
@@ -468,6 +468,7 @@ 
 				interrupts = <36 37 38 39 40 41 42 43 44>;
 				status = "disabled";
 				clocks = <&clks 26>;
+				#io-channel-cells = <1>;
 			};
 
 			spdif@80054000 {