[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aEnWWPgXseRGdSz1@stanley.mountain>
Date: Wed, 11 Jun 2025 22:17:44 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Frank Li <Frank.li@....com>
Cc: Peter Chen <peter.chen@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, linux-usb@...r.kernel.org,
imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Ghennadi Procopciuc <ghennadi.procopciuc@....com>, s32@....com,
linaro-s32@...aro.org
Subject: Re: [PATCH 4/4] usb: chipidea: s32g: Add usb support for s32g3
On Wed, May 28, 2025 at 05:40:17PM -0400, Frank Li wrote:
> On Wed, May 28, 2025 at 10:57:39PM +0300, Dan Carpenter wrote:
> > From: Ghennadi Procopciuc <ghennadi.procopciuc@....com>
> >
> > Enable USB driver for the s32g3 USB device.
> >
> > Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@....com>
> > Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
> > ---
> > drivers/usb/chipidea/ci_hdrc_imx.c | 1 +
> > drivers/usb/chipidea/usbmisc_imx.c | 15 +++++++++++++++
> > 2 files changed, 16 insertions(+)
> >
> > diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c
> > index ce207f8566d5..d062399ce15e 100644
> > --- a/drivers/usb/chipidea/ci_hdrc_imx.c
> > +++ b/drivers/usb/chipidea/ci_hdrc_imx.c
> > @@ -95,6 +95,7 @@ static const struct of_device_id ci_hdrc_imx_dt_ids[] = {
> > { .compatible = "fsl,imx7ulp-usb", .data = &imx7ulp_usb_data},
> > { .compatible = "fsl,imx8ulp-usb", .data = &imx8ulp_usb_data},
> > { .compatible = "nxp,s32g2-usb", .data = &s32g_usb_data},
> > + { .compatible = "nxp,s32g3-usb", .data = &s32g_usb_data},
>
> If it is same, suggest compatible string fallback to nxp,s32g2-usb
>
> compatible = "nxp,s32g3-usb", "nxp,s32g2-usb".
>
These are the same, yeah. I'm not sure I understand. Did you mean just
add the "nxp,s32g2-usb" string to the driver, and put both the g2 and g3
in the devicetree file?
regards,
dan carpenter
Powered by blists - more mailing lists