Re: [PATCH v2 4/4] dt-bindings: phy-mt65xx-usb: supports PCIe, SATA and rename file
From: Rob Herring
Date: Thu Aug 17 2017 - 11:14:04 EST
On Wed, Aug 09, 2017 at 01:29:49PM +0800, Chunfeng Yun wrote:
> add support for PCIe and SATA, also add some new compatibles.
s/add/Add/
>
> due to phy-mt65xx-usb.txt holds the bindings for all mediatek SoCs
s/due/Due/
> with T-PHY controller, change the name to phy-mtk-tphy.txt to
> reflect that.
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@xxxxxxxxxxxx>
> ---
> .../phy/{phy-mt65xx-usb.txt => phy-mtk-tphy.txt} | 17 ++++++++++++-----
> 1 file changed, 12 insertions(+), 5 deletions(-)
> rename Documentation/devicetree/bindings/phy/{phy-mt65xx-usb.txt => phy-mtk-tphy.txt} (88%)
>
> diff --git a/Documentation/devicetree/bindings/phy/phy-mt65xx-usb.txt b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
> similarity index 88%
> rename from Documentation/devicetree/bindings/phy/phy-mt65xx-usb.txt
> rename to Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
> index 0acc5a9..faf1808 100644
> --- a/Documentation/devicetree/bindings/phy/phy-mt65xx-usb.txt
> +++ b/Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt
> @@ -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)
SoC specific compatibles should not be 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:
>
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html