Re: [PATCH net-next 3/3] net: dsa: lan9303: add LED mode configuration

From: Andrew Lunn

Date: Sat Nov 28 2026 - 11:00:10 EST


> At first, I thought that the fact that this PHY has a single field for all LEDs
> function would make the vendor property somewhat acceptable.

As i said, it makes the implementation messy, and many of the blink
modes are going to end up in software, but it looks like the standard
/sys/class/led API can be used.

I would try to document an a simple to understand way what each LED
can do in hardware. That way users can try to keep with the hardware
offload cases.

Andrew