From: "Ze Huang" <huang.ze@linux.dev>
To: "Junzhong Pan" <panjunzhong@linux.spacemit.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Yixun Lan" <dlan@kernel.org>, "Xu Yang" <xu.yang_2@nxp.com>,
"Peng Fan" <peng.fan@nxp.com>,
"Peter Chen" <peter.chen@kernel.org>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Paul Walmsley" <pjw@kernel.org>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Albert Ou" <aou@eecs.berkeley.edu>,
"Alexandre Ghiti" <alex@ghiti.fr>
Cc: <linux-usb@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <linux-riscv@lists.infradead.org>,
<spacemit@lists.linux.dev>,
"Troy Mitchell" <troy.mitchell@linux.spacemit.com>,
"linux-riscv" <linux-riscv-bounces@lists.infradead.org>
Subject: Re: [PATCH 0/6] Add SpacemiT K1 USB2.0 controllers support
Date: Fri, 21 Aug 2026 10:00:37 +0800 [thread overview]
Message-ID: <DKU91NS0JNRS.SLSXQO6JHRLM@linux.dev> (raw)
In-Reply-To: <20260812-b4-spacemit-k1-usb2-v1-0-f28cf29e522b@linux.spacemit.com>
On Wed Aug 12, 2026 at 5:26 PM CST, Junzhong Pan wrote:
> The SpacemiT K1 SoC has two USB2.0 controllers, one has Dual-Role
> support, but the hardware has no internal OTG registers, the other is
> Host only. These controllers are compatible with Chipidea USB2 driver
> with some flags set and reset control support.
>
> This series is based on 7.2-rc1 and has been tested on Banana Pi F3
> development board.
>
> A self-powered USB device/hub is needed to test the host function of the
> dual-role controller on Banana Pi F3, a MINI-PCIe USB2.0 module (a
> cellular module e.g.) is needed to test the host only controller.
>
> Signed-off-by: Junzhong Pan <panjunzhong@linux.spacemit.com>
Tested on OrangePi RV2.
To use USB2.0 Type-A port as host on this board, usb2_0 needs:
- dr_mode = "host"
- a vbus-supply regulator driving gpio126
Tested-by: Ze Huang <huang.ze@linux.dev>
> ---
> Junzhong Pan (6):
> dt-bindings: usb: ci-hdrc-usb2: add spacemit,k1-usb2 compatible
> usb: chipidea: usb2: add optional reset support
> usb: chipidea: usb2: add SpacemiT K1 support
> riscv: dts: spacemit: add USB2.0 controller nodes for K1
> riscv: dts: spacemit: enable USB2.0 controllers on BananaPi F3
> riscv: defconfig: enable ChipIdea USB controller support
>
> .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 1 +
> arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 16 +++++++++
> arch/riscv/boot/dts/spacemit/k1.dtsi | 40 ++++++++++++++++++++++
> arch/riscv/configs/defconfig | 4 +++
> drivers/usb/chipidea/ci_hdrc_usb2.c | 16 +++++++++
> 5 files changed, 77 insertions(+)
> ---
> base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
> change-id: 20260812-b4-spacemit-k1-usb2-97adfc283d58
>
> Best regards,
WARNING: multiple messages have this Message-ID (diff)
From: "Ze Huang" <huang.ze@linux.dev>
To: "Junzhong Pan" <panjunzhong@linux.spacemit.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Yixun Lan" <dlan@kernel.org>, "Xu Yang" <xu.yang_2@nxp.com>,
"Peng Fan" <peng.fan@nxp.com>,
"Peter Chen" <peter.chen@kernel.org>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Paul Walmsley" <pjw@kernel.org>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Albert Ou" <aou@eecs.berkeley.edu>,
"Alexandre Ghiti" <alex@ghiti.fr>
Cc: <linux-usb@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <linux-riscv@lists.infradead.org>,
<spacemit@lists.linux.dev>,
"Troy Mitchell" <troy.mitchell@linux.spacemit.com>,
"linux-riscv" <linux-riscv-bounces@lists.infradead.org>
Subject: Re: [PATCH 0/6] Add SpacemiT K1 USB2.0 controllers support
Date: Fri, 21 Aug 2026 10:00:37 +0800 [thread overview]
Message-ID: <DKU91NS0JNRS.SLSXQO6JHRLM@linux.dev> (raw)
In-Reply-To: <20260812-b4-spacemit-k1-usb2-v1-0-f28cf29e522b@linux.spacemit.com>
On Wed Aug 12, 2026 at 5:26 PM CST, Junzhong Pan wrote:
> The SpacemiT K1 SoC has two USB2.0 controllers, one has Dual-Role
> support, but the hardware has no internal OTG registers, the other is
> Host only. These controllers are compatible with Chipidea USB2 driver
> with some flags set and reset control support.
>
> This series is based on 7.2-rc1 and has been tested on Banana Pi F3
> development board.
>
> A self-powered USB device/hub is needed to test the host function of the
> dual-role controller on Banana Pi F3, a MINI-PCIe USB2.0 module (a
> cellular module e.g.) is needed to test the host only controller.
>
> Signed-off-by: Junzhong Pan <panjunzhong@linux.spacemit.com>
Tested on OrangePi RV2.
To use USB2.0 Type-A port as host on this board, usb2_0 needs:
- dr_mode = "host"
- a vbus-supply regulator driving gpio126
Tested-by: Ze Huang <huang.ze@linux.dev>
> ---
> Junzhong Pan (6):
> dt-bindings: usb: ci-hdrc-usb2: add spacemit,k1-usb2 compatible
> usb: chipidea: usb2: add optional reset support
> usb: chipidea: usb2: add SpacemiT K1 support
> riscv: dts: spacemit: add USB2.0 controller nodes for K1
> riscv: dts: spacemit: enable USB2.0 controllers on BananaPi F3
> riscv: defconfig: enable ChipIdea USB controller support
>
> .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 1 +
> arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 16 +++++++++
> arch/riscv/boot/dts/spacemit/k1.dtsi | 40 ++++++++++++++++++++++
> arch/riscv/configs/defconfig | 4 +++
> drivers/usb/chipidea/ci_hdrc_usb2.c | 16 +++++++++
> 5 files changed, 77 insertions(+)
> ---
> base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
> change-id: 20260812-b4-spacemit-k1-usb2-97adfc283d58
>
> Best regards,
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2026-08-21 2:00 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-12 9:26 [PATCH 0/6] Add SpacemiT K1 USB2.0 controllers support Junzhong Pan
2026-08-12 9:26 ` Junzhong Pan
2026-08-12 9:26 ` [PATCH 1/6] dt-bindings: usb: ci-hdrc-usb2: add spacemit,k1-usb2 compatible Junzhong Pan
2026-08-12 9:26 ` Junzhong Pan
2026-08-12 16:00 ` Conor Dooley
2026-08-12 16:00 ` Conor Dooley
2026-08-12 9:26 ` [PATCH 2/6] usb: chipidea: usb2: add optional reset support Junzhong Pan
2026-08-12 9:26 ` Junzhong Pan
2026-08-12 9:41 ` sashiko-bot
2026-08-12 10:04 ` Junzhong Pan
2026-08-13 9:55 ` Peter Chen
2026-08-13 9:55 ` Peter Chen
2026-08-13 13:39 ` Junzhong Pan
2026-08-13 13:39 ` Junzhong Pan
2026-08-12 9:26 ` [PATCH 3/6] usb: chipidea: usb2: add SpacemiT K1 support Junzhong Pan
2026-08-12 9:26 ` Junzhong Pan
2026-08-13 9:49 ` Peter Chen
2026-08-13 9:49 ` Peter Chen
2026-08-12 9:26 ` [PATCH 4/6] riscv: dts: spacemit: add USB2.0 controller nodes for K1 Junzhong Pan
2026-08-12 9:26 ` Junzhong Pan
2026-08-12 9:51 ` sashiko-bot
2026-08-12 10:12 ` Junzhong Pan
2026-08-12 9:26 ` [PATCH 5/6] riscv: dts: spacemit: enable USB2.0 controllers on BananaPi F3 Junzhong Pan
2026-08-12 9:26 ` Junzhong Pan
2026-08-12 9:26 ` [PATCH 6/6] riscv: defconfig: enable ChipIdea USB controller support Junzhong Pan
2026-08-12 9:26 ` Junzhong Pan
2026-08-21 2:00 ` Ze Huang [this message]
2026-08-21 2:00 ` [PATCH 0/6] Add SpacemiT K1 USB2.0 controllers support Ze Huang
2026-08-21 3:28 ` Junzhong Pan
2026-08-21 3:28 ` Junzhong Pan
2026-08-21 4:17 ` Ze Huang
2026-08-21 4:17 ` Ze Huang
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=DKU91NS0JNRS.SLSXQO6JHRLM@linux.dev \
--to=huang.ze@linux.dev \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv-bounces@lists.infradead.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-usb@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=palmer@dabbelt.com \
--cc=panjunzhong@linux.spacemit.com \
--cc=peng.fan@nxp.com \
--cc=peter.chen@kernel.org \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=spacemit@lists.linux.dev \
--cc=troy.mitchell@linux.spacemit.com \
--cc=xu.yang_2@nxp.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.