On Sun, Nov 26, 2023 at 12:46:03AM +0100, Linus Walleij wrote:
On Thu, Nov 23, 2023 at 5:13 PM Andrew Lunn [off-list ref] wrote:
quoted
What i would really like to see happen is that the DSA core handles
the registration of the LEDs, similar to how phylib does. The DT
binding should be identical for all DSA devices, so there is no need
for each driver to do its own parsing.
There are some WIP patches at
https://github.com/lunn/linux.git leds-offload-support-reduced-auto-netdev
which implement this. Feel free to make use of them.
Oh it's quite a lot of patches, I really cannot drive that because there are
so many things about them that I don't understand the thinking behind...
But I like what I see!
O.K. Let me dust them off, rebase them on net-next and see what is
missing. You have some fibre things i don't have. I don't have a
machine with fibre so i cannot test that.
Andrew