From: Marcus Carlberg <marcus.carlberg@axis.com>
To: <lxu@maxlinear.com>, <andrew@lunn.ch>
Cc: <linux-kernel@vger.kernel.org>, <kernel@axis.com>,
Marcus Carlberg <marcus.carlberg@axis.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
<devicetree@vger.kernel.org>,
Russell King <linux@armlinux.org.uk>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>, <netdev@vger.kernel.org>
Subject: [PATCH net-next 1/2] dt-bindings: net: Add mxl,gpy
Date: Tue, 20 Sep 2022 17:14:10 +0200 [thread overview]
Message-ID: <20220920151411.12523-2-marcus.carlberg@axis.com> (raw)
In-Reply-To: <20220920151411.12523-1-marcus.carlberg@axis.com>
Add dual-led-mode override property specific to mxl,gpy.
Signed-off-by: Marcus Carlberg <marcus.carlberg@axis.com>
---
.../devicetree/bindings/net/mxl,gpy.yaml | 39 +++++++++++++++++++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 1 +
3 files changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/mxl,gpy.yaml
diff --git a/Documentation/devicetree/bindings/net/mxl,gpy.yaml b/Documentation/devicetree/bindings/net/mxl,gpy.yaml
new file mode 100644
index 000000000000..423d2a5e1ce9
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/mxl,gpy.yaml
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/mxl,gpy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Maxlinear Phy
+
+maintainers:
+ - Xu Liang <lxu@maxlinear.com>
+
+allOf:
+ - $ref: ethernet-phy.yaml#
+
+properties:
+ mxl,dual-led-mode:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description:
+ If set, indicates that the hardware only have connected pins led0 and
+ led1 where led0 is used for noting the highest network speed (2500) and
+ led1 for the rest (10, 100, 1000). The absence of this property
+ indicates that the PHY uses all four led pins to communicate link speed,
+ one pin for each speed.
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ ethernet {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethernet-phy@0 {
+ compatible = "ethernet-phy-id67c9.de10", "ethernet-phy-ieee802.3-c45";
+ reg = <0>;
+ mxl,dual-led-mode;
+ };
+ };
+
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 2f0151e9f6be..3c833827a790 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -757,6 +757,8 @@ patternProperties:
description: MaxBotix Inc.
"^maxim,.*":
description: Maxim Integrated Products
+ "^mxl,.*":
+ description: Maxlinear Inc.
"^mbvl,.*":
description: Mobiveil Inc.
"^mcube,.*":
diff --git a/MAINTAINERS b/MAINTAINERS
index 9ae989b32ebb..accc4242c027 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -12455,6 +12455,7 @@ MAXLINEAR ETHERNET PHY DRIVER
M: Xu Liang <lxu@maxlinear.com>
L: netdev@vger.kernel.org
S: Supported
+F: Documentation/devicetree/bindings/net/phy/mxl,gpy.yaml
F: drivers/net/phy/mxl-gpy.c
MCBA MICROCHIP CAN BUS ANALYZER TOOL DRIVER
--
2.20.1
next prev parent reply other threads:[~2022-09-20 15:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-20 15:14 [PATCH net-next 0/2] net: phy: mxl-gpy: Add mode for 2 leds Marcus Carlberg
2022-09-20 15:14 ` Marcus Carlberg [this message]
2022-09-25 23:27 ` [PATCH net-next 1/2] dt-bindings: net: Add mxl,gpy kernel test robot
2022-09-20 15:14 ` [PATCH net-next 2/2] net: phy: mxl-gpy: Add mode for 2 leds Marcus Carlberg
2022-09-22 8:05 ` [PATCH net-next 0/2] " Michael Walle
2022-09-22 12:00 ` 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=20220920151411.12523-2-marcus.carlberg@axis.com \
--to=marcus.carlberg@axis.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=kernel@axis.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=lxu@maxlinear.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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 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.