mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ryan Chen <ryan_chen@aspeedtech.com>
To: ryan_chen <ryan_chen@aspeedtech.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Rob Herring <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	"Alan Stern" <stern@rowland.harvard.edu>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	<linux-usb@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH v4 0/4] Add Aspeed AST2700 uhci support
Date: Mon, 22 Sep 2025 13:20:41 +0800	[thread overview]
Message-ID: <20250922052045.2421480-1-ryan_chen@aspeedtech.com> (raw)

This patch series adds support for the UHCI controller found on the
Aspeed AST2700 SoC.

Compared to earlier SoCs (AST2400/2500/2600), AST2700 UHCI:
 - requires a reset line to be deasserted before use
 - supports 64-bit DMA addressing

This series updates the bindings and platform driver accordingly.

v4:
- usb-uhci.yaml
 - fix errors 'make dt_binding_check'
- uhci-platform.c
 - remove IS_ERR_OR_NULL(uhci->rsts) check, due to reset_control_assert
   will return 0, when uhci->rsts is null.
 - use dma_mask_32 as default, and just add aspeed,ast2700-uhci for dma_64.

v3:
- uhci-platform.c
 - add reset_control_assert in uhci_hcd_platform_remove.

v2:
- usb-uhci.yaml
 - add required resets for aspeed,ast2700-uhci
- uhci-platform.c
 - change the err_clk before err_reset.

Ryan Chen (4):
  dt-bindings: usb: uhci: Add reset property
  usb: uhci: Add reset control support
  dt-bindings: usb: uhci: Add Aspeed AST2700 compatible
  usb: uhci: Add Aspeed AST2700 support

 .../devicetree/bindings/usb/usb-uhci.yaml     | 13 ++++++++
 drivers/usb/host/uhci-hcd.h                   |  1 +
 drivers/usb/host/uhci-platform.c              | 31 ++++++++++++++++---
 3 files changed, 41 insertions(+), 4 deletions(-)

-- 
2.34.1


             reply	other threads:[~2025-09-22  5:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-22  5:20 Ryan Chen [this message]
2025-09-22  5:20 ` [PATCH v4 1/4] dt-bindings: usb: uhci: Add reset property Ryan Chen
2025-09-22  5:20 ` [PATCH v4 2/4] usb: uhci: Add reset control support Ryan Chen
2025-09-22  5:20 ` [PATCH v4 3/4] dt-bindings: usb: uhci: Add Aspeed AST2700 compatible Ryan Chen
2025-09-22  5:20 ` [PATCH v4 4/4] usb: uhci: Add Aspeed AST2700 support Ryan Chen
2025-09-22 13:58 ` [PATCH v4 0/4] Add Aspeed AST2700 uhci support Alan Stern
2025-09-23  0:28   ` Ryan Chen

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=20250922052045.2421480-1-ryan_chen@aspeedtech.com \
    --to=ryan_chen@aspeedtech.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=stern@rowland.harvard.edu \
    /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

all inboxes | Powered by JetHome®