On Mon, Aug 09, 2021 at 04:52:13PM +0800, chaochao2021666@163.com wrote:
quoted hunk ↗ jump to hunk
From: Chao Zeng <redacted>
The phy status led of each of board maybe different.
Provide a method to custom phy status led behavior.
Datasheet:
http://www.ti.com/product/DP83867IR/datasheet
Signed-off-by: Chao Zeng <redacted>
---
.../devicetree/bindings/net/ti,dp83867.yaml | 6 ++++++
include/dt-bindings/net/ti-dp83867.h | 18 ++++++++++++++++++
2 files changed, 24 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/ti,dp83867.yaml b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
index 047d757e8d82..a46a437818f2 100644
--- a/Documentation/devicetree/bindings/net/ti,dp83867.yaml
+++ b/Documentation/devicetree/bindings/net/ti,dp83867.yaml
@@ -106,6 +106,12 @@ properties:
Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h for applicable
values.
+ ti,led-sel:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: |
+ This configure the status led. See dt-bindings/net/ti-dp83867.h
+ for different status led settings,select different configures
There's ongoing discussions about using the LED bindings/subsystem for
this type of LED.
Rob