aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorInochi Amaoto <inochiama@gmail.com>2025-11-14 08:38:04 +0800
committerJakub Kicinski <kuba@kernel.org>2025-11-17 19:57:38 -0800
commit24afd7827efb7c69adfc41835390470e3eec4740 (patch)
tree8e160b98448e955375b14590e17968b8f1596578 /scripts/lib/kdoc/kdoc_files.py
parentdt-bindings: net: sophgo,sg2044-dwmac: add phy mode restriction (diff)
downloadwireguard-linux-24afd7827efb7c69adfc41835390470e3eec4740.tar.xz
wireguard-linux-24afd7827efb7c69adfc41835390470e3eec4740.zip
net: phy: Add helper for fixing RGMII PHY mode based on internal mac delay
The "phy-mode" property of devicetree indicates whether the PCB has delay now, which means the mac needs to modify the PHY mode based on whether there is an internal delay in the mac. This modification is similar for many ethernet drivers. To simplify code, define the helper phy_fix_phy_mode_for_mac_delays(speed, mac_txid, mac_rxid) to fix PHY mode based on whether mac adds internal delay. Suggested-by: Russell King (Oracle) <linux@armlinux.org.uk> Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20251114003805.494387-3-inochiama@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions