]> git.baikalelectronics.ru Git - kernel.git/commit
phy: phy-mtk-tphy: add support efuse setting
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Sat, 18 Dec 2021 08:27:59 +0000 (16:27 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 24 Dec 2021 04:36:37 +0000 (10:06 +0530)
commit75c9c66597b7086e6d8d49428ef7fcf474535883
treefa6752951367878b64742df41ae3791666ffae34
parent55bb1b0c1817bd70b9bdfc20954d1a3b9516c70d
phy: phy-mtk-tphy: add support efuse setting

Due to some SoCs have a bit shift issue that will drop a bit for usb3
phy or pcie phy, fix it by adding software efuse reading and setting,
but only support it optionally for version 2/3.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20211218082802.5256-2-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/mediatek/phy-mtk-tphy.c