RE: [PATCH 6/8] pinctrl: sh-pfc: r8a77995: Add USB2.0 host support

2017-09-14 Thread Yoshihiro Shimoda
Hi Geert-san,

> From: Yoshihiro Shimoda
> Sent: Wednesday, August 30, 2017 10:07 PM
> 
> Hi Geert-san,
> 
> I'm sorry. I missed this email...
> 
> > From: Geert Uytterhoeven
> > Sent: Wednesday, August 16, 2017 8:11 PM
> >
> > Hi Shimoda-san, Kihara-san,
> >
> > On Wed, Aug 9, 2017 at 2:19 PM, Yoshihiro Shimoda
> >  wrote:
> > > From: Takeshi Kihara 
> > >
> > > Signed-off-by: Takeshi Kihara 
> > > Signed-off-by: Yoshihiro Shimoda 
> > > ---
> > >  drivers/pinctrl/sh-pfc/pfc-r8a77995.c | 15 +++
> > >  1 file changed, 15 insertions(+)
> > >
> > > diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c 
> > > b/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> > > index 9eb0cef..5c0a94f 100644
> > > --- a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> > > +++ b/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> > > @@ -1302,6 +1302,15 @@ enum {
> > > SCIF_CLK_MARK,
> > >  };
> > >
> > > +/* - USB0 
> > > --- */
> > > +static const unsigned int usb0_pins[] = {
> > > +   /* PWEN, OVC */
> > > +   RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1),
> > > +};
> > > +static const unsigned int usb0_mux[] = {
> > > +   USB0_PWEN_MARK, USB0_OVC_MARK,
> > > +};
> >
> > What about USB0_IDPU and USB0_IDIN?
> > Are they needed for normal operation, or can they be added later?
> 
> I don't know about these pins. The datasheet doesn't mention usage in USB 
> sections...
> So, I'm asking HW team now. (I think they can be added later.)

HW team said it is an error in writing, and these pins descriptions will be
removed in the future. So, I will rebase this patch on etherevb pfc patch which 
I sent.

Best regards,
Yoshihiro Shimoda

> Best regards,
> Yoshihiro Shimoda
> 
> > Thanks!
> >
> > Gr{oetje,eeting}s,
> >
> > Geert
> >
> > --
> > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- 
> > ge...@linux-m68k.org
> >
> > In personal conversations with technical people, I call myself a hacker. But
> > when I'm talking to journalists I just say "programmer" or something like 
> > that.
> > -- Linus Torvalds


RE: [PATCH 6/8] pinctrl: sh-pfc: r8a77995: Add USB2.0 host support

2017-08-30 Thread Yoshihiro Shimoda
Hi Geert-san,

I'm sorry. I missed this email...

> From: Geert Uytterhoeven
> Sent: Wednesday, August 16, 2017 8:11 PM
> 
> Hi Shimoda-san, Kihara-san,
> 
> On Wed, Aug 9, 2017 at 2:19 PM, Yoshihiro Shimoda
>  wrote:
> > From: Takeshi Kihara 
> >
> > Signed-off-by: Takeshi Kihara 
> > Signed-off-by: Yoshihiro Shimoda 
> > ---
> >  drivers/pinctrl/sh-pfc/pfc-r8a77995.c | 15 +++
> >  1 file changed, 15 insertions(+)
> >
> > diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c 
> > b/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> > index 9eb0cef..5c0a94f 100644
> > --- a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> > +++ b/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> > @@ -1302,6 +1302,15 @@ enum {
> > SCIF_CLK_MARK,
> >  };
> >
> > +/* - USB0 
> > --- */
> > +static const unsigned int usb0_pins[] = {
> > +   /* PWEN, OVC */
> > +   RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1),
> > +};
> > +static const unsigned int usb0_mux[] = {
> > +   USB0_PWEN_MARK, USB0_OVC_MARK,
> > +};
> 
> What about USB0_IDPU and USB0_IDIN?
> Are they needed for normal operation, or can they be added later?

I don't know about these pins. The datasheet doesn't mention usage in USB 
sections...
So, I'm asking HW team now. (I think they can be added later.)

Best regards,
Yoshihiro Shimoda

> Thanks!
> 
> Gr{oetje,eeting}s,
> 
> Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- 
> ge...@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like 
> that.
> -- Linus Torvalds


Re: [PATCH 6/8] pinctrl: sh-pfc: r8a77995: Add USB2.0 host support

2017-08-16 Thread Geert Uytterhoeven
Hi Shimoda-san, Kihara-san,

On Wed, Aug 9, 2017 at 2:19 PM, Yoshihiro Shimoda
 wrote:
> From: Takeshi Kihara 
>
> Signed-off-by: Takeshi Kihara 
> Signed-off-by: Yoshihiro Shimoda 
> ---
>  drivers/pinctrl/sh-pfc/pfc-r8a77995.c | 15 +++
>  1 file changed, 15 insertions(+)
>
> diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c 
> b/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> index 9eb0cef..5c0a94f 100644
> --- a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> +++ b/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
> @@ -1302,6 +1302,15 @@ enum {
> SCIF_CLK_MARK,
>  };
>
> +/* - USB0 
> --- */
> +static const unsigned int usb0_pins[] = {
> +   /* PWEN, OVC */
> +   RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1),
> +};
> +static const unsigned int usb0_mux[] = {
> +   USB0_PWEN_MARK, USB0_OVC_MARK,
> +};

What about USB0_IDPU and USB0_IDIN?
Are they needed for normal operation, or can they be added later?

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds