mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Xin Liu <xin.liu@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	Yijie Yang <yijie.yang@oss.qualcomm.com>,
	Abel Vesa <abel.vesa@oss.qualcomm.com>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, xin.liu@oss.qualcomm.com,
	tingwei.zhang@oss.qualcomm.com, jie.gan@oss.qualcomm.com,
	guodong.xu@oss.qualcomm.com
Subject: [PATCH v3 0/3] arm64: dts: qcom: PS8830 retimer clock fixes and typec0 enablement
Date: Mon, 14 Sep 2026 03:12:27 -0700	[thread overview]
Message-ID: <20260914101233.981643-1-xin.liu@oss.qualcomm.com> (raw)

The Hamoa IoT EVK hardware design uses a Parade PS8830 retimer on
I2C3 for USB Type-C port 0. Describe the retimer and route typec0
through it to enable USB 3.0 SuperSpeed and DisplayPort Alt Mode.

Compared with v2, two new patches (1/3 and 2/3) are added. During the
v2 review [1], Konrad pointed out a suspicious clock reference. Further
checking confirmed that every PS8830 retimer on both Purwa and Hamoa
has its own on-board 25 MHz crystal wired to its XI/XO pins, so the
existing clock properties in the DTS are wrong and should be fixed.

[1] https://lore.kernel.org/all/049be278-8958-4d04-8501-7fb60d2169cc@oss.qualcomm.com/

Patch 1/3: Purwa, switch the three PS8830 nodes to on-board crystals (Fixes).
Patch 2/3: Hamoa, same for the two existing PS8830 nodes (Fixes).
Patch 3/3: Hamoa, add the typec0 PS8830 on I2C3 and drop the unused FSUSB42.

Tested on the Hamoa IoT EVK:
  - USB 3.0 SuperSpeed at 5 Gbps on typec0
  - DisplayPort Alt Mode on typec0

This series is based on the qcom tree's for-next branch
(git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git for-next).

BR,
Xin Liu


Changes in v3:
 - Add purwa-iot-evk clock fix patch (1/3): replace RPMH RF clocks with
   per-retimer fixed-clock nodes inside a new clocks {} container node
 - Add hamoa-iot-evk clock fix patch (2/3): same fix for the two existing
   PS8830 retimers on hamoa
 - Replace RPMH RF clock in hamoa typec0 patch (3/3) with fixed-clock node
   inside the existing clocks {} container node
 - Split previous single hamoa patch into a clock fix (2/3) and the typec0
   feature patch (3/3)
- Link to v2: https://lore.kernel.org/all/20260803132753.994619-1-xin.liu@oss.qualcomm.com/

Changes in v2:
 - Updated the commit message to clarify that FSUSB42 is present on
   PCB but with all signal lines unconnected (NC), rather than
   "won't be populated"

Note: Changes in v2 and the Link above apply to patch 3/3 only.

- Link to v1: https://lore.kernel.org/all/20260721074145.1534100-1-xin.liu@oss.qualcomm.com/

Xin Liu (3):
  arm64: dts: qcom: purwa-iot-evk: use on-board crystal for PS8830
    retimers
  arm64: dts: qcom: hamoa-iot-evk: use on-board crystal for PS8830
    retimers
  arm64: dts: qcom: hamoa-iot-evk: switch typec0 to PS8830 retimer

 arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 130 +++++++++++++--------
 arch/arm64/boot/dts/qcom/purwa-iot-evk.dts |  27 ++++-
 2 files changed, 103 insertions(+), 54 deletions(-)

--
2.43.0

base-commit: a9d7ced84989ec05be09b4b8428759ef60450a0f

             reply	other threads:[~2026-09-14 10:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14 10:12 Xin Liu [this message]
2026-09-14 10:12 ` [PATCH v3 1/3] arm64: dts: qcom: purwa-iot-evk: use on-board crystal for PS8830 retimers Xin Liu
2026-09-14 11:07   ` Konrad Dybcio
2026-09-14 10:12 ` [PATCH v3 2/3] arm64: dts: qcom: hamoa-iot-evk: " Xin Liu
2026-09-14 11:07   ` Konrad Dybcio
2026-09-14 10:12 ` [PATCH v3 3/3] arm64: dts: qcom: hamoa-iot-evk: switch typec0 to PS8830 retimer Xin Liu
2026-09-14 11:08   ` Konrad Dybcio

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=20260914101233.981643-1-xin.liu@oss.qualcomm.com \
    --to=xin.liu@oss.qualcomm.com \
    --cc=abel.vesa@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=guodong.xu@oss.qualcomm.com \
    --cc=jie.gan@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=tingwei.zhang@oss.qualcomm.com \
    --cc=yijie.yang@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®