]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: phy-mt65xx-usb: supports PCIe, SATA and rename file
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 3 Aug 2017 10:01:03 +0000 (18:01 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Sun, 20 Aug 2017 08:29:50 +0000 (13:59 +0530)
add support for PCIe and SATA, also add some new compatibles.

due to phy-mt65xx-usb.txt holds the bindings for all mediatek SoCs
with T-PHY controller, change the name to phy-mtk-tphy.txt to
reflect that.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt [moved from Documentation/devicetree/bindings/phy/phy-mt65xx-usb.txt with 88% similarity]

similarity index 88%
rename from Documentation/devicetree/bindings/phy/phy-mt65xx-usb.txt
rename to Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
index 0acc5a99fb79227262ed6ef1f8d8774fefcb914a..faf18084a33ad09411d0a17fdd7ac5d029eb3932 100644 (file)
@@ -1,13 +1,18 @@
-mt65xx USB3.0 PHY binding
+MediaTek T-PHY binding
 --------------------------
 
-This binding describes a usb3.0 phy for mt65xx platforms of Medaitek SoC.
+T-phy controller supports physical layer functionality for a number of
+controllers on MediaTek SoCs, such as, USB2.0, USB3.0, PCIe, and SATA.
 
 Required properties (controller (parent) node):
  - compatible  : should be one of
-                 "mediatek,mt2701-u3phy"
-                 "mediatek,mt2712-u3phy"
-                 "mediatek,mt8173-u3phy"
+                 "mediatek,generic-tphy-v1"
+                 "mediatek,generic-tphy-v2"
+                 "mediatek,mt2701-u3phy" (deprecated)
+                 "mediatek,mt2712-u3phy" (deprecated)
+                 "mediatek,mt8173-u3phy";
+                 make use of "mediatek,generic-tphy-v1" on mt2701 instead and
+                 "mediatek,generic-tphy-v2" on mt2712 instead.
  - clocks      : (deprecated, use port's clocks instead) a list of phandle +
                  clock-specifier pairs, one for each entry in clock-names
  - clock-names : (deprecated, use port's one instead) must contain
@@ -35,6 +40,8 @@ Required properties (port (child) node):
                  cell after port phandle is phy type from:
                        - PHY_TYPE_USB2
                        - PHY_TYPE_USB3
+                       - PHY_TYPE_PCIE
+                       - PHY_TYPE_SATA
 
 Example: