From: Rob Herring <robh@kernel.org>
To: Sean Anderson <sean.anderson@seco.com>
Cc: devicetree@vger.kernel.org, Madalin Bucur <madalin.bucur@nxp.com>,
netdev@vger.kernel.org, Russell King <linux@armlinux.org.uk>,
linux-kernel@vger.kernel.org, Eric Dumazet <edumazet@google.com>,
Rob Herring <robh+dt@kernel.org>,
Camelia Alexandra Groza <camelia.groza@nxp.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
"linuxppc-dev @ lists . ozlabs . org"
<linuxppc-dev@lists.ozlabs.org>,
"David S . Miller" <davem@davemloft.net>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH net-next v5 2/9] dt-bindings: net: Add Lynx PCS binding
Date: Fri, 30 Sep 2022 09:37:56 -0500 [thread overview]
Message-ID: <166454867358.281536.13914577954285422823.robh@kernel.org> (raw)
In-Reply-To: <20220926190322.2889342-3-sean.anderson@seco.com>
On Mon, 26 Sep 2022 15:03:14 -0400, Sean Anderson wrote:
> This binding is fairly bare-bones for now, since the Lynx driver doesn't
> parse any properties (or match based on the compatible). We just need it
> in order to prevent the PCS nodes from having phy devices attached to
> them. This is not really a problem, but it is a bit inefficient.
>
> This binding is really for three separate PCSs (SGMII, QSGMII, and XFI).
> However, the driver treats all of them the same. This works because the
> SGMII and XFI devices typically use the same address, and the SerDes
> driver (or RCW) muxes between them. The QSGMII PCSs have the same
> register layout as the SGMII PCSs. To do things properly, we'd probably
> do something like
>
> ethernet-pcs@0 {
> #pcs-cells = <1>;
> compatible = "fsl,lynx-pcs";
> reg = <0>, <1>, <2>, <3>;
> };
>
> but that would add complexity, and we can describe the hardware just
> fine using separate PCSs for now.
>
> Signed-off-by: Sean Anderson <sean.anderson@seco.com>
> ---
>
> Changes in v5:
> - New
>
> .../bindings/net/pcs/fsl,lynx-pcs.yaml | 40 +++++++++++++++++++
> 1 file changed, 40 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml
>
Reviewed-by: Rob Herring <robh@kernel.org>
next prev parent reply other threads:[~2022-09-30 14:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-26 19:03 [PATCH net-next v5 0/9] [RFT] net: dpaa: Convert to phylink Sean Anderson
2022-09-26 19:03 ` [PATCH net-next v5 1/9] dt-bindings: net: Expand pcs-handle to an array Sean Anderson
2022-09-27 14:39 ` Rob Herring
2022-09-27 15:33 ` Rob Herring
2022-09-27 16:27 ` Sean Anderson
2022-09-26 19:03 ` [PATCH net-next v5 2/9] dt-bindings: net: Add Lynx PCS binding Sean Anderson
2022-09-30 14:37 ` Rob Herring [this message]
2022-09-26 19:03 ` [PATCH net-next v5 3/9] dt-bindings: net: fman: Add additional interface properties Sean Anderson
2022-09-26 19:03 ` [PATCH net-next v5 4/9] net: fman: memac: Add serdes support Sean Anderson
2022-09-26 19:03 ` [PATCH net-next v5 5/9] net: fman: memac: Use lynx pcs driver Sean Anderson
2022-09-26 19:03 ` [PATCH net-next v5 6/9] net: dpaa: Convert to phylink Sean Anderson
2022-09-26 19:03 ` [PATCH net-next v5 7/9] powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G Sean Anderson
2022-09-26 19:03 ` [PATCH net-next v5 8/9] powerpc: dts: qoriq: Add nodes for QSGMII PCSs Sean Anderson
2022-09-26 19:03 ` [PATCH net-next v5 9/9] arm64: dts: layerscape: " Sean Anderson
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=166454867358.281536.13914577954285422823.robh@kernel.org \
--to=robh@kernel.org \
--cc=camelia.groza@nxp.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=madalin.bucur@nxp.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh+dt@kernel.org \
--cc=sean.anderson@seco.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;
as well as URLs for NNTP newsgroup(s).