All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 7/7] ARM: dts: imx6q-sabrelite: add usbotg pinctrl support
Date: Thu, 12 Jul 2012 09:30:28 +0800	[thread overview]
Message-ID: <20120712013026.GC6971@S2101-09.ap.freescale.net> (raw)
In-Reply-To: <1342006425-21008-8-git-send-email-richard.zhao@freescale.com>

On Wed, Jul 11, 2012 at 07:33:45PM +0800, Richard Zhao wrote:
> Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
> ---
>  arch/arm/boot/dts/imx6q-sabrelite.dts |    2 ++
>  arch/arm/boot/dts/imx6q.dtsi          |    6 ++++++
>  2 files changed, 8 insertions(+)
> 
I haven't see usb driver that Greg applied calls pinctrl API to set up
the pin.  So I'm not going to apply this one.

Regards,
Shawn

> diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
> index 5bba0d1..de3cd2e 100644
> --- a/arch/arm/boot/dts/imx6q-sabrelite.dts
> +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
> @@ -57,6 +57,8 @@
>  		aips-bus at 02100000 { /* AIPS2 */
>  			usb at 02184000 { /* USB OTG */
>  				vbus-supply = <&reg_usb_otg_vbus>;
> +				pinctrl-names = "default";
> +				pinctrl-0 = <&pinctrl_usbotg_1>;
>  				status = "okay";
>  			};
>  
> diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
> index 5e4f100..64a24a0 100644
> --- a/arch/arm/boot/dts/imx6q.dtsi
> +++ b/arch/arm/boot/dts/imx6q.dtsi
> @@ -552,6 +552,12 @@
>  					};
>  				};
>  
> +				usbotg {
> +					pinctrl_usbotg_1: usbotggrp-1 {
> +						fsl,pins = <1591 0x17059>;	/* MX6Q_PAD_GPIO_1__USBOTG_ID */
> +					};
> +				};
> +
>  				usdhc3 {
>  					pinctrl_usdhc3_1: usdhc3grp-1 {
>  						fsl,pins = <1273 0x17059	/* MX6Q_PAD_SD3_CMD__USDHC3_CMD */
> -- 
> 1.7.9.5
> 
> 

      reply	other threads:[~2012-07-12  1:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 11:33 [PATCH v6 0/7] imx28/imx6q: add usb support Richard Zhao
2012-07-11 11:33 ` [PATCH v6 1/7] ARM: imx6q: correct device name of usbphy and usb controller clock export Richard Zhao
2012-07-12  1:03   ` Shawn Guo
2012-07-12  1:14     ` Richard Zhao
2012-07-11 11:33 ` [PATCH v6 2/7] ARM: imx6q: add usbphy clocks Richard Zhao
2012-07-11 11:33 ` [PATCH v6 3/7] ARM: imx6q: disable usb charger detector Richard Zhao
2012-07-11 13:28   ` Otavio Salvador
2012-07-11 14:02     ` Richard Zhao
2012-07-11 15:54       ` Otavio Salvador
2012-07-12  2:06   ` Shawn Guo
2012-07-12  2:47     ` Otavio Salvador
2012-07-11 11:33 ` [PATCH v6 4/7] ARM: dts: imx6q-sabrelite: add usb devices Richard Zhao
2012-07-12  1:40   ` Shawn Guo
2012-07-11 11:33 ` [PATCH v6 5/7] ARM: mxs: clk_register_clkdev mx28 usb clocks Richard Zhao
2012-07-12  1:46   ` Shawn Guo
2012-07-11 11:33 ` [PATCH v6 6/7] ARM: dts: imx28-evk: add usb devices Richard Zhao
2012-07-12  1:45   ` Shawn Guo
2012-07-11 11:33 ` [PATCH v6 7/7] ARM: dts: imx6q-sabrelite: add usbotg pinctrl support Richard Zhao
2012-07-12  1:30   ` Shawn Guo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120712013026.GC6971@S2101-09.ap.freescale.net \
    --to=shawn.guo@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.