From: Rick Wertenbroek <rick.wertenbroek@gmail.com>
Cc: rick.wertenbroek@heig-vd.ch, dlemoal@kernel.org,
alberto.dassatti@heig-vd.ch,
Rick Wertenbroek <rick.wertenbroek@gmail.com>,
Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/3] phy: rockchip-snps-pcie3: add support for rockchip,phy-ref-use-pad
Date: Wed, 6 Aug 2025 15:38:20 +0200 [thread overview]
Message-ID: <20250806133824.525871-1-rick.wertenbroek@gmail.com> (raw)
Add the possibility for the RK3588 PCIe PHYs to use an internal clock instead of
a clock provided on a pin of the device. This allows boards that don't have a
PCIe clock connected to the reference pad to still function in separate clock
mode by using an internal reference clock for the PCIe PHYs.
This was tested with a CM3588 compute module on a custom PCB.
Without the new option, the default behaviour (PHYs using external pad for clock)
is applied, to keep compatibility with existing device trees.
Differences from V1 [1] :
- Documented the phy-ref-use-pad option in the DT bindings.
- Documented the extra optional differential clocks for the PHYs in the DT
bindings.
[1] https://lore.kernel.org/all/20250715105820.4037272-1-rick.wertenbroek@gmail.com/
Rick Wertenbroek (3):
dt-bindings: phy: rockchip,pcie3-phy: add optional differential phy
clocks
phy: rockchip-snps-pcie3: add support for rockchip,phy-ref-use-pad
dt-bindings: phy: rockchip,pcie3-phy: add rockchip,phy-ref-use-pad
.../bindings/phy/rockchip,pcie3-phy.yaml | 21 ++++++++++--
.../phy/rockchip/phy-rockchip-snps-pcie3.c | 32 +++++++++++++++++++
2 files changed, 50 insertions(+), 3 deletions(-)
--
2.25.1
next reply other threads:[~2025-08-06 13:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-06 13:38 Rick Wertenbroek [this message]
2025-08-06 13:38 ` [PATCH v2 1/3] dt-bindings: phy: rockchip,pcie3-phy: add optional differential phy clocks Rick Wertenbroek
2025-08-07 7:42 ` Krzysztof Kozlowski
2025-08-07 7:44 ` Krzysztof Kozlowski
2025-08-07 7:58 ` Rick Wertenbroek
2025-08-06 13:38 ` [PATCH v2 2/3] phy: rockchip-snps-pcie3: add support for rockchip,phy-ref-use-pad Rick Wertenbroek
2025-08-06 13:38 ` [PATCH v2 3/3] dt-bindings: phy: rockchip,pcie3-phy: add rockchip,phy-ref-use-pad Rick Wertenbroek
2025-08-07 7:54 ` Krzysztof Kozlowski
2025-08-07 7:55 ` Krzysztof Kozlowski
2025-08-07 8:47 ` Rick Wertenbroek
2025-08-08 6:47 ` Krzysztof Kozlowski
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=20250806133824.525871-1-rick.wertenbroek@gmail.com \
--to=rick.wertenbroek@gmail.com \
--cc=alberto.dassatti@heig-vd.ch \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlemoal@kernel.org \
--cc=heiko@sntech.de \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=rick.wertenbroek@heig-vd.ch \
--cc=robh@kernel.org \
--cc=vkoul@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
all inboxes | Powered by JetHome®