phy: phy-mtk-tphy: support type switch by pericfg
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 17 Aug 2021 09:19:41 +0000 (17:19 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 17 Aug 2021 10:21:58 +0000 (15:51 +0530)
commit39099a4433586cdf30a7fc73aae4c77159b4a8c7
tree257ec8395549a3235e8d2b431c6cec44ad022ec3
parent3fd6611242b9f4e218175c11c8233ac4ab9402e6
phy: phy-mtk-tphy: support type switch by pericfg

Add support type switch between USB3, PCIe, SATA and SGMII by
pericfg register, this is used to take the place of efuse or
jumper.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1629191987-20774-3-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/mediatek/phy-mtk-tphy.c