From: Christian Marangi <ansuelsmth@gmail.com>
To: Christian Marangi <ansuelsmth@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>,
Lorenzo Bianconi <lorenzo@kernel.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
linux-arm-kernel@lists.infradead.org,
linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 3/4] dt-bindings: phy: airoha: Document support for AN7583 PCIe PHY
Date: Fri, 6 Jun 2025 21:22:04 +0200 [thread overview]
Message-ID: <20250606192208.26465-4-ansuelsmth@gmail.com> (raw)
In-Reply-To: <20250606192208.26465-1-ansuelsmth@gmail.com>
Document support for AN7583 PCIe PHY used to make the Gen3 PCIe port
work. Add the rwquired register to configure the PCIe PHY and provide an
example for it.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
.../bindings/phy/airoha,an7583-pcie-phy.yaml | 72 +++++++++++++++++++
1 file changed, 72 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/airoha,an7583-pcie-phy.yaml
diff --git a/Documentation/devicetree/bindings/phy/airoha,an7583-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/airoha,an7583-pcie-phy.yaml
new file mode 100644
index 000000000000..93252092c2e3
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/airoha,an7583-pcie-phy.yaml
@@ -0,0 +1,72 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/airoha,an7583-pcie-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Airoha AN7583 PCI-Express PHY
+
+maintainers:
+ - Christian Marangi <ansuelsmth@gmail.com>
+
+description:
+ The PCIe PHY supports physical layer functionality for PCIe Gen2/Gen3 port.
+
+properties:
+ compatible:
+ const: airoha,an7583-pcie-phy
+
+ reg:
+ items:
+ - description: PCIE G3 analog base address
+ - description: PCIE G3 PMA base address
+ - description: PCIE QPhy analog base address
+ - description: PCIE QPhy PMA base address
+ - description: PCIE QPhy diagnostic base address
+ - description: PCIE detection time base address
+ - description: PCIE Rx AEQ base address
+
+ reg-names:
+ items:
+ - const: g3-ana
+ - const: g3-pma
+ - const: qp-ana
+ - const: qp-pma
+ - const: qp-dig
+ - const: xr-dtime
+ - const: rx-aeq
+
+ "#phy-cells":
+ const: 0
+
+required:
+ - compatible
+ - reg
+ - reg-names
+ - "#phy-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/phy/phy.h>
+
+ soc {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ phy@11e80000 {
+ compatible = "airoha,an7583-pcie-phy";
+ #phy-cells = <0>;
+ reg = <0x0 0x1fc7f000 0x0 0xfff>,
+ <0x0 0x1fc7e000 0x0 0xfff>,
+ <0x0 0x1fa5f000 0x0 0xff>,
+ <0x0 0x1fa5e000 0x0 0x8ff>,
+ <0x0 0x1fa5a000 0x0 0x3ff>,
+ <0x0 0x1fc30044 0x0 0x4>,
+ <0x0 0x1fc35030 0x0 0x4>;
+ reg-names = "g3-ana", "g3-pma",
+ "qp-ana", "qp-pma", "qp-dig",
+ "xr-dtime", "rx-aeq";
+ };
+ };
--
2.48.1
next prev parent reply other threads:[~2025-06-06 19:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-06 19:22 [PATCH 0/4] phy: airoha: add support for AN7583 PCIe PHY driver Christian Marangi
2025-06-06 19:22 ` [PATCH 1/4] phy: move Airoha PCIe PHY driver to dedicated directory Christian Marangi
2025-06-06 19:22 ` [PATCH 2/4] phy: airoha: add EN7581 tag to PCIe PHY driver Christian Marangi
2025-06-06 19:22 ` Christian Marangi [this message]
2025-06-09 16:51 ` [PATCH 3/4] dt-bindings: phy: airoha: Document support for AN7583 PCIe PHY Conor Dooley
2025-06-17 13:57 ` Christian Marangi
2025-06-17 16:29 ` Conor Dooley
2025-06-06 19:22 ` [PATCH 4/4] phy: airoha: add support for AN7583 PCIe PHY driver Christian Marangi
2025-06-10 7:50 ` neil.armstrong
2025-06-17 13:59 ` Christian Marangi
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=20250606192208.26465-4-ansuelsmth@gmail.com \
--to=ansuelsmth@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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=lorenzo@kernel.org \
--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®