Linux USB
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Minda Chen" <minda.chen@starfivetech.com>, linux-usb@vger.kernel.org
Subject: Re: [PATCH v2 3/3] usb: dwc3: starfive: Add JHB100 USB device adapter port enable quirk
Date: Tue, 03 Nov 2026 06:54:53 +0000	[thread overview]
Message-ID: <sashiko-outbox-194678@kernel.org> (raw)
In-Reply-To: <20261103064836.71059-4-minda.chen@starfivetech.com>

> Add an extra iomem field to struct dwc3_gerneric, so as JHB100
> can add PHY adapter setting. Other soc also can use it.
> 
> Also Add Starfive JHB100 USB 2.0 device controller generic init
> function to remap PHY adapter io memory region and add adapter
> pre-run/stop function.
> 
> On the JHB100 BMC SoC, each DWC3 device controller is connected to a
> port of the xHCI controller that is exported to the server host over
> PCIe, through a PHY adapter. Setting the adapter USB 2.0 port enable
> bit asserts the connect status in the xHCI PORTSC register, so it must
> only be set once the gadget is ready to be enumerated, otherwise the
> host fails to enumerate the device. And clear the ppt enable bit
> while gadget device stop.
> 
> Add an optional "adapter" register region and toggle the port enable
> bit from the pre_run_stop glue callback.
> 
> Signed-off-by: Minda Chen <minda.chen@starfivetech.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261103064836.71059-1-minda.chen@starfivetech.com?part=3


      reply	other threads:[~2026-11-03  6:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-03  6:48 [PATCH v2 0/3] Add StarFive JHB100 host field USB device controller driver Minda Chen
2026-11-03  6:48 ` [PATCH v2 1/3] dt-bindings: usb: starfive,jhb100-dwc3: Add adapter register region Minda Chen
2026-11-03  6:57   ` sashiko-bot
2026-11-03 11:48   ` Krzysztof Kozlowski
2026-11-03 18:06     ` Conor Dooley
2026-11-03  6:48 ` [PATCH v2 2/3] dt-bindings: usb: starfive,jhb100-dwc3: Add clock number limit Minda Chen
2026-11-03  6:58   ` sashiko-bot
2026-11-03 11:50   ` Krzysztof Kozlowski
2026-11-03  6:48 ` [PATCH v2 3/3] usb: dwc3: starfive: Add JHB100 USB device adapter port enable quirk Minda Chen
2026-11-03  6:54   ` sashiko-bot [this message]

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=sashiko-outbox-194678@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=minda.chen@starfivetech.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /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