devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jack Ping CHNG <jchng@maxlinear.com>
To: <netdev@vger.kernel.org>, <devicetree@vger.kernel.org>
Cc: <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>,
	Jack Ping CHNG <jchng@maxlinear.com>
Subject: [PATCH net-next 2/2] dt-bindings: net: mxl: Add MxL LGM Network Processor SoC
Date: Fri, 22 Aug 2025 17:08:09 +0800	[thread overview]
Message-ID: <20250822090809.1464232-3-jchng@maxlinear.com> (raw)
In-Reply-To: <20250822090809.1464232-1-jchng@maxlinear.com>

Introduce device-tree binding documentation for
MaxLinear LGM Network Processor

Signed-off-by: Jack Ping CHNG <jchng@maxlinear.com>
---
 .../devicetree/bindings/net/mxl,lgm-eth.yaml  | 59 +++++++++++++++++++
 1 file changed, 59 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/mxl,lgm-eth.yaml

diff --git a/Documentation/devicetree/bindings/net/mxl,lgm-eth.yaml b/Documentation/devicetree/bindings/net/mxl,lgm-eth.yaml
new file mode 100644
index 000000000000..3d5b32b5b650
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/mxl,lgm-eth.yaml
@@ -0,0 +1,59 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/net/mxl,lgm-eth.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: MaxLinear LGM Ethernet Controller
+
+maintainers:
+  - Jack Ping Chng <jchng@maxlinear.com>
+
+description:
+  Binding for MaxLinear LGM Ethernet controller
+
+properties:
+  compatible:
+    enum:
+      - mxl,lgm-eth
+
+  clocks:
+    maxItems: 1
+
+  clock-names:
+    items:
+      - const: ethif
+
+  resets:
+    maxItems: 1
+
+patternProperties:
+  "^interface$":
+    type: object
+    properties:
+      compatible:
+        enum:
+          - mxl,lgm-mac
+    required:
+      - compatible
+    additionalProperties: false
+
+required:
+  - compatible
+  - clocks
+  - clock-names
+
+additionalProperties: false
+
+examples:
+  - |
+    eth {
+      compatible = "mxl,lgm-eth";
+      clocks = <&cgu0 32>;
+      clock-names = "ethif";
+      resets = <&rcu0 0x70 8>;
+
+      interface {
+          compatible = "mxl,lgm-mac";
+      };
+    };
-- 
2.34.1


  parent reply	other threads:[~2025-08-22  9:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-22  9:08 [PATCH net-next 0/2] Add MxL Ethernet driver & devicetree binding Jack Ping CHNG
2025-08-22  9:08 ` [PATCH net-next 1/2] net: maxlinear: Add build support for MxL SoC Jack Ping CHNG
2025-08-22  9:42   ` Krzysztof Kozlowski
2025-08-22 14:58   ` Andrew Lunn
2025-08-22  9:08 ` Jack Ping CHNG [this message]
2025-08-22  9:39   ` [PATCH net-next 2/2] dt-bindings: net: mxl: Add MxL LGM Network Processor SoC Krzysztof Kozlowski
2025-08-22 12:58   ` Rob Herring (Arm)
2025-08-22 15:06 ` [PATCH net-next 0/2] Add MxL Ethernet driver & devicetree binding Andrew Lunn

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=20250822090809.1464232-3-jchng@maxlinear.com \
    --to=jchng@maxlinear.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.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;
as well as URLs for NNTP newsgroup(s).