Re: [PATCH 0/3] leds: add Realtek RTL9300 port LEDs under software control

From: Andrew Lunn

Date: Sun Oct 18 2026 - 20:03:33 EST


On Sun, Oct 18, 2026 at 04:20:14PM -0700, Ross Cawston wrote:
> On Sun, Oct 18, 2026 at 10:36 PM UTC, Andrew Lunn wrote:
> > Port LEDs should be within the port node of the switch in DT. Ideally
> > you want all LEDs for a port to start the with basics, on/off control.
> [...]
> > So please don't make these LEDs special.
>
> That makes sense. The catch is that RTL9300 has no switch driver
> upstream yet, so there is no port node with a driver behind it to put
> them in: mainline only has drivers for the switch's I2C and MDIO
> controllers.

Markus Stockhausen <markus.stockhausen@xxxxxx> did a lot of work on
the MDIO driver, based on what is in OpenWRT. Maybe he plans to work
on the switch driver?

Andrew