Devicetree
 help / color / mirror / Atom feed
From: Akash Kumar <akash.kumar@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	Abel Vesa <abel.vesa@linaro.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH v5 0/2] arm64: dts: qcom: talos-lyra-evk: Wire up CYPD6129 USB Type-C ports
Date: Thu, 26 Nov 2026 17:41:38 +0530	[thread overview]
Message-ID: <20261126121140.1716190-1-akash.kumar@oss.qualcomm.com> (raw)

This series wires up the CYPD6129 UCSI PD controller on the Talos
Lyra EVK carrier board, enabling USB Type-C role switching and
SuperSpeed/HS muxing on both USB-C connectors.

v1 was posted as a single patch [v1].

v2 [v2] split the change in two and addressed review from Dmitry
Baryshkov:
 - Drop the VBUS-boost regulator's resistor-divider math from the
   commit message; describe it as a plain fixed regulator instead.
 - Replace the verbose HS-routing explanation with a short
   "/* HS only */" comment above &usb_2_dwc3_hs.
 - Drop the redundant dr_mode = "otg" on usb_1/usb_2 (it is already
   the dwc3 driver's default).
 - Move usb-role-switch out of the board file and into the shared
   talos.dtsi, as its own patch (patch 1) alongside the graph port
   placeholders it depends on.

v3 [v3] only added the "v2" tag that was missing from the individual
patch subjects in v2, with no functional change from v2.

v4 [v4] added a base-commit trailer that v3 was missing, again with
no functional change from v2.

v5 addresses further review from Dmitry Baryshkov on v3/v4:
 - connector@0/connector@1 are carrier-board-specific (a different
   carrier board could wire the same SoM differently), so they move
   out of the SoM-level typec@40 node in talos-lyra-evk-som.dtsi and
   into an extension of that node in talos-lyra-evk.dts.
 - The endpoint wiring for usb_1/usb_1_dwc3_hs/usb_2/usb_2_dwc3_hs/
   usb_qmpphy_out is likewise carrier-board-specific, so it moves
   from the SoM dtsi to the EVK dts alongside the connectors it
   feeds.
 - The sbu-mux node drops its select-gpios/orientation-switch
   properties (no pinctrl was provided for the GPIO line), keeping
   just the mux's endpoint declaration.
v5 also rebases onto the just-landed Talos Lyra EVK board-addition
commit and adds orientation-gpios to the typec@40 node, needed
because connector@1's SBU mux requires CC orientation to steer
SBU1/SBU2. connector@0 is USB-HS-only and gets the <0> placeholder.
GPIO104, which this uses for connector@1, was already claimed by the
carrier board's DP hot-plug-detect pin, so dp_hot_plug_det moves to
GPIO80 to free it up.

[v1] Link: https://lore.kernel.org/r/20261012131518.858396-1-akash.kumar@oss.qualcomm.com
[v2] Link: https://lore.kernel.org/r/20261116114908.1701258-1-akash.kumar@oss.qualcomm.com
[v3] Link: https://lore.kernel.org/all/20261116120623.1726089-1-akash.kumar@oss.qualcomm.com/
[v4] Link: https://lore.kernel.org/all/20261116130520.1763088-1-akash.kumar@oss.qualcomm.com/

Akash Kumar (2):
  arm64: dts: qcom: talos: Add graph port placeholders for USB Type-C
    muxing
  arm64: dts: qcom: talos-lyra-evk: Wire up CYPD6129 USB Type-C ports

 .../boot/dts/qcom/talos-lyra-evk-som.dtsi     |  41 +++++++
 arch/arm64/boot/dts/qcom/talos-lyra-evk.dts   | 109 +++++++++++++++++-
 arch/arm64/boot/dts/qcom/talos.dtsi           |  35 ++++++
 3 files changed, 180 insertions(+), 5 deletions(-)

base-commit: ddf1ba39f517292164e13baa8d2ece96cddc7aaa
--
2.43.0


             reply	other threads:[~2026-11-26 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 12:11 Akash Kumar [this message]
2026-11-26 12:11 ` [PATCH v5 1/2] arm64: dts: qcom: talos: Add graph port placeholders for USB Type-C muxing Akash Kumar
2026-11-26 12:11 ` [PATCH v5 2/2] arm64: dts: qcom: talos-lyra-evk: Wire up CYPD6129 USB Type-C ports Akash Kumar

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=20261126121140.1716190-1-akash.kumar@oss.qualcomm.com \
    --to=akash.kumar@oss.qualcomm.com \
    --cc=abel.vesa@linaro.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=robh@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