From: Josua Mayer <josua@solid-run.com>
To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: Josua Mayer <josua@solid-run.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Ioana Ciornei <ioana.ciornei@nxp.com>
Subject: [PATCH v3 2/4] dt-bindings: net: dpaa2 mac: add phys property
Date: Mon, 19 Jun 2023 12:00:24 +0300 [thread overview]
Message-ID: <20230619090026.22713-3-josua@solid-run.com> (raw)
In-Reply-To: <20230619090026.22713-1-josua@solid-run.com>
dpaa2 mac supports runtime configuration of network protocols on a
generic phy object specified via the "phys" property.
It is currently used with the SerDes28G driver to switch SerDes
protocol between SGMII and USXGMII at runtime.
Support was introduced with:
f978fe8 "dpaa2-mac: configure the SerDes phy on a protocol change"
Add bindings description for the missing "phys" property, to fix dtc_chk
errors present in various layerscape based dts:
'phys' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Josua Mayer <josua@solid-run.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
V1 -> V2: this patch is newly added to patch-set
Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
index a1b71b35319e..a40c7a84af2a 100644
--- a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
+++ b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
@@ -24,6 +24,10 @@ properties:
maxItems: 1
description: The DPMAC number
+ phys:
+ maxItems: 1
+ description: Generic PHY for SerDes runtime configuration.
+
phy-handle: true
phy-connection-type: true
--
2.35.3
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Josua Mayer <josua@solid-run.com>
To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: Josua Mayer <josua@solid-run.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Ioana Ciornei <ioana.ciornei@nxp.com>
Subject: [PATCH v3 2/4] dt-bindings: net: dpaa2 mac: add phys property
Date: Mon, 19 Jun 2023 12:00:24 +0300 [thread overview]
Message-ID: <20230619090026.22713-3-josua@solid-run.com> (raw)
In-Reply-To: <20230619090026.22713-1-josua@solid-run.com>
dpaa2 mac supports runtime configuration of network protocols on a
generic phy object specified via the "phys" property.
It is currently used with the SerDes28G driver to switch SerDes
protocol between SGMII and USXGMII at runtime.
Support was introduced with:
f978fe8 "dpaa2-mac: configure the SerDes phy on a protocol change"
Add bindings description for the missing "phys" property, to fix dtc_chk
errors present in various layerscape based dts:
'phys' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Josua Mayer <josua@solid-run.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
V1 -> V2: this patch is newly added to patch-set
Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
index a1b71b35319e..a40c7a84af2a 100644
--- a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
+++ b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
@@ -24,6 +24,10 @@ properties:
maxItems: 1
description: The DPMAC number
+ phys:
+ maxItems: 1
+ description: Generic PHY for SerDes runtime configuration.
+
phy-handle: true
phy-connection-type: true
--
2.35.3
next prev parent reply other threads:[~2023-06-19 9:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-19 9:00 [PATCH v3 0/4] arm64: dts: freescale: Add support for LX2162 SoM & Clearfog Board Josua Mayer
2023-06-19 9:00 ` Josua Mayer
2023-06-19 9:00 ` [PATCH v3 1/4] arm64: dts: lx2160a: describe the SerDes block #2 Josua Mayer
2023-06-19 9:00 ` Josua Mayer
2023-06-19 9:00 ` Josua Mayer [this message]
2023-06-19 9:00 ` [PATCH v3 2/4] dt-bindings: net: dpaa2 mac: add phys property Josua Mayer
2023-06-19 9:00 ` [PATCH v3 3/4] dt-bindings: arm: Add SolidRun LX2162A SoM & Clearfog Board Josua Mayer
2023-06-19 9:00 ` Josua Mayer
2023-06-19 9:00 ` [PATCH v3 4/4] arm64: dts: freescale: Add support for LX2162 " Josua Mayer
2023-06-19 9:00 ` Josua Mayer
2023-07-18 2:46 ` Shawn Guo
2023-07-18 2:46 ` Shawn Guo
2023-07-23 10:37 ` Josua Mayer
2023-07-23 10:37 ` Josua Mayer
2023-07-30 3:01 ` Shawn Guo
2023-07-30 3:01 ` Shawn Guo
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=20230619090026.22713-3-josua@solid-run.com \
--to=josua@solid-run.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=ioana.ciornei@nxp.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh+dt@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.