Linux-Devicetree Archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: mx23: fix iio-hwmon support
@ 2015-06-02 22:03 Stefan Wahren
       [not found] ` <1433282608-16257-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Wahren @ 2015-06-02 22:03 UTC (permalink / raw
  To: Shawn Guo
  Cc: Fabio Estevam, Marek Vasut, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Alexandre Belloni, Stefan Wahren

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-eS4NqCHxEME@public.gmane.org>
Fixes: bd798f9c7b30 ("ARM: dts: mxs: Add iio-hwmon to mx23 soc")
---
 arch/arm/boot/dts/imx23.dtsi |    1 +
 1 file changed, 1 insertion(+)

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 {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: mx23: fix iio-hwmon support
       [not found] ` <1433282608-16257-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
@ 2015-06-03 12:41   ` Marek Vasut
  2015-06-08 18:04   ` Alexandre Belloni
  2015-06-29 11:58   ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2015-06-03 12:41 UTC (permalink / raw
  To: Stefan Wahren
  Cc: Shawn Guo, Fabio Estevam, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Alexandre Belloni

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-eS4NqCHxEME@public.gmane.org>
> Fixes: bd798f9c7b30 ("ARM: dts: mxs: Add iio-hwmon to mx23 soc")

Reviewed-by: Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>

[...]

Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: mx23: fix iio-hwmon support
       [not found] ` <1433282608-16257-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
  2015-06-03 12:41   ` Marek Vasut
@ 2015-06-08 18:04   ` Alexandre Belloni
  2015-06-29 11:58   ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2015-06-08 18:04 UTC (permalink / raw
  To: Stefan Wahren
  Cc: Shawn Guo, Fabio Estevam, Marek Vasut,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

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-eS4NqCHxEME@public.gmane.org>
> Fixes: bd798f9c7b30 ("ARM: dts: mxs: Add iio-hwmon to mx23 soc")

Reviewed-by: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: mx23: fix iio-hwmon support
       [not found] ` <1433282608-16257-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
  2015-06-03 12:41   ` Marek Vasut
  2015-06-08 18:04   ` Alexandre Belloni
@ 2015-06-29 11:58   ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2015-06-29 11:58 UTC (permalink / raw
  To: Stefan Wahren
  Cc: Shawn Guo, Fabio Estevam, Marek Vasut,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Alexandre Belloni,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

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-eS4NqCHxEME@public.gmane.org>
> Fixes: bd798f9c7b30 ("ARM: dts: mxs: Add iio-hwmon to mx23 soc")

Applied with a stable tag, thanks.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-29 11:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-02 22:03 [PATCH] ARM: dts: mx23: fix iio-hwmon support Stefan Wahren
     [not found] ` <1433282608-16257-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2015-06-03 12:41   ` Marek Vasut
2015-06-08 18:04   ` Alexandre Belloni
2015-06-29 11:58   ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).