From: Krzysztof Kozlowski <krzk@kernel.org>
To: Daniel Machon <daniel.machon@microchip.com>,
Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Lars Povlsen <lars.povlsen@microchip.com>,
Steen Hegelund <Steen.Hegelund@microchip.com>,
UNGLinuxDriver@microchip.com, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-phy@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 8/9] dt-bindings: phy: sparx5: document lan969x in sparx5 dt-bindings
Date: Fri, 6 Sep 2024 14:59:57 +0200 [thread overview]
Message-ID: <c0aa5342-a2af-4ac4-bc33-b6dbfff77f63@kernel.org> (raw)
In-Reply-To: <20240906-sparx5-lan969x-serdes-driver-v1-8-8d630614c58a@microchip.com>
On 06/09/2024 14:52, Daniel Machon wrote:
> Document lan969x in the existing Sparx5 dt-bindings.
>
Say something useful, not copy of subject.
> Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
A nit, subject: drop second/last, redundant "dt-bindings". The
"dt-bindings" prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
> ---
> .../bindings/phy/microchip,sparx5-serdes.yaml | 18 ++++++++++++++++--
> 1 file changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/phy/microchip,sparx5-serdes.yaml b/Documentation/devicetree/bindings/phy/microchip,sparx5-serdes.yaml
> index bdbdb3bbddbe..1e07a311e8a5 100644
> --- a/Documentation/devicetree/bindings/phy/microchip,sparx5-serdes.yaml
> +++ b/Documentation/devicetree/bindings/phy/microchip,sparx5-serdes.yaml
> @@ -8,6 +8,7 @@ title: Microchip Sparx5 Serdes controller
>
> maintainers:
> - Steen Hegelund <steen.hegelund@microchip.com>
> + - Daniel Machon <daniel.machon@microchip.com>
>
> description: |
> The Sparx5 SERDES interfaces share the same basic functionality, but
> @@ -62,12 +63,17 @@ description: |
> * 10.3125 Gbps (10GBASE-R/10GBASE-KR/USXGMII)
> * 25.78125 Gbps (25GBASE-KR/25GBASE-CR/25GBASE-SR/25GBASE-LR/25GBASE-ER)
>
> + lan969x has ten SERDES10G interfaces that share the same features, operating
> + modes and data rates as the equivalent Sparx5 SERDES10G interfaces.
> +
> properties:
> $nodename:
> pattern: "^serdes@[0-9a-f]+$"
>
> compatible:
> - const: microchip,sparx5-serdes
> + enum:
> + - microchip,sparx5-serdes
> + - microchip,lan969x-serdes
It seems there is no lan969x SoC/chip. Are you sure you are using
correct naming, matching what kernel is using? Maybe you just sent
whatever you had in downstream (hint: that's never a good idea).
>
> reg:
> minItems: 1
> @@ -90,11 +96,19 @@ additionalProperties: false
>
> examples:
> - |
> - serdes: serdes@10808000 {
> + serdes@10808000 {
> compatible = "microchip,sparx5-serdes";
> #phy-cells = <1>;
> clocks = <&sys_clk>;
> reg = <0x10808000 0x5d0000>;
> };
>
> + - |
> + serdes@e3410000 {
> + compatible = "microchip,lan969x-serdes";
> + #phy-cells = <1>;
> + clocks = <&fabric_clk>;
No differences so no need for new example. Also please follow DTS coding
style in case of any DTS code.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-09-06 13:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-06 12:52 [PATCH 0/9] phy: sparx5-serdes: add support for lan969x serdes driver Daniel Machon
2024-09-06 12:52 ` [PATCH 1/9] phy: sparx5-serdes: add support for private match data Daniel Machon
2024-09-06 12:52 ` [PATCH 2/9] phy: sparx5-serdes: add constants to " Daniel Machon
2024-09-06 12:52 ` [PATCH 3/9] phy: sparx5-serdes: add constant for the number of CMU's Daniel Machon
2024-09-06 12:52 ` [PATCH 4/9] phy: sparx5-serdes: add ops to match data Daniel Machon
2024-09-06 12:52 ` [PATCH 5/9] phy: sparx5-serdes: add function for getting the CMU index Daniel Machon
2024-09-06 12:52 ` [PATCH 6/9] phy: sparx5-serdes: add indirection layer to register macros Daniel Machon
2024-09-06 12:52 ` [PATCH 7/9] phy: sparx5-serdes: add support for branching on chip type Daniel Machon
2024-09-06 12:52 ` [PATCH 8/9] dt-bindings: phy: sparx5: document lan969x in sparx5 dt-bindings Daniel Machon
2024-09-06 12:59 ` Krzysztof Kozlowski [this message]
2024-09-09 8:22 ` Daniel Machon
2024-09-09 8:35 ` Krzysztof Kozlowski
2024-09-09 9:43 ` Daniel Machon
2024-09-09 10:42 ` Krzysztof Kozlowski
2024-09-06 12:52 ` [PATCH 9/9] phy: lan969x-serdes: add support for lan969x serdes driver Daniel Machon
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=c0aa5342-a2af-4ac4-bc33-b6dbfff77f63@kernel.org \
--to=krzk@kernel.org \
--cc=Steen.Hegelund@microchip.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=conor+dt@kernel.org \
--cc=daniel.machon@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars.povlsen@microchip.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.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
Powered by JetHome