summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorAlexander Sverdlin <alexander.sverdlin@siemens.com>2026-09-29 14:51:41 +0200
committerJakub Kicinski <kuba@kernel.org>2026-10-05 16:23:50 -0700
commit82e2c7db0830d67d335ed4d1174fb2a9a2becb34 (patch)
tree07fda30166502efa476a5d3e6eaaaab3833eb6fd /include/linux/platform_data
parent1a2dbdb6602a668f87d243261ece58f297a6e528 (diff)
net: dsa: mxl-gsw1xx: force internal PHYs into a known reset state
When bootstrapped with PS_NOWAIT = 0 the internal PHYs stay held in reset, so the driver only worked with PS_NOWAIT = 1 where they are released automatically. Add a ->setup() hook, run before the MDIO bus is registered so PHY IDs are readable during the bus scan, that programs the RST_REQ PHY reset lines: release the PHYs of used ports and hold all other internal PHYs in reset. Driving both directions yields the same state regardless of the PS_NOWAIT bootstrap and keeps unused PHYs from staying powered. A single 300ms settle delay is applied only when at least one PHY is released. Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com> Link: https://patch.msgid.link/20260929125143.2890583-1-alexander.sverdlin@siemens.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions