summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
diff options
context:
space:
mode:
authorSiddharth Vadapalli <s-vadapalli@ti.com>2025-04-16 18:26:43 +0530
committerTom Rini <trini@konsulko.com>2025-04-28 13:24:56 -0600
commit05dc050059d2759fde7134be06e5654ceab46127 (patch)
treecc174000471015ac228a3054414085fd5abfe54e /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
parent6d159cf27202937fc7f91b241c6bccba80fd63d6 (diff)
net: ti: am65-cpsw-nuss: invoke phy_config() in driver's .start callback
Currently, the phy_config() API is invoked by the driver only once since it has been probed. While this works in general, it doesn't allow the driver to bring the PHY back to its default reset state. As a result, the driver might not be able to recover the PHY from a bad state. To address this, move phy_config() into the driver's start callback (am65_cpsw_start()). Apart from providing the means to recover the PHY in the event of failure, the implementation is in line with the idea of "reset and configure" that is already followed by am65_cpsw_start() when it comes to programming the CPSW MAC. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions