[PATCH v4 3/4] usb: dwc3: add generic driver to support flattened DT
Ze Huang
huangze at whut.edu.cn
Fri Jun 6 04:43:38 PDT 2025
On Thu, Jun 05, 2025 at 01:34:27PM +0000, Yixun Lan wrote:
> Hi Ze,
>
> On 22:40 Mon 26 May , Ze Huang wrote:
> > To support flattened dwc3 dt model and drop the glue layer, introduce the
> > `dwc3-generic` driver. This enables direct binding of the DWC3 core driver
> > and offers an alternative to the existing glue driver `dwc3-of-simple`.
> >
> > Signed-off-by: Ze Huang <huangze at whut.edu.cn>
> > ---
...
> > + ret = reset_control_deassert(dwc3->resets);
> > + if (ret) {
> > + dev_err(dev, "failed to deassert reset\n");
> > + goto reset_assert;
> > + }
> > +
> > + ret = clk_bulk_get_all(dwc3->dev, &dwc3->clks);
> can you check if able to use devres api for reset/clock here?
> (functions start devm_ prefix)
>
OK, will do
More information about the linux-riscv
mailing list