mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Andersson <andersson@kernel.org>
To: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Cc: Konrad Dybcio <konradybcio@kernel.org>,
	 Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	 Shawn Guo <shengchao.guo@oss.qualcomm.com>,
	brgl@kernel.org, linux-arm-msm@vger.kernel.org,
	 devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Abel Vesa <abel.vesa@oss.qualcomm.com>,
	Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	 Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Subject: Re: [PATCH v3 0/4] arm64: dts: qcom: nord: Add USB support
Date: Sun, 8 Nov 2026 13:23:18 -0600	[thread overview]
Message-ID: <avDL8IzfY1AcDjzY@zenbook> (raw)
In-Reply-To: <20261013-nord-usb-dwc-dts-v3-0-bcaaf3faae24@oss.qualcomm.com>

On Tue, Oct 13, 2026 at 01:34:45PM +0200, Bartosz Golaszewski wrote:
> Note: This is v7.4 material and depends on several patches that are
> still not in linux-next. Sending it out to solicit reviews.
> 
> This series enables USB on the Qualcomm Nord platform which has three
> USB controllers:
> 
>   usb_0 (0xa600000)  eUSB2 + USB3/DP combo PHY
>   usb_1 (0xa400000)  eUSB2 + USB3/DP combo PHY
>   usb_2 (0xa200000)  eUSB2 only, high-speed
> 
> The first patch is a fix for the i2c9/i2c10 pin functions, which is a
> prerequisite because the eUSB2 repeaters and the Type-C controller all
> sit on i2c9.
> 
> Patch 2 adds the three DWC3 controller nodes to nord.dtsi.  They are
> kept as far as possible free of anything variant specific, so the
> clocks, resets, power domains, interconnects and PHY references are
> added separately in patch 3 for the "embedded" variant, alongside the
> five PHY nodes (three eUSB2, two QMP combo).  Adding the QMP PHYs also
> lets the two pipe clock placeholders in negcc be filled in.
> 
> Patches 4 and 5 wire the ports up per board.
> 
> Nord RRD:
> 
>   usb_0  OTG, USB-C, FUSB15201 Type-C/PD controller
>   usb_1  host, Genesys GL3590 HS/SS onboard hub pair
>   usb_2  left disabled, not routed on this board
> 
> Nord Ride Embedded:
> 
>   usb_0  OTG, USB-C port 0 of a dual-port FUSB15201
>   usb_1  OTG, USB-C port 1 of the same FUSB15201
>   usb_2  host, USB Type-A, VBUS from a PMIC GPIO controlled
>          fixed regulator
> 
> Both boards use NXP PTN3222 eUSB2 repeaters, one per enabled port.
> 
> Dependencies:
> - PMIC DTS: https://lore.kernel.org/all/20260929155152.1898666-1-shengchao.guo@oss.qualcomm.com/
> - FUSB15201: https://lore.kernel.org/all/20260916135918.1017527-1-shengchao.guo@oss.qualcomm.com/
> - USB PHY clock fix: https://lore.kernel.org/all/20261008015017.3359804-1-shengchao.guo@oss.qualcomm.com/
> 

Figured you resubmitted this because the external dependencies was
settled. Apparently not, so I had to back this out again after applying
it.

Please resubmit once the dependencies are in linux-next.

Thanks,
Bjorn

> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
> ---
> Changes in v3:
> - fix eUSB2 PHY reset assignment
> - add AHB2PHY clock to USB PHYs (Shawn)
> - fix regulator node ordering
> - remove code leftover from a rebase
> - Link to v2: https://patch.msgid.link/20260922-nord-usb-dwc-dts-v2-0-ba2b39f1a843@oss.qualcomm.com
> 
> Changes in v2:
> - Drop pin control fix that was applied upstream
> - "otg" mode is the default dr_mode so drop it from nodes
> - move the usb-mode-switch to the SoC level .dtsi
> - Add hs_phy_irq to DWC3 nodes
> - Wire-up the USB2 type A connector
> - Extend the list of quirks in DWC3 nodes
> - Remove stray comments
> - Link to v1: https://lore.kernel.org/all/20260911142040.100263-1-shengchao.guo@oss.qualcomm.com/
> 
> ---
> Bartosz Golaszewski (2):
>       arm64: dts: qcom: nord: Add the USB controller nodes
>       arm64: dts: qcom: nord-embedded: Add USB resources and PHYs
> 
> Shawn Guo (2):
>       arm64: dts: qcom: nord-rrd: Enable USB ports
>       arm64: dts: qcom: nord-ride-embedded: Enable USB ports
> 
>  arch/arm64/boot/dts/qcom/nord-embedded.dtsi     | 311 +++++++++++++++++++++++-
>  arch/arm64/boot/dts/qcom/nord-ride-embedded.dts | 222 +++++++++++++++++
>  arch/arm64/boot/dts/qcom/nord-rrd.dts           | 166 +++++++++++++
>  arch/arm64/boot/dts/qcom/nord.dtsi              | 100 ++++++++
>  4 files changed, 797 insertions(+), 2 deletions(-)
> ---
> base-commit: 3ce5d3ff6659394e56a7ef0cb2c9982a5c39148e
> change-id: 20260921-nord-usb-dwc-dts-c2ff685d8219
> 
> Best regards,
> -- 
> Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
> 

      parent reply	other threads:[~2026-11-08 19:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-13 11:34 Bartosz Golaszewski
2026-10-13 11:34 ` [PATCH v3 1/4] arm64: dts: qcom: nord: Add the USB controller nodes Bartosz Golaszewski
2026-10-13 11:34 ` [PATCH v3 2/4] arm64: dts: qcom: nord-embedded: Add USB resources and PHYs Bartosz Golaszewski
2026-10-13 11:34 ` [PATCH v3 3/4] arm64: dts: qcom: nord-rrd: Enable USB ports Bartosz Golaszewski
2026-10-13 11:34 ` [PATCH v3 4/4] arm64: dts: qcom: nord-ride-embedded: " Bartosz Golaszewski
2026-10-13 19:32   ` Dmitry Baryshkov
2026-10-22  9:05   ` Konrad Dybcio
2026-11-08 19:23 ` Bjorn Andersson [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=avDL8IzfY1AcDjzY@zenbook \
    --to=andersson@kernel.org \
    --cc=abel.vesa@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=brgl@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=shengchao.guo@oss.qualcomm.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 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®