From: Marek Vasut Date: Mon, 8 Jul 2024 21:16:29 +0000 (+0200) Subject: dt-bindings: net: realtek,rtl82xx: Document RTL8211F LED support X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ab896aa62e309b3ceaa35b82dc99b64da7ce6bfa;p=users%2Fjedix%2Flinux-maple.git dt-bindings: net: realtek,rtl82xx: Document RTL8211F LED support The RTL8211F PHY does support LED configuration, document support for LEDs in the binding document. Signed-off-by: Marek Vasut Reviewed-by: Rob Herring (Arm) Link: https://patch.msgid.link/20240708211649.165793-1-marex@denx.de Signed-off-by: Jakub Kicinski --- diff --git a/Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml b/Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml index 18ee72f5c74a..d248a08a2136 100644 --- a/Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml +++ b/Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml @@ -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 {