Re: [PATCH 2/3] dt-bindings: net: realtek,rtl9301-switch: add port LED controller

From: Krzysztof Kozlowski

Date: Tue Oct 20 2026 - 03:34:08 EST


On Sun, Oct 18, 2026 at 12:43:37PM -0700, Ross Cawston wrote:
> The switch drives the port LEDs, and some boards wire LEDs to it that
> have no hardware function and are switched in software, such as PoE
> status LEDs. Allow the software LED control block, described by
> realtek,rtl9301-port-leds, as a child of the switch like its I2C and
> MDIO controllers.
>
> Signed-off-by: Ross Cawston <ross@xxxxxxx>
> ---
> .../devicetree/bindings/net/realtek,rtl9301-switch.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml b/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml
> index 80eabc17066..9529327ee0c 100644
> --- a/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml
> +++ b/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml
> @@ -57,6 +57,9 @@ patternProperties:
> 'mdio-controller@[0-9a-f]+$':
> $ref: realtek,rtl9301-mdio.yaml#
>
> + 'led-controller@[0-9a-f]+$':
> + $ref: /schemas/leds/realtek,rtl9301-port-leds.yaml#

This depends on previous patch, so cover letter should be explicit what
maintainers can or cannot do with it.

Best regards,
Krzysztof