diff mbox

sh-pfc: r8a7778: tidyup MMC_D1 pin

Message ID 87fvwo6q8u.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Superseded
Commit cd622017eb3e0ab841502df88fb7fda3c3a58eb9
Headers show

Commit Message

Kuninori Morimoto June 12, 2013, 2:02 a.m. UTC
MMC_D1 is RCAR_GP_PIN(1, 8), not RCAR_GP_PIN(2, 8)

Reported-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
This patch is based on renesas-next-20130611v2

 drivers/pinctrl/sh-pfc/pfc-r8a7778.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Horman June 12, 2013, 8:23 a.m. UTC | #1
On Tue, Jun 11, 2013 at 07:02:20PM -0700, Kuninori Morimoto wrote:
> MMC_D1 is RCAR_GP_PIN(1, 8), not RCAR_GP_PIN(2, 8)
> 
> Reported-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Laurent, could you please review this?

> ---
> This patch is based on renesas-next-20130611v2
> 
>  drivers/pinctrl/sh-pfc/pfc-r8a7778.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> index 1dcbabc..f903910 100644
> --- a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> @@ -1447,11 +1447,11 @@ MMC_PFC_PINS(mmc_ctrl,		RCAR_GP_PIN(1, 5),	RCAR_GP_PIN(1, 6));
>  MMC_PFC_CTRL(mmc_ctrl,		MMC_CLK,		MMC_CMD);
>  MMC_PFC_PINS(mmc_data1,		RCAR_GP_PIN(1, 7));
>  MMC_PFC_DAT1(mmc_data1,		MMC_D0);
> -MMC_PFC_PINS(mmc_data4,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(2, 8),
> +MMC_PFC_PINS(mmc_data4,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(1, 8),
>  				RCAR_GP_PIN(0, 5),	RCAR_GP_PIN(0, 6));
>  MMC_PFC_DAT4(mmc_data4,		MMC_D0,			MMC_D1,
>  				MMC_D2,			MMC_D3);
> -MMC_PFC_PINS(mmc_data8,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(2, 8),
> +MMC_PFC_PINS(mmc_data8,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(1, 8),
>  				RCAR_GP_PIN(0, 5),	RCAR_GP_PIN(0, 6),
>  				RCAR_GP_PIN(1, 4),	RCAR_GP_PIN(1, 0),
>  				RCAR_GP_PIN(0, 30),	RCAR_GP_PIN(0, 31));
> -- 
> 1.7.9.5
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Simon Horman June 17, 2013, 7:05 a.m. UTC | #2
[ Actually CC Laurent ]

On Wed, Jun 12, 2013 at 05:23:38PM +0900, Simon Horman wrote:
> On Tue, Jun 11, 2013 at 07:02:20PM -0700, Kuninori Morimoto wrote:
> > MMC_D1 is RCAR_GP_PIN(1, 8), not RCAR_GP_PIN(2, 8)
> > 
> > Reported-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> Laurent, could you please review this?
> 
> > ---
> > This patch is based on renesas-next-20130611v2
> > 
> >  drivers/pinctrl/sh-pfc/pfc-r8a7778.c |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> > index 1dcbabc..f903910 100644
> > --- a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> > +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> > @@ -1447,11 +1447,11 @@ MMC_PFC_PINS(mmc_ctrl,		RCAR_GP_PIN(1, 5),	RCAR_GP_PIN(1, 6));
> >  MMC_PFC_CTRL(mmc_ctrl,		MMC_CLK,		MMC_CMD);
> >  MMC_PFC_PINS(mmc_data1,		RCAR_GP_PIN(1, 7));
> >  MMC_PFC_DAT1(mmc_data1,		MMC_D0);
> > -MMC_PFC_PINS(mmc_data4,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(2, 8),
> > +MMC_PFC_PINS(mmc_data4,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(1, 8),
> >  				RCAR_GP_PIN(0, 5),	RCAR_GP_PIN(0, 6));
> >  MMC_PFC_DAT4(mmc_data4,		MMC_D0,			MMC_D1,
> >  				MMC_D2,			MMC_D3);
> > -MMC_PFC_PINS(mmc_data8,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(2, 8),
> > +MMC_PFC_PINS(mmc_data8,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(1, 8),
> >  				RCAR_GP_PIN(0, 5),	RCAR_GP_PIN(0, 6),
> >  				RCAR_GP_PIN(1, 4),	RCAR_GP_PIN(1, 0),
> >  				RCAR_GP_PIN(0, 30),	RCAR_GP_PIN(0, 31));
> > -- 
> > 1.7.9.5
> > 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Laurent Pinchart June 17, 2013, 10:38 a.m. UTC | #3
Hi Simon,

On Monday 17 June 2013 16:05:38 Simon Horman wrote:
> [ Actually CC Laurent ]
> 
> On Wed, Jun 12, 2013 at 05:23:38PM +0900, Simon Horman wrote:
> > On Tue, Jun 11, 2013 at 07:02:20PM -0700, Kuninori Morimoto wrote:
> > > MMC_D1 is RCAR_GP_PIN(1, 8), not RCAR_GP_PIN(2, 8)
> > > 
> > > Reported-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
> > > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > 
> > Laurent, could you please review this?

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Remind me next time we meet to show you what to check in the datasheet to 
review this kind of patches ;-)

> > > ---
> > > This patch is based on renesas-next-20130611v2
> > > 
> > >  drivers/pinctrl/sh-pfc/pfc-r8a7778.c |    4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> > > b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c index 1dcbabc..f903910 100644
> > > --- a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> > > +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> > > @@ -1447,11 +1447,11 @@ MMC_PFC_PINS(mmc_ctrl,		RCAR_GP_PIN(1,
> > > 5),	RCAR_GP_PIN(1, 6));> > 
> > >  MMC_PFC_CTRL(mmc_ctrl,		MMC_CLK,		MMC_CMD);
> > >  MMC_PFC_PINS(mmc_data1,		RCAR_GP_PIN(1, 7));
> > >  MMC_PFC_DAT1(mmc_data1,		MMC_D0);
> > > 
> > > -MMC_PFC_PINS(mmc_data4,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(2, 8),
> > > +MMC_PFC_PINS(mmc_data4,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(1, 8),
> > > 
> > >  				RCAR_GP_PIN(0, 5),	RCAR_GP_PIN(0, 6));
> > >  
> > >  MMC_PFC_DAT4(mmc_data4,		MMC_D0,			MMC_D1,
> > >  
> > >  				MMC_D2,			MMC_D3);
> > > 
> > > -MMC_PFC_PINS(mmc_data8,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(2, 8),
> > > +MMC_PFC_PINS(mmc_data8,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(1, 8),
> > > 
> > >  				RCAR_GP_PIN(0, 5),	RCAR_GP_PIN(0, 6),
> > >  				RCAR_GP_PIN(1, 4),	RCAR_GP_PIN(1, 0),
> > >  				RCAR_GP_PIN(0, 30),	RCAR_GP_PIN(0, 31));
Simon Horman June 18, 2013, 7:11 a.m. UTC | #4
On Mon, Jun 17, 2013 at 12:38:59PM +0200, Laurent Pinchart wrote:
> Hi Simon,
> 
> On Monday 17 June 2013 16:05:38 Simon Horman wrote:
> > [ Actually CC Laurent ]
> > 
> > On Wed, Jun 12, 2013 at 05:23:38PM +0900, Simon Horman wrote:
> > > On Tue, Jun 11, 2013 at 07:02:20PM -0700, Kuninori Morimoto wrote:
> > > > MMC_D1 is RCAR_GP_PIN(1, 8), not RCAR_GP_PIN(2, 8)
> > > > 
> > > > Reported-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
> > > > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > > 
> > > Laurent, could you please review this?
> 
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> 
> Remind me next time we meet to show you what to check in the datasheet to 
> review this kind of patches ;-)

Thanks.

> > > > ---
> > > > This patch is based on renesas-next-20130611v2
> > > > 
> > > >  drivers/pinctrl/sh-pfc/pfc-r8a7778.c |    4 ++--
> > > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > > 
> > > > diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> > > > b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c index 1dcbabc..f903910 100644
> > > > --- a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> > > > +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
> > > > @@ -1447,11 +1447,11 @@ MMC_PFC_PINS(mmc_ctrl,		RCAR_GP_PIN(1,
> > > > 5),	RCAR_GP_PIN(1, 6));> > 
> > > >  MMC_PFC_CTRL(mmc_ctrl,		MMC_CLK,		MMC_CMD);
> > > >  MMC_PFC_PINS(mmc_data1,		RCAR_GP_PIN(1, 7));
> > > >  MMC_PFC_DAT1(mmc_data1,		MMC_D0);
> > > > 
> > > > -MMC_PFC_PINS(mmc_data4,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(2, 8),
> > > > +MMC_PFC_PINS(mmc_data4,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(1, 8),
> > > > 
> > > >  				RCAR_GP_PIN(0, 5),	RCAR_GP_PIN(0, 6));
> > > >  
> > > >  MMC_PFC_DAT4(mmc_data4,		MMC_D0,			MMC_D1,
> > > >  
> > > >  				MMC_D2,			MMC_D3);
> > > > 
> > > > -MMC_PFC_PINS(mmc_data8,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(2, 8),
> > > > +MMC_PFC_PINS(mmc_data8,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(1, 8),
> > > > 
> > > >  				RCAR_GP_PIN(0, 5),	RCAR_GP_PIN(0, 6),
> > > >  				RCAR_GP_PIN(1, 4),	RCAR_GP_PIN(1, 0),
> > > >  				RCAR_GP_PIN(0, 30),	RCAR_GP_PIN(0, 31));
> 
> -- 
> Regards,
> 
> Laurent Pinchart
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
index 1dcbabc..f903910 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c
@@ -1447,11 +1447,11 @@  MMC_PFC_PINS(mmc_ctrl,		RCAR_GP_PIN(1, 5),	RCAR_GP_PIN(1, 6));
 MMC_PFC_CTRL(mmc_ctrl,		MMC_CLK,		MMC_CMD);
 MMC_PFC_PINS(mmc_data1,		RCAR_GP_PIN(1, 7));
 MMC_PFC_DAT1(mmc_data1,		MMC_D0);
-MMC_PFC_PINS(mmc_data4,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(2, 8),
+MMC_PFC_PINS(mmc_data4,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(1, 8),
 				RCAR_GP_PIN(0, 5),	RCAR_GP_PIN(0, 6));
 MMC_PFC_DAT4(mmc_data4,		MMC_D0,			MMC_D1,
 				MMC_D2,			MMC_D3);
-MMC_PFC_PINS(mmc_data8,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(2, 8),
+MMC_PFC_PINS(mmc_data8,		RCAR_GP_PIN(1, 7),	RCAR_GP_PIN(1, 8),
 				RCAR_GP_PIN(0, 5),	RCAR_GP_PIN(0, 6),
 				RCAR_GP_PIN(1, 4),	RCAR_GP_PIN(1, 0),
 				RCAR_GP_PIN(0, 30),	RCAR_GP_PIN(0, 31));