net: sun8i-emac: Add support for active-low leds with internal PHY
authorPaul Kocialkowski <contact@paulk.fr>
Tue, 5 Aug 2025 17:48:27 +0000 (19:48 +0200)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 27 Oct 2025 11:12:56 +0000 (11:12 +0000)
commit48293ab19ab225bd1074eea7d40987ced37460b8
tree04befcf3ff96ee1232d5a4df52cdfba4f57cadcd
parent8513f7e78a9630c09c3d631055f319e890a319ad
net: sun8i-emac: Add support for active-low leds with internal PHY

A device-tree property is already defined to indicate that the internal
PHY should be used with active-low leds, which corresponds to a
specific bit in the dedicated syscon register.

Add support for setting this bit when the property is present.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
drivers/net/sun8i_emac.c