diff mbox series

[net-next,+,leds,v2,4/7] dt-bindings: net: ethernet-phy: add description for PHY LEDs

Message ID 20200909162552.11032-5-marek.behun@nic.cz
State New
Headers show
Series [net-next,+,leds,v2,1/7] dt-bindings: leds: document binding for HW controlled LEDs | expand

Commit Message

Marek BehĂșn Sept. 9, 2020, 4:25 p.m. UTC
Document binding for LEDs connected to an ethernet PHY chip.

Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
---
 Documentation/devicetree/bindings/net/ethernet-phy.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
index a9e547ac79051..f593e8709dd0d 100644
--- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
@@ -174,6 +174,14 @@  properties:
       PHY's that have configurable TX internal delays. If this property is
       present then the PHY applies the TX delay.
 
+  leds:
+    type: object
+    description: |
+      This is used to described LEDs that are connected to the PHY chip and
+      their blinking can be controlled by the PHY.
+    allOf:
+      - $ref: /schemas/leds/linux,hw-controlled-leds.yaml#
+
 required:
   - reg