Skip to content

Commit ab896aa

Browse files
Marek Vasutkuba-moo
authored andcommitted
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 <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent ce2f84e commit ab896aa

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ maintainers:
1414
description:
1515
Bindings for Realtek RTL82xx PHYs
1616

17-
allOf:
18-
- $ref: ethernet-phy.yaml#
19-
2017
properties:
2118
compatible:
2219
enum:
@@ -41,6 +38,8 @@ properties:
4138
- ethernet-phy-id001c.cad0
4239
- ethernet-phy-id001c.cb00
4340

41+
leds: true
42+
4443
realtek,clkout-disable:
4544
type: boolean
4645
description:
@@ -54,6 +53,18 @@ properties:
5453

5554
unevaluatedProperties: false
5655

56+
allOf:
57+
- $ref: ethernet-phy.yaml#
58+
- if:
59+
not:
60+
properties:
61+
compatible:
62+
contains:
63+
const: ethernet-phy-id001c.c916
64+
then:
65+
properties:
66+
leds: false
67+
5768
examples:
5869
- |
5970
mdio {

0 commit comments

Comments
 (0)