Re: [PATCH 1/2] dt-bindings:dp83867:Add binding for the status led

From: Rob Herring
Date: Tue Aug 17 2021 - 14:48:18 EST


On Mon, Aug 09, 2021 at 04:52:13PM +0800, chaochao2021666@xxxxxxx wrote:
> From: Chao Zeng <chao.zeng@xxxxxxxxxxx>
>
> 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 <chao.zeng@xxxxxxxxxxx>
> ---
> .../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