Re: [net-next PATCH 1/2] dt-bindings: Document QCA808x PHYs

From: Andrew Lunn
Date: Mon Dec 11 2023 - 10:54:23 EST


> Mhhh with a generic property and LED core or phylib handling it... How
> it would work applying that setting on PHY side?

Add a .led_set_polarity callback to the PHY driver structure?

Take a look at other LED drivers. Does anything similar already exist?
It is unlikely that PHYs are the only sort of LED to have a polarity.

Andrew