回复: [PATCH v1 5/7] usb: Kconfig: imply DM_USB_GADGET
Alice Guo (OSS)
alice.guo at oss.nxp.com
Thu Dec 25 11:16:29 CET 2025
> -----邮件原件-----
> 发件人: Quentin Schulz <quentin.schulz at cherry.de>
> 发送时间: 2025年12月16日 17:50
> 收件人: Alice Guo (OSS) <alice.guo at oss.nxp.com>; dl-uboot-imx
> <uboot-imx at nxp.com>; u-boot at lists.denx.de
> 抄送: Stefano Babic <sbabic at nabladev.com>; Fabio Estevam
> <festevam at gmail.com>; Tom Rini <trini at konsulko.com>; Marek Vasut
> <marex at denx.de>; Marek Vasut <marek.vasut at mailbox.org>; Ye Li
> <ye.li at nxp.com>; tharvey at gateworks.com; Peng Fan <peng.fan at nxp.com>;
> Mattijs Korpershoek <mkorpershoek at kernel.org>; Lukasz Majewski
> <lukma at denx.de>; Sherry Sun <sherry.sun at nxp.com>; Kever Yang
> <kever.yang at rock-chips.com>; Jonas Karlman <jonas at kwiboo.se>; George
> Chan <gchan9527 at gmail.com>; Simon Glass <sjg at chromium.org>; David Zang
> <davidzangcs at gmail.com>; Alice Guo <alice.guo at nxp.com>
> 主题: Re: [PATCH v1 5/7] usb: Kconfig: imply DM_USB_GADGET
>
> Hi Alice,
>
> On 12/16/25 7:38 AM, alice.guo at oss.nxp.com wrote:
> > From: Sherry Sun <sherry.sun at nxp.com>
> >
> > Since the ci_udc driver has been converted to DM driver, the
> > CONFIG_DM_USB_GADGET should also be selected when CONFIG_CI_UDC is
> > enabled, then we can use DM ci_udc driver.
> >
>
> Is DM_USB_GADGET *required* for CI_UDC to work? "imply" allows to have
> DM_USB_GADGET=y AND CI_UDC=n, which is probably not what you want. You
> probably simply want "depends on DM_USB_GADGET"
There are 2 implementations supported in drivers/usb/gadget/ci_udc.c: a non-DM path and a DM-based path. The current commit log wording might be ambiguous.
> > Signed-off-by: Sherry Sun <sherry.sun at nxp.com>
> > Signed-off-by: Alice Guo <alice.guo at nxp.com>
> > Reviewed-by: Ye Li <ye.li at nxp.com>
>
> Please do not provide Reviewed-by on the first version of a patch, Reviewed-by,
> Acked-by, Tested-by, etc.... should be given publicly on the mailing list. We don't
> know if Ye Li actually reviewed it or if you unilaterally decided they reviewed it.
> We don't know if we can trust it... which we shouldn't have to figure out.
The Reviewed-by tag was added during our internal review process. I will remove it in the next version.
Best Regards,
Alice Guo
More information about the U-Boot
mailing list