Re: [PATCH net-next v4 3/3] net: phy: dap8211r: add PHY LED control support

From: Andrew Lunn

Date: Sun Nov 22 2026 - 10:30:07 EST


On Sun, Nov 22, 2026 at 04:18:56PM +0300, Artem Shimko wrote:
> Add support for hardware-controlled LEDs and brightness on the DAP8211R
> PHY. The chip exposes three LEDs that can be programmed to react to link,
> speed, duplex, and TX/RX activity or be driven via the force mode.
>
> Add the dap8211r_write_ext() helper to access extended registers via the
> PHY indirect access registers, and implement callbacks for:
> led_brightness_set(), led_hw_is_supported(), led_hw_control_set(),
> led_hw_control_get().
>
> Signed-off-by: Artem Shimko <a.shimko.dev@xxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew