diff mbox series

pinctrl: imx: Add the zero base flag for imx93

Message ID 20220613031854.1571357-1-ping.bai@nxp.com
State New
Headers show
Series pinctrl: imx: Add the zero base flag for imx93 | expand

Commit Message

Jacky Bai June 13, 2022, 3:18 a.m. UTC
On i.MX93, the pin mux reg offset is from 0x0,
so need to add the 'ZERO_OFFSET_VALID' flag to make
sure the pin at mux offset 0 can be found.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
---
 drivers/pinctrl/freescale/pinctrl-imx93.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jacky Bai June 23, 2022, 1:41 a.m. UTC | #1
Ping...

BR
> Subject: [PATCH] pinctrl: imx: Add the zero base flag for imx93
> 
> On i.MX93, the pin mux reg offset is from 0x0, so need to add the
> 'ZERO_OFFSET_VALID' flag to make sure the pin at mux offset 0 can be found.
> 
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> ---
>  drivers/pinctrl/freescale/pinctrl-imx93.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/pinctrl/freescale/pinctrl-imx93.c
> b/drivers/pinctrl/freescale/pinctrl-imx93.c
> index c0630f69e995..417e41b37a6f 100644
> --- a/drivers/pinctrl/freescale/pinctrl-imx93.c
> +++ b/drivers/pinctrl/freescale/pinctrl-imx93.c
> @@ -239,6 +239,7 @@ static const struct pinctrl_pin_desc
> imx93_pinctrl_pads[] = {  static const struct imx_pinctrl_soc_info
> imx93_pinctrl_info = {
>  	.pins = imx93_pinctrl_pads,
>  	.npins = ARRAY_SIZE(imx93_pinctrl_pads),
> +	.flags = ZERO_OFFSET_VALID,
>  	.gpr_compatible = "fsl,imx93-iomuxc-gpr",  };
> 
> --
> 2.25.1
Linus Walleij June 28, 2022, 1:17 p.m. UTC | #2
On Mon, Jun 13, 2022 at 5:17 AM Jacky Bai <ping.bai@nxp.com> wrote:

> On i.MX93, the pin mux reg offset is from 0x0,
> so need to add the 'ZERO_OFFSET_VALID' flag to make
> sure the pin at mux offset 0 can be found.
>
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>

No reply from maintainers for an urgent fix for two weeks -> patch applied.

Jacky, maybe you should be listed as comaintainer for the freescale
pin controller if you are doing active maintenance on it?

Yours,
Linus Walleij
Jacky Bai July 4, 2022, 6:04 a.m. UTC | #3
> Subject: Re: [PATCH] pinctrl: imx: Add the zero base flag for imx93
> 
> On Mon, Jun 13, 2022 at 5:17 AM Jacky Bai <ping.bai@nxp.com> wrote:
> 
> > On i.MX93, the pin mux reg offset is from 0x0, so need to add the
> > 'ZERO_OFFSET_VALID' flag to make sure the pin at mux offset 0 can be
> > found.
> >
> > Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> 
> No reply from maintainers for an urgent fix for two weeks -> patch applied.
> 
> Jacky, maybe you should be listed as comaintainer for the freescale pin
> controller if you are doing active maintenance on it?
> 

Yes, I can help on this.

BR

> Yours,
> Linus Walleij
Linus Walleij July 6, 2022, 12:51 p.m. UTC | #4
On Mon, Jul 4, 2022 at 8:04 AM Jacky Bai <ping.bai@nxp.com> wrote:
> > Subject: Re: [PATCH] pinctrl: imx: Add the zero base flag for imx93
> > On Mon, Jun 13, 2022 at 5:17 AM Jacky Bai <ping.bai@nxp.com> wrote:
> >
> > > On i.MX93, the pin mux reg offset is from 0x0, so need to add the
> > > 'ZERO_OFFSET_VALID' flag to make sure the pin at mux offset 0 can be
> > > found.
> > >
> > > Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> >
> > No reply from maintainers for an urgent fix for two weeks -> patch applied.
> >
> > Jacky, maybe you should be listed as comaintainer for the freescale pin
> > controller if you are doing active maintenance on it?
>
> Yes, I can help on this.

Please send a patch to MAINATINERS adding yourself as maintainer
and CC the other maintainers listed there.

Maybe you have some internal NXP mail list and procedure to follow
too, no idea :D discuss amongs yourselves if necessary, but I really
like active maintainers.

Thanks!
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/freescale/pinctrl-imx93.c b/drivers/pinctrl/freescale/pinctrl-imx93.c
index c0630f69e995..417e41b37a6f 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx93.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx93.c
@@ -239,6 +239,7 @@  static const struct pinctrl_pin_desc imx93_pinctrl_pads[] = {
 static const struct imx_pinctrl_soc_info imx93_pinctrl_info = {
 	.pins = imx93_pinctrl_pads,
 	.npins = ARRAY_SIZE(imx93_pinctrl_pads),
+	.flags = ZERO_OFFSET_VALID,
 	.gpr_compatible = "fsl,imx93-iomuxc-gpr",
 };