devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>
To: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
Cc: balbi-l0cyMroinI0@public.gmane.org,
	kishon-l0cyMroinI0@public.gmane.org,
	tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org,
	george.cherian-l0cyMroinI0@public.gmane.org,
	linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2 7/7] dts: dra7-evm: add USB support
Date: Mon, 28 Apr 2014 11:07:05 -0500	[thread overview]
Message-ID: <20140428160705.GK30292@saruman.home> (raw)
In-Reply-To: <1398693687-13967-8-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]

On Mon, Apr 28, 2014 at 05:01:27PM +0300, Roger Quadros wrote:
> Add USB pinmux information and USB modes
> for the USB controllers.
> 
> Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>

Reviewed-by: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>

> ---
>  arch/arm/boot/dts/dra7-evm.dts | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
> index 5babba0..1d77815 100644
> --- a/arch/arm/boot/dts/dra7-evm.dts
> +++ b/arch/arm/boot/dts/dra7-evm.dts
> @@ -93,6 +93,18 @@
>  			0x24c (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd */
>  		>;
>  	};
> +
> +	usb1_pins: pinmux_usb1_pins {
> +                pinctrl-single,pins = <
> +			0x280	0xc0000	/* usb1_drvvbus, SLOW_SLEW | PULLUPEN | MODE0 */
> +                >;
> +        };
> +
> +	usb2_pins: pinmux_usb2_pins {
> +                pinctrl-single,pins = <
> +			0x284	0xc0000 /* usb2_drvvbus, SLOW_SLEW | PULLUPEN | MODE0 */
> +                >;
> +        };
>  };
>  
>  &i2c1 {
> @@ -273,3 +285,15 @@
>  &cpu0 {
>  	cpu0-supply = <&smps123_reg>;
>  };
> +
> +&usb1 {
> +	dr_mode = "peripheral";
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&usb1_pins>;
> +};
> +
> +&usb2 {
> +	dr_mode = "host";
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&usb2_pins>;
> +};
> -- 
> 1.8.3.2
> 

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      parent reply	other threads:[~2014-04-28 16:07 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 14:01 [PATCH v2 0/7] USB support for DRA7-evm Roger Quadros
     [not found] ` <1398693687-13967-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 14:01   ` [PATCH v2 1/7] ARM: dts: dra7-clock: Add "l3init_960m_gfclk" clock gate Roger Quadros
2014-04-28 14:01   ` [PATCH v2 2/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss Roger Quadros
2014-04-28 14:01   ` [PATCH v2 3/7] phy: omap-usb2: Use generic clock names "wkupclk" and "refclk" Roger Quadros
     [not found]     ` <1398693687-13967-4-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:03       ` Felipe Balbi
     [not found]         ` <20140428160347.GG30292-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-04-29  7:50           ` Roger Quadros
     [not found]             ` <535F59CF.6050002-l0cyMroinI0@public.gmane.org>
2014-04-29 16:14               ` Felipe Balbi
     [not found]                 ` <20140429161420.GH633-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-04-29 16:16                   ` Felipe Balbi
     [not found]                     ` <20140429161616.GI633-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-04-30  7:16                       ` Roger Quadros
2014-04-30 15:20                     ` Nishanth Menon
2014-05-05  7:23                       ` Roger Quadros
2014-05-05  9:23                         ` Roger Quadros
2014-04-28 14:01   ` [PATCH v2 4/7] ARM: dts: omap4+: Add clocks to USB2 PHY node Roger Quadros
     [not found]     ` <1398693687-13967-5-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:04       ` Felipe Balbi
2014-04-28 14:01   ` [PATCH v2 5/7] phy: omap-usb2: Add clock names to Documentation binding Roger Quadros
     [not found]     ` <1398693687-13967-6-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:04       ` Felipe Balbi
2014-04-28 17:23       ` Sergei Shtylyov
2014-04-29  7:57         ` Roger Quadros
2014-04-28 14:01   ` [PATCH v2 6/7] ARM: dts: dra7: Add USB related nodes Roger Quadros
2014-04-28 16:05     ` Felipe Balbi
2014-04-28 14:01 ` [PATCH v2 7/7] dts: dra7-evm: add USB support Roger Quadros
     [not found]   ` <1398693687-13967-8-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:07     ` Felipe Balbi [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=20140428160705.GK30292@saruman.home \
    --to=balbi-l0cymroini0@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=george.cherian-l0cyMroinI0@public.gmane.org \
    --cc=kishon-l0cyMroinI0@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rogerq-l0cyMroinI0@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.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 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).