dt-bindings: net: realtek,rtl82xx: Document RTL8211F LED support
authorMarek Vasut <marex@denx.de>
Mon, 8 Jul 2024 21:16:29 +0000 (23:16 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 11 Jul 2024 02:04:42 +0000 (19:04 -0700)
The RTL8211F PHY does support LED configuration, document support
for LEDs in the binding document.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240708211649.165793-1-marex@denx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml

index 18ee72f5c74a86bf7c7113953f694ddbffb2121e..d248a08a2136b2fc1c7c20045cf7f7db017bf877 100644 (file)
@@ -14,9 +14,6 @@ maintainers:
 description:
   Bindings for Realtek RTL82xx PHYs
 
-allOf:
-  - $ref: ethernet-phy.yaml#
-
 properties:
   compatible:
     enum:
@@ -41,6 +38,8 @@ properties:
       - ethernet-phy-id001c.cad0
       - ethernet-phy-id001c.cb00
 
+  leds: true
+
   realtek,clkout-disable:
     type: boolean
     description:
@@ -54,6 +53,18 @@ properties:
 
 unevaluatedProperties: false
 
+allOf:
+  - $ref: ethernet-phy.yaml#
+  - if:
+      not:
+        properties:
+          compatible:
+            contains:
+              const: ethernet-phy-id001c.c916
+    then:
+      properties:
+        leds: false
+
 examples:
   - |
     mdio {