All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Li Yang-R58472 <LeoLi@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [RFC PATCH 2/2 v2] powerpc/83xx: mpc836x_mds: add support for USBHost
Date: Thu, 4 Sep 2008 16:22:18 +0400	[thread overview]
Message-ID: <20080904122218.GA25935@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <0C69E0CDED15E4469A445DE244C1B9F708D19A@zch01exm26.fsl.freescale.net>

On Thu, Sep 04, 2008 at 02:45:05PM +0800, Li Yang-R58472 wrote:
> > -----Original Message-----
> > From: Anton Vorontsov [mailto:avorontsov@ru.mvista.com] 
> > Sent: Monday, September 01, 2008 9:35 PM
> > To: Kumar Gala
> > Cc: linuxppc-dev@ozlabs.org; Li Yang-R58472
> > Subject: [RFC PATCH 2/2 v2] powerpc/83xx: mpc836x_mds: add 
> > support for USBHost
> > 
> > Various changes to support QE USB Host on a MPC8360E-MDS board:
> > 
> > - Update the device tree per QE USB bindings;
> > - Configure QE Par IO;
> > - Set up BCSR for both USB Host and Peripheral modes;
> > - Add timer (GTM) node;
> > - Add gpio-controller node for BCSR13 bank;
> > - Select FSL_GTM, QE_GPIO and OF_SIMPLE_GPIO.
> > 
> > The work is loosely based on Li Yang's patch[1], which is 
> > used to support peripheral mode only.
> > 
> > [1] http://ozlabs.org/pipermail/linuxppc-dev/2008-August/061357.html
> > 
> > The s-o-b line of the original patch preserved here.
> > 
> > Signed-off-by: Li Yang <leoli@freescale.com>
> > Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> 
> {snip}
> > @@ -297,11 +328,20 @@
> >  		};
> >  
> >  		usb@6c0 {
> > -			compatible = "qe_udc";
> > +			compatible = "fsl,mpc8360-qe-usb",
> > +				     "fsl,mpc8323-qe-usb";
> >  			reg = <0x6c0 0x40 0x8b00 0x100>;
> >  			interrupts = <11>;
> >  			interrupt-parent = <&qeic>;
> > -			mode = "slave";
> > +			fsl,fullspeed-clock = "clk21";
> > +			fsl,lowspeed-clock = "brg9";
> > +			gpios = <&qe_pio_b  2 0   /* USBOE */
> > +				 &qe_pio_b  3 0   /* USBTP */
> > +				 &qe_pio_b  8 0   /* USBTN */
> > +				 &qe_pio_b  9 0   /* USBRP */
> > +				 &qe_pio_b 11 0   /* USBRN */
> > +				 &bcsr13    5 0   /* SPEED */
> > +				 &bcsr13    4 1>; /* POWER */
> 
> 
> Nothing against this node.  But I don't think gpio nodes can
> replaces par_io nodes. 

Yes, they can't, and gpios = <> are not meant to be replacement
for par_io nodes. gpios are used by the host driver, the driver
really needs these "gpios = <>" as gpios.

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2

      reply	other threads:[~2008-09-04 12:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-25 15:27 [RFC PATCH 2/2] powerpc/83xx: mpc836x_mds: add support for USB Host Anton Vorontsov
2008-08-26  5:24 ` David Gibson
2008-09-01 13:34 ` [RFC PATCH 2/2 v2] " Anton Vorontsov
2008-09-04  6:45   ` [RFC PATCH 2/2 v2] powerpc/83xx: mpc836x_mds: add support for USBHost Li Yang-R58472
2008-09-04 12:22     ` Anton Vorontsov [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=20080904122218.GA25935@oksana.dev.rtsoft.ru \
    --to=avorontsov@ru.mvista.com \
    --cc=LeoLi@freescale.com \
    --cc=linuxppc-dev@ozlabs.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.