[net-next PATCH v6 11/16] dt-bindings: net: ethernet-controller: Document support for LEDs node

Christian Marangi ansuelsmth at gmail.com
Mon Mar 27 07:10:26 PDT 2023


Document support for LEDs node in ethernet-controller.
Ethernet Controller may support different LEDs that can be configured
for different operation like blinking on traffic event or port link.

Also add some Documentation to describe the difference of these nodes
compared to PHY LEDs, since ethernet-controller LEDs are controllable
by the ethernet controller regs and the possible intergated PHY doesn't
have control on them.

Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 .../devicetree/bindings/net/ethernet-controller.yaml   | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
index 00be387984ac..e2558787531b 100644
--- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
@@ -222,6 +222,16 @@ properties:
         required:
           - speed
 
+  leds:
+    description:
+      Describes the LEDs associated by Ethernet Controller.
+      These LEDs are not integrated in the PHY and PHY doesn't have any
+      control on them. Ethernet Controller regs are used to control
+      these defined LEDs.
+
+    allOf:
+      - $ref: /schemas/leds/leds-ethernet.yaml#
+
 dependencies:
   pcs-handle-names: [pcs-handle]
 
-- 
2.39.2




More information about the linux-arm-kernel mailing list