diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2021-12-18 16:27:58 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-12-24 10:06:37 +0530 |
commit | c6d92a287ae718c3207dddea3f36ea1689ac59a8 (patch) | |
tree | 5a3bbadf4c78de3d103be962b4665e6abd50ab87 /Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | |
parent | phy: qcom-qmp: Add SM8450 PCIe1 PHY support (diff) | |
download | linux-dev-c6d92a287ae718c3207dddea3f36ea1689ac59a8.tar.xz linux-dev-c6d92a287ae718c3207dddea3f36ea1689ac59a8.zip |
dt-bindings: phy: mediatek: tphy: support software efuse load
Add optional property nvmem-cells and nvmem-cell-names to support
software efuse load, this helps to fix the efuse bit shift issue
on mt8195 etc.
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20211218082802.5256-1-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/phy/mediatek,tphy.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml index 9e6c0f43f1c6..05ee274b4b71 100644 --- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml +++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml @@ -160,6 +160,24 @@ patternProperties: - PHY_TYPE_PCIE - PHY_TYPE_SATA + nvmem-cells: + items: + - description: internal R efuse for U2 PHY or U3/PCIe PHY + - description: rx_imp_sel efuse for U3/PCIe PHY + - description: tx_imp_sel efuse for U3/PCIe PHY + description: | + Phandles to nvmem cell that contains the efuse data; + Available only for U2 PHY or U3/PCIe PHY of version 2/3, these + three items should be provided at the same time for U3/PCIe PHY, + when use software to load efuse; + If unspecified, will use hardware auto-load efuse. + + nvmem-cell-names: + items: + - const: intr + - const: rx_imp + - const: tx_imp + # The following optional vendor properties are only for debug or HQA test mediatek,eye-src: description: |