public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
From: "Peter Chen (CIX)" <peter.chen@kernel.org>
To: Pawel Laszczak <pawell@cadence.com>
Cc: Roger Quadros <rogerq@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: Re: [PATCH] usb: cdnsp: Add support for device-only configuration
Date: Mon, 6 Apr 2026 09:31:50 +0800	[thread overview]
Message-ID: <adMNBsPYNg497Doa@nchen-desktop> (raw)
In-Reply-To: <PH7PR07MB9538FCAFEBF0072EA5B5B815DD5EA@PH7PR07MB9538.namprd07.prod.outlook.com>

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

  reply	other threads:[~2026-04-06  1:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-31  8:19 [PATCH] usb: cdnsp: Add support for device-only configuration Pawel Laszczak via B4 Relay
2026-03-31 18:12 ` Bjorn Helgaas
2026-04-03  5:56 ` Peter Chen (CIX)
2026-04-03 10:33   ` Pawel Laszczak
2026-04-06  1:31     ` Peter Chen (CIX) [this message]
2026-04-07  5:21       ` Pawel Laszczak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=adMNBsPYNg497Doa@nchen-desktop \
    --to=peter.chen@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=pawell@cadence.com \
    --cc=rogerq@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox