]> www.infradead.org Git - users/dwmw2/linux.git/commit
phy: mediatek: xsphy: support type switch by pericfg
authorDaniel Golle <daniel@makrotopia.org>
Tue, 22 Apr 2025 13:24:29 +0000 (15:24 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 08:24:44 +0000 (09:24 +0100)
commitf85eb659a48cc2f0c98a122e760552b69e56c06f
tree841dd77f07763b23e2ed35ea6e858edad5e3fcb0
parentb484b25a486962b568ada1f55c1b96dfd96b912d
phy: mediatek: xsphy: support type switch by pericfg

Patch from Sam Shih <sam.shih@mediatek.com> found in MediaTek SDK
released under GPL.

Get syscon and use it to set the PHY type.
Extend support to PCIe and SGMII mode in addition to USB2 and USB3.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250422132438.15735-7-linux@fw-web.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/mediatek/phy-mtk-xsphy.c