From: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
To: linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, vkoul@kernel.org,
neil.armstrong@linaro.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, johan@kernel.org, rogerq@ti.com
Cc: Julian.FRIEDRICH@frequentis.com, upstream+omap@sigma-star.at,
David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Subject: [PATCH v3 1/2] dt-bindings: phy: ti,phy-usb3: Add aspcie reference clock setting
Date: Sat, 5 Sep 2026 23:15:54 +0200 [thread overview]
Message-ID: <20260905211555.15944-2-david.oberhollenzer@sigma-star.at> (raw)
In-Reply-To: <20260905211555.15944-1-david.oberhollenzer@sigma-star.at>
The PHY control logic in the OMAP PCIe PHY subsystem has a
configurable reference clock selection. It can either use
the ljcb_clkp/ljcb_clkn pin as inputs, recovering the clock
from the bus (RX mode), or generate the reference clock
internally, driving the bus pins as outputs (TX mode).
The setting is exposed through a register in a system controller.
A device tree property is added to specify the syscon node,
register offset and mode value.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
---
.../devicetree/bindings/phy/ti,phy-usb3.yaml | 38 +++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/ti,phy-usb3.yaml b/Documentation/devicetree/bindings/phy/ti,phy-usb3.yaml
index 84f538aa587c..41e7bb42cbbe 100644
--- a/Documentation/devicetree/bindings/phy/ti,phy-usb3.yaml
+++ b/Documentation/devicetree/bindings/phy/ti,phy-usb3.yaml
@@ -52,6 +52,20 @@ properties:
enum: [wkupclk, sysclk, refclk, dpll_ref,
dpll_ref_m2, phy-div, div-clk]
+ ti,syscon-acspcie-tx-rx:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ description:
+ Syscon register and setting to configure the clock buffer to run
+ in RX mode (clock pins are inputs, the clock is recovered from
+ the bus), or in TX mode (pins are outputs, internal reference
+ clock drives the bus).
+ maxItems: 1
+ items:
+ items:
+ - description: Phandle to the system control module
+ - description: Register offset of CTRL_CORE_SMA_SW_6
+ - description: Setting for PCIE_TX_RX_CONTROL
+
syscon-phy-power:
$ref: /schemas/types.yaml#/definitions/phandle-array
maxItems: 1
@@ -94,6 +108,15 @@ allOf:
else:
properties:
syscon-pllreset: false
+ - if:
+ not:
+ properties:
+ compatible:
+ contains:
+ const: ti,phy-pipe3-pcie
+ then:
+ properties:
+ ti,syscon-acspcie-tx-rx: false
required:
- reg
@@ -135,4 +158,19 @@ examples:
syscon-pllreset = <&scm_conf 0x3fc>;
#phy-cells = <0>;
};
+
+ - |
+ /* TI PIPE3 PCIE PHY */
+ pcie-phy@4a0a4000 {
+ compatible = "ti,phy-pipe3-pcie";
+ reg = <0x4a0a4000 0x80>, /* phy_rx */
+ <0x4a0a4400 0x64>; /* phy_tx */
+ reg-names = "phy_rx", "phy_tx";
+ clocks = <&dpll_pcie_ref_ck>, <&dpll_pcie_ref_m2ldo_ck>;
+ clock-names = "dpll_ref", "dpll_ref_m2";
+ #phy-cells = <0>;
+ syscon-phy-power = <&scm_conf_pcie 0x1c>;
+ syscon-pcs = <&scm_conf_pcie 0x10>;
+ ti,syscon-acspcie-tx-rx = <&scm_conf1 0x10 0x2>;
+ };
...
--
2.55.0
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2026-09-05 21:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-05 21:15 [PATCH v3 0/2] phy: ti: ti-pipe3: allow configuring ACSPCIe TX/RX mode David Oberhollenzer
2026-09-05 21:15 ` David Oberhollenzer [this message]
2026-09-09 7:36 ` [PATCH v3 1/2] dt-bindings: phy: ti,phy-usb3: Add aspcie reference clock setting Krzysztof Kozlowski
2026-09-05 21:15 ` [PATCH v3 2/2] phy: ti: ti-pipe3: allow configuring ACSPCIe TX/RX mode David Oberhollenzer
2026-09-05 21:23 ` sashiko-bot
2026-09-09 7:37 ` 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=20260905211555.15944-2-david.oberhollenzer@sigma-star.at \
--to=david.oberhollenzer@sigma-star.at \
--cc=Julian.FRIEDRICH@frequentis.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=johan@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=rogerq@ti.com \
--cc=upstream+omap@sigma-star.at \
--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