All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: renesas: rzg2l: Fix missing port register 21h
@ 2021-09-22  7:41 Biju Das
  2021-09-24  8:46 ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Biju Das @ 2021-09-22  7:41 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Biju Das, Geert Uytterhoeven, linux-renesas-soc, linux-gpio,
	Chris Paterson, Biju Das, Prabhakar Mahadev Lad

Remove the duplicate port register 22h and replace it with missing port
register 21h.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 drivers/pinctrl/renesas/pinctrl-rzg2l.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/renesas/pinctrl-rzg2l.c b/drivers/pinctrl/renesas/pinctrl-rzg2l.c
index dbf2f521bb27..20b2af889ca9 100644
--- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c
+++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c
@@ -852,7 +852,7 @@ static const u32 rzg2l_gpio_configs[] = {
 	RZG2L_GPIO_PORT_PACK(2, 0x1e, RZG2L_MPXED_PIN_FUNCS),
 	RZG2L_GPIO_PORT_PACK(2, 0x1f, RZG2L_MPXED_PIN_FUNCS),
 	RZG2L_GPIO_PORT_PACK(2, 0x20, RZG2L_MPXED_PIN_FUNCS),
-	RZG2L_GPIO_PORT_PACK(3, 0x22, RZG2L_MPXED_PIN_FUNCS),
+	RZG2L_GPIO_PORT_PACK(3, 0x21, RZG2L_MPXED_PIN_FUNCS),
 	RZG2L_GPIO_PORT_PACK(2, 0x22, RZG2L_MPXED_PIN_FUNCS),
 	RZG2L_GPIO_PORT_PACK(2, 0x23, RZG2L_MPXED_PIN_FUNCS),
 	RZG2L_GPIO_PORT_PACK(3, 0x24, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IOLH_ETH0)),
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] pinctrl: renesas: rzg2l: Fix missing port register 21h
  2021-09-22  7:41 [PATCH] pinctrl: renesas: rzg2l: Fix missing port register 21h Biju Das
@ 2021-09-24  8:46 ` Geert Uytterhoeven
  2021-09-24  9:03   ` Biju Das
  0 siblings, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2021-09-24  8:46 UTC (permalink / raw)
  To: Biju Das
  Cc: Linus Walleij, Linux-Renesas, open list:GPIO SUBSYSTEM,
	Chris Paterson, Biju Das, Prabhakar Mahadev Lad

Hi Biju,

On Wed, Sep 22, 2021 at 9:54 AM Biju Das <biju.das.jz@bp.renesas.com> wrote:
> Remove the duplicate port register 22h and replace it with missing port
> register 21h.

Thanks for your patch!

> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue as a fix in renesas-pinctrl-for-v5.15, as this will
become a dependency when enabling SDHI/SD0, right?

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] pinctrl: renesas: rzg2l: Fix missing port register 21h
  2021-09-24  8:46 ` Geert Uytterhoeven
@ 2021-09-24  9:03   ` Biju Das
  2021-09-24  9:11     ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Biju Das @ 2021-09-24  9:03 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linus Walleij, Linux-Renesas, open list:GPIO SUBSYSTEM,
	Chris Paterson, Biju Das, Prabhakar Mahadev Lad

Hi Geert,

Thanks for the feedback.

> -----Original Message-----
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Sent: 24 September 2021 09:46
> To: Biju Das <biju.das.jz@bp.renesas.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>; Linux-Renesas <linux-
> renesas-soc@vger.kernel.org>; open list:GPIO SUBSYSTEM <linux-
> gpio@vger.kernel.org>; Chris Paterson <Chris.Paterson2@renesas.com>; Biju
> Das <biju.das@bp.renesas.com>; Prabhakar Mahadev Lad <prabhakar.mahadev-
> lad.rj@bp.renesas.com>
> Subject: Re: [PATCH] pinctrl: renesas: rzg2l: Fix missing port register
> 21h
> 
> Hi Biju,
> 
> On Wed, Sep 22, 2021 at 9:54 AM Biju Das <biju.das.jz@bp.renesas.com>
> wrote:
> > Remove the duplicate port register 22h and replace it with missing
> > port register 21h.
> 
> Thanks for your patch!
> 
> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will queue
> as a fix in renesas-pinctrl-for-v5.15, as this will become a dependency
> when enabling SDHI/SD0, right?

OK thanks. port register P21 corresponds to p17_0, p17_1 and p17_2.

Regards,
Biju

> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] pinctrl: renesas: rzg2l: Fix missing port register 21h
  2021-09-24  9:03   ` Biju Das
@ 2021-09-24  9:11     ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2021-09-24  9:11 UTC (permalink / raw)
  To: Biju Das
  Cc: Linus Walleij, Linux-Renesas, open list:GPIO SUBSYSTEM,
	Chris Paterson, Biju Das, Prabhakar Mahadev Lad

Hi Biju,

On Fri, Sep 24, 2021 at 11:03 AM Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > -----Original Message-----
> > From: Geert Uytterhoeven <geert@linux-m68k.org>
> > Sent: 24 September 2021 09:46
> > To: Biju Das <biju.das.jz@bp.renesas.com>
> > Cc: Linus Walleij <linus.walleij@linaro.org>; Linux-Renesas <linux-
> > renesas-soc@vger.kernel.org>; open list:GPIO SUBSYSTEM <linux-
> > gpio@vger.kernel.org>; Chris Paterson <Chris.Paterson2@renesas.com>; Biju
> > Das <biju.das@bp.renesas.com>; Prabhakar Mahadev Lad <prabhakar.mahadev-
> > lad.rj@bp.renesas.com>
> > Subject: Re: [PATCH] pinctrl: renesas: rzg2l: Fix missing port register
> > 21h
> >
> > On Wed, Sep 22, 2021 at 9:54 AM Biju Das <biju.das.jz@bp.renesas.com>
> > wrote:
> > > Remove the duplicate port register 22h and replace it with missing
> > > port register 21h.
> >
> > Thanks for your patch!
> >
> > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> >
> > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will queue
> > as a fix in renesas-pinctrl-for-v5.15, as this will become a dependency
> > when enabling SDHI/SD0, right?
>
> OK thanks. port register P21 corresponds to p17_0, p17_1 and p17_2.

Oh, this bug only affects P17_[012], not P18_[01] (which is used for I2C
on the SOM, not SD0, my mistake)?
As P17_[012] are not connected on the SOM, I'll postpone this to v5.16,
unless someone sees a good reason for not doing so.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-24  9:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22  7:41 [PATCH] pinctrl: renesas: rzg2l: Fix missing port register 21h Biju Das
2021-09-24  8:46 ` Geert Uytterhoeven
2021-09-24  9:03   ` Biju Das
2021-09-24  9:11     ` Geert Uytterhoeven

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.