Re: [PATCH v2 1/2] net: phy: motorcomm: add led_brightness_set for YT8521
From: Chukun Pan
Date: Tue Nov 24 2026 - 01:51:08 EST
Hi,
> Did you test enabling a mode which uses the hardware to blink?
I've tested that the rx and tx in netdev trigger work correctly.
> Sometimes you need to take it out of forced mode. It could be that any
> value other than 0 in YT8521_LED0_CFG_REG does that, but there is
> nothing i can see here which suggests that.
Inside yt8521_led_hw_control_set(), I have already exited
Forced Mode using yt8521_hw_led_on_set().
Forced Mode is controlled solely by LED_GENERAL_CFG_REG and
is independent of LED0_CFG_REG.
Sorry, but did I explain that clearly?
Thanks,
Chukun