Re: [PATCH] usb: cdnsp: Add support for device-only configuration

Peter Chen (CIX)
2026-04-06T01:31:54Z

On 26-04-03 10:33:52, Pawel Laszczak wrote:
> >>
> >> + if (cdns->no_drd) {
> >> + cdns->version = CDNSP_CONTROLLER_V2;
> >> + cdns->dr_mode = USB_DR_MODE_PERIPHERAL;
> >
> >With "no_drd", are configurations fixed, no other options?
>
> Yes, no other option.

Is it possible for host-only configurations?

Peter

>
> Pawel
>
> >
> >> + return 0;
> >> + }
> >> +
> >> regs = devm_ioremap_resource(cdns->dev, &cdns->otg_res);
> >> if (IS_ERR(regs))
> >> return PTR_ERR(regs);
> >> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index
> >> 406abf629be2..a931fb201402 100644
> >> --- a/include/linux/pci_ids.h
> >> +++ b/include/linux/pci_ids.h
> >> @@ -2424,6 +2424,7 @@
> >> #define PCI_DEVICE_ID_CDNS_USBSS 0x0100
> >> #define PCI_DEVICE_ID_CDNS_USB 0x0120
> >> #define PCI_DEVICE_ID_CDNS_USBSSP 0x0200
> >> +#define PCI_DEVICE_ID_CDNS_UDC_USBSSP 0x0400
> >>
> >> #define PCI_VENDOR_ID_ARECA 0x17d3
> >> #define PCI_DEVICE_ID_ARECA_1110 0x1110
> >>
> >> ---
> >> base-commit: 5196f2c98340297e1fdd36555285e991ceddf776
> >> change-id: 20260331-device_only-192d539430b5
> >>
> >> Best regards,
> >> --
> >> Pawel Laszczak <pawell@cadence.com>
> >>
> >>
> >
> >--
> >
> >Best regards,
> >Peter

--

Best regards,
Peter