devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: move wl12xx pins to the proper pinmux for pandaboard
@ 2013-10-11 19:33 Andrey Konovalov
       [not found] ` <525852A4.6090500-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Konovalov @ 2013-10-11 19:33 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ, devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: rnayak-l0cyMroinI0, bcousson-rdvid1DuHRBWk0Htik3J/w,
	luca-XPOmlcxoEMv1KXRcyAk9cg, p.pisati-Re5JQEeQqe8AvxtiuMwx3w

Commit 851320e (ARM: dts: Fix muxing and regulator for wl12xx on the
SDIO bus for pandaboard) put the wl12xx pins into omap4_pmx_wkup. This
is not correct, and results in the following messages at the boot time:

  pinctrl-single 4a31e040.pinmux: mux offset out of range: 0x38 (0x38)
  pinctrl-single 4a31e040.pinmux: could not add functions for pinmux_wl12xx_pins 56x

Actually these pins belong to omap4_pmx_core.

Signed-off-by: Andrey Konovalov <andrey.konovalov-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
  arch/arm/boot/dts/omap4-panda-common.dtsi |   19 ++++++++++---------
  1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi
index 814ab67..712ddbf 100644
--- a/arch/arm/boot/dts/omap4-panda-common.dtsi
+++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
@@ -239,15 +239,6 @@
  			0xf0 (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c4_sda */
  		>;
  	};
-};
-
-&omap4_pmx_wkup {
-	led_wkgpio_pins: pinmux_leds_wkpins {
-		pinctrl-single,pins = <
-			0x1a (PIN_OUTPUT | MUX_MODE3)	/* gpio_wk7 */
-			0x1c (PIN_OUTPUT | MUX_MODE3)	/* gpio_wk8 */
-		>;
-	};

  	/*
  	 * wl12xx GPIO outputs for WLAN_EN, BT_EN, FM_EN, BT_WAKEUP
@@ -277,6 +268,16 @@
  	};
  };

+&omap4_pmx_wkup {
+	led_wkgpio_pins: pinmux_leds_wkpins {
+		pinctrl-single,pins = <
+			0x1a (PIN_OUTPUT | MUX_MODE3)	/* gpio_wk7 */
+			0x1c (PIN_OUTPUT | MUX_MODE3)	/* gpio_wk8 */
+		>;
+	};
+
+};
+
  &i2c1 {
  	pinctrl-names = "default";
  	pinctrl-0 = <&i2c1_pins>;
-- 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] 3+ messages in thread

* Re: [PATCH] ARM: dts: move wl12xx pins to the proper pinmux for pandaboard
       [not found] ` <525852A4.6090500-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
@ 2013-10-12  2:48   ` Tony Lindgren
  2013-10-23  8:33   ` Benoit Cousson
  1 sibling, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2013-10-12  2:48 UTC (permalink / raw)
  To: Andrey Konovalov
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, rnayak-l0cyMroinI0,
	bcousson-rdvid1DuHRBWk0Htik3J/w, luca-XPOmlcxoEMv1KXRcyAk9cg,
	p.pisati-Re5JQEeQqe8AvxtiuMwx3w

* Andrey Konovalov <andrey.konovalov-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> [131011 12:42]:
> Commit 851320e (ARM: dts: Fix muxing and regulator for wl12xx on the
> SDIO bus for pandaboard) put the wl12xx pins into omap4_pmx_wkup. This
> is not correct, and results in the following messages at the boot time:
> 
>  pinctrl-single 4a31e040.pinmux: mux offset out of range: 0x38 (0x38)
>  pinctrl-single 4a31e040.pinmux: could not add functions for pinmux_wl12xx_pins 56x
> 
> Actually these pins belong to omap4_pmx_core.

Oops indeed. I wonder how that happened..

Acked-by: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
 
> Signed-off-by: Andrey Konovalov <andrey.konovalov-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
>  arch/arm/boot/dts/omap4-panda-common.dtsi |   19 ++++++++++---------
>  1 file changed, 10 insertions(+), 9 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi
> index 814ab67..712ddbf 100644
> --- a/arch/arm/boot/dts/omap4-panda-common.dtsi
> +++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
> @@ -239,15 +239,6 @@
>  			0xf0 (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c4_sda */
>  		>;
>  	};
> -};
> -
> -&omap4_pmx_wkup {
> -	led_wkgpio_pins: pinmux_leds_wkpins {
> -		pinctrl-single,pins = <
> -			0x1a (PIN_OUTPUT | MUX_MODE3)	/* gpio_wk7 */
> -			0x1c (PIN_OUTPUT | MUX_MODE3)	/* gpio_wk8 */
> -		>;
> -	};
> 
>  	/*
>  	 * wl12xx GPIO outputs for WLAN_EN, BT_EN, FM_EN, BT_WAKEUP
> @@ -277,6 +268,16 @@
>  	};
>  };
> 
> +&omap4_pmx_wkup {
> +	led_wkgpio_pins: pinmux_leds_wkpins {
> +		pinctrl-single,pins = <
> +			0x1a (PIN_OUTPUT | MUX_MODE3)	/* gpio_wk7 */
> +			0x1c (PIN_OUTPUT | MUX_MODE3)	/* gpio_wk8 */
> +		>;
> +	};
> +
> +};
> +
>  &i2c1 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&i2c1_pins>;
> -- 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	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: move wl12xx pins to the proper pinmux for pandaboard
       [not found] ` <525852A4.6090500-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  2013-10-12  2:48   ` Tony Lindgren
@ 2013-10-23  8:33   ` Benoit Cousson
  1 sibling, 0 replies; 3+ messages in thread
From: Benoit Cousson @ 2013-10-23  8:33 UTC (permalink / raw)
  To: Andrey Konovalov, tony-4v6yS6AI5VpBDgjK7y7TUQ,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: rnayak-l0cyMroinI0, luca-XPOmlcxoEMv1KXRcyAk9cg,
	p.pisati-Re5JQEeQqe8AvxtiuMwx3w

Hi Andrey,

On 11/10/2013 21:33, Andrey Konovalov wrote:
> Commit 851320e (ARM: dts: Fix muxing and regulator for wl12xx on the
> SDIO bus for pandaboard) put the wl12xx pins into omap4_pmx_wkup. This
> is not correct, and results in the following messages at the boot time:
>
>   pinctrl-single 4a31e040.pinmux: mux offset out of range: 0x38 (0x38)
>   pinctrl-single 4a31e040.pinmux: could not add functions for
> pinmux_wl12xx_pins 56x
>
> Actually these pins belong to omap4_pmx_core.
>
> Signed-off-by: Andrey Konovalov <andrey.konovalov-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

That patch does not apply on any on my branches. Could you rebase it
on top of my for_3.13/dts branch.

Thanks,
Benoit

-- 
Benoît Cousson
BayLibre
Embedded Linux Technology Lab
www.baylibre.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] 3+ messages in thread

end of thread, other threads:[~2013-10-23  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11 19:33 [PATCH] ARM: dts: move wl12xx pins to the proper pinmux for pandaboard Andrey Konovalov
     [not found] ` <525852A4.6090500-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-10-12  2:48   ` Tony Lindgren
2013-10-23  8:33   ` Benoit Cousson

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 NNTP newsgroup(s).