From: Krzysztof Kozlowski <krzk@kernel.org>
To: Jack Ping CHNG <jchng@maxlinear.com>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
davem@davemloft.net, andrew+netdev@lunn.ch, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, yzhu@maxlinear.com,
sureshnagaraj@maxlinear.com
Subject: Re: [PATCH net-next v3 1/2] dt-bindings: net: mxl: Add MxL LGM Network Processor SoC
Date: Mon, 1 Sep 2025 06:59:01 +0200 [thread overview]
Message-ID: <20250901-angelic-righteous-chipmunk-843fac@kuoka> (raw)
In-Reply-To: <20250829124843.881786-2-jchng@maxlinear.com>
On Fri, Aug 29, 2025 at 08:48:42PM +0800, Jack Ping CHNG wrote:
> +title: MaxLinear LGM Ethernet Controller
> +
> +maintainers:
> + - Jack Ping Chng <jchng@maxlinear.com>
> +
> +description:
> + Binding for MaxLinear LGM Ethernet controller
Drop "Binding for" and write proper description of hardware, not what
binding is for.
What is LGM? What is LGM SoC? Why there is nowhere anything about that
LGM SoC?
> +
> +properties:
> + compatible:
> + enum:
> + - maxlinear,lgm-eth
> +
> + reg:
> + maxItems: 2
> +
> + reg-names:
> + items:
> + - const: port
> + - const: ctrl
> +
> + clocks:
> + maxItems: 1
> +
> + clock-names:
> + items:
> + - const: ethif
> +
> + resets:
> + maxItems: 1
> +
> + ethernet-ports:
> + type: object
> + additionalProperties: false
> +
> + properties:
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 0
> +
> + patternProperties:
> + "^port@[0-3]$":
> + type: object
> + $ref: ethernet-controller.yaml#
> + additionalProperties: false
> +
> + properties:
> + reg:
> + description: port id
> + maxItems: 1
> +
> + phy-handle:
> + maxItems: 1
> +
> + required:
> + - reg
> + - phy-handle
> +
> + mdio:
> + $ref: mdio.yaml#
> + unevaluatedProperties: false
> +
> +additionalProperties: false
Why did you move this? Previous position was correct, after required:.
> +
> +required:
> + - compatible
> + - reg
> + - reg-names
> + - clocks
> + - clock-names
> + - resets
> + - mdio
> +
> +examples:
> + - |
> + ethernet@e7140000 {
> + compatible = "maxlinear,lgm-eth";
> + reg = <0xe7140000 0x1200>,<0xe7150000 0x4000>;
Missing space after ,
> + reg-names = "port", "ctrl";
> + clocks = <&cgu0 32>;
> + clock-names = "ethif";
> + resets = <&rcu0 0x70 8>;
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-09-01 4:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-29 12:48 [PATCH net-next v3 0/2] Add MxL Ethernet driver & devicetree binding Jack Ping CHNG
2025-08-29 12:48 ` [PATCH net-next v3 1/2] dt-bindings: net: mxl: Add MxL LGM Network Processor SoC Jack Ping CHNG
2025-09-01 4:59 ` Krzysztof Kozlowski [this message]
2025-08-29 12:48 ` [PATCH net-next v3 2/2] net: maxlinear: Add support for MxL LGM SoC Jack Ping CHNG
2025-08-29 20:24 ` Andrew Lunn
2025-09-01 9:38 ` Jack Ping Chng
2025-09-01 13:11 ` Andrew Lunn
2025-09-02 10:39 ` Jack Ping Chng
2025-09-02 12:30 ` Andrew Lunn
2025-09-04 6:33 ` Jack Ping Chng
2025-09-04 12:20 ` Andrew Lunn
2025-08-29 20:29 ` Andrew Lunn
2025-09-01 5:01 ` Krzysztof Kozlowski
2025-09-02 8:46 ` Simon Horman
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=20250901-angelic-righteous-chipmunk-843fac@kuoka \
--to=krzk@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=jchng@maxlinear.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=sureshnagaraj@maxlinear.com \
--cc=yzhu@maxlinear.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