Re: [PATCH net-next v8 2/3] dt-bindings: net: dptel,dap8211r: add LED nodes

From: Artem Shimko

Date: Thu Dec 03 2026 - 02:31:19 EST


Hi Andrew,

On Thu, Dec 3, 2026 at 2:45 AM Andrew Lunn <andrew@xxxxxxx> wrote:
>
> On Wed, Dec 02, 2026 at 05:43:25PM +0300, Artem Shimko wrote:
> > Document the optional "leds" node supported by the DAP8211R PHY.
> >
> > The PHY exposes three configurable LED outputs, each of which can be
> > assigned a color, a function and a default trigger.
>
> It this needed?
>
> > - $ref: ethernet-phy.yaml#
>
> contains:
>
> leds:
> type: object
>
> properties:
> '#address-cells':
> const: 1
>
> '#size-cells':
> const: 0
>
> patternProperties:
> '^led@[a-f0-9]+$':
> $ref: /schemas/leds/common.yaml#
>
> properties:
> reg:
> maxItems: 1
> description:
> This defines the LED index in the PHY or the MAC. It's really
> driver dependent and required for ports that define multiple
> LED for the same port.
>
> required:
> - reg
>
> unevaluatedProperties: false
>
> additionalProperties: false
>
> It seems like you are just duplicating this.

I was initially doubtful about the necessity of this commit,
since neither maxlinear,gpy2xx nor other PHYs (realtek,rtl82xx,
motorcomm,yt8xxx and etc) have LED descriptions in the yaml bindings.

Yes, let's drop the dt-bindings patch, as ethernet-phy.yaml already covers it,
and the number of LEDs is verified within the driver itself.

Thank you for your review =)
--
Best regards,
artem