dt-bindings: phy: mediatek: tphy: add a property for force-mode switch
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Mon, 11 Dec 2023 02:56:23 +0000 (10:56 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 21 Dec 2023 17:09:59 +0000 (22:39 +0530)
commitcc230a4cd8e91f64c90b5494dfd76848197418ed
tree68da3a73c98f3273c4f97384f4ea49c6593edba2
parent57f31e911eaa5e682c0a03253f8b4348adee52cb
dt-bindings: phy: mediatek: tphy: add a property for force-mode switch

Due to some old SoCs with shared t-phy between usb3 and pcie only support
force-mode switch, and shared and non-shared t-phy may exist at the same
time on a SoC, can't use compatible to distinguish between shared and
non-shared t-phy, add a property to supported it.
Currently, only support switch from default pcie mode to usb3 mode.
But now prefer to use "mediatek,syscon-type" on new SoC as far as possible.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231211025624.28991-1-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/mediatek,tphy.yaml