SUPERH platform development
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v4 19/88] sh-pfc: r8a7779: Add USB pin groups and functions
Date: Tue, 07 May 2013 06:36:35 +0000	[thread overview]
Message-ID: <1934021.AFFPs9EP9Z@avalon> (raw)
In-Reply-To: <1363215633-4264-20-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

Hi Sergei,

On Tuesday 07 May 2013 02:50:36 Sergei Shtylyov wrote:
> On 03/14/2013 01:59 AM, Laurent Pinchart wrote:
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
> > ---
> > 
> >   drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 42 ++++++++++++++++++++++++++++++
> >   1 file changed, 42 insertions(+)
> > 
> > diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7779.c
> > b/drivers/pinctrl/sh-pfc/pfc-r8a7779.c index 946572bc..6043d2c 100644
> > --- a/drivers/pinctrl/sh-pfc/pfc-r8a7779.c
> > +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7779.c
> > @@ -2198,6 +2198,30 @@ static const unsigned int sdhi3_wp_pins[] = {
> >   static const unsigned int sdhi3_wp_mux[] = {
> >   	SD3_WP_MARK,
> >   };
> > 
> > +/* - USB0 ------------------------------------------------------------ */
> > +static const unsigned int usb0_pins[] = {
> > +	/* OVC */
> > +	150, 154,
> > +};
> > +static const unsigned int usb0_mux[] = {
> > +	USB_OVC0_MARK, USB_PENC0_MARK,
> > +};
> > +/* - USB1 ------------------------------------------------------------ */
> > +static const unsigned int usb1_pins[] = {
> > +	/* OVC */
> > +	152, 155,
> > +};
> > +static const unsigned int usb1_mux[] = {
> > +	USB_OVC1_MARK, USB_PENC1_MARK,
> > +};
> > +/* - USB2 ------------------------------------------------------------ */
> > +static const unsigned int usb2_pins[] = {
> > +	/* OVC, PENC */
> > +	125, 156,
> > +};
> > +static const unsigned int usb2_mux[] = {
> > +	USB_OVC2_MARK, USB_PENC2_MARK,
> > +};
> 
> The PENCn and USB_OVCn were erroneously grouped together (I've already
> explained that the latter is usually unused 3.3V signal). This causes
> the following (false) error messages when booting on Marzen:
> 
> sh-pfc pfc-r8a7779: pin GP_4_22 already requested by sh-hspi.0; cannot
> claim for ehci-platform.0
> sh-pfc pfc-r8a7779: pin-150 (ehci-platform.0) status -22
> sh-pfc pfc-r8a7779: could not request pin 150 on device sh-pfc
> 
> GP_4_22 is multiplexed with USB_OVC0 (unused on Marzen) and HSPI_CLK0. This
> needs fixing.

Thank you for the explanation. I've sent a patch to fix this issue, could you 
please review it ?

-- 
Regards,

Laurent Pinchart


      parent reply	other threads:[~2013-05-07  6:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-13 22:59 [PATCH v4 19/88] sh-pfc: r8a7779: Add USB pin groups and functions Laurent Pinchart
2013-03-14 15:00 ` Linus Walleij
2013-05-06 22:50 ` Sergei Shtylyov
2013-05-07  6:36 ` Laurent Pinchart [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=1934021.AFFPs9EP9Z@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-sh@vger.kernel.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