From patchwork Tue Feb 19 06:04:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 10819237 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E56F317E9 for ; Tue, 19 Feb 2019 06:04:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6CE82BCA5 for ; Tue, 19 Feb 2019 06:04:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB3B82BCD8; Tue, 19 Feb 2019 06:04:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B94E2BCB7 for ; Tue, 19 Feb 2019 06:04:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726407AbfBSGDy (ORCPT ); Tue, 19 Feb 2019 01:03:54 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:41685 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726260AbfBSGDy (ORCPT ); Tue, 19 Feb 2019 01:03:54 -0500 Received: by mail-pf1-f195.google.com with SMTP id d25so1344290pfn.8 for ; Mon, 18 Feb 2019 22:03:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uK46UagMeCc0KFc0YPlTS4qrXQgdBZIe1DAGlyy2xmU=; b=m30cXDa7WLxP0HBpbmPJa+4LGEM7xP3MD8yY6K+aPEv/VAt/jySL8yXw1cVES4AL9n 1Qtp7Mv+N8fncT4HpeVzBltrRpMgmQDZJNAUZ87NqhI9DyhwZeGcqFvJ4OiM1BGayqij 31Q9lNUu7O8wuJjL8Va0rEtTmI3tDkYaocM0x6iLW0wMXRDcPnTWYDfOMDvBW+9fsJ/2 mPZKhsRO5LbVq+jCfqDBvH9jtPYbj+M+lxTMo7Vzet/aqbPQtwPf7uH7RICAtBJlpYxr mEeiS8BhubnWMTE2FRA5c72ZFFIifSZ3d1BnvGlQxVQDVhykCNNb7Y/NTne1BpHl/6IP uajQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=uK46UagMeCc0KFc0YPlTS4qrXQgdBZIe1DAGlyy2xmU=; b=Gen0jdANcf30FqmLlBC+UWykflHGMPl6jQmf+RpNMg4/E9Pw/yZzgJ/Jey1jBKvBxc 2kX2AKRxdOaWXoQwNHb7WWQop8uTG6wl8h3EllYsLG0fho8/XhW+mZ0cMiIZwIlcNhjz MkWHiVs2fgzlRd5s10bBZ8Ax5+VWKz+aHIWLPOKfgo62fTa3GOcJU75T6xSENmBZSCBH bXJ4nRne9JUF9QS5SB+z/APzcj6jKuTbEJMWc6x6gOQAoLKtewn1IDEx3P3rbiBx839n yQWvQpqM6/k8z+cocUVJ2ig+XIiEYxdwtR8wxJ53pNzmTj4ZnnSYzinL5hcQ0NOv6zqM +ssA== X-Gm-Message-State: AHQUAub+g4hncgJ1X0pnLAsRNMMcxNzP6gQgoYvS6z0fxbZHYUFhUKpA gIIRP7YqjHsLuwdhW8HOTloB7Q== X-Google-Smtp-Source: AHgI3Iayi3BjIl/C1hHkZeYEyfWTyhL+ar64aoujl3SBCnXsLg99fFeFwPxYwRnijb9UKj9E01C9+w== X-Received: by 2002:a65:620a:: with SMTP id d10mr21793859pgv.75.1550556233009; Mon, 18 Feb 2019 22:03:53 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 86sm31914838pfk.157.2019.02.18.22.03.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 22:03:52 -0800 (PST) From: Bjorn Andersson To: Rob Herring , Mark Rutland , Kishon Vijay Abraham I Cc: Andy Gross , David Brown , Bjorn Helgaas , Michael Turquette , Stephen Boyd , Stanimir Varbanov , Lorenzo Pieralisi , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v2 2/7] dt-bindings: phy: Add binding for Qualcomm PCIe2 PHY Date: Mon, 18 Feb 2019 22:04:02 -0800 Message-Id: <20190219060407.15263-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190219060407.15263-1-bjorn.andersson@linaro.org> References: <20190219060407.15263-1-bjorn.andersson@linaro.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Qualcomm PCIe2 PHY is a Synopsys based PCIe PHY found in a number of Qualcomm platforms, add a binding to describe this. Signed-off-by: Bjorn Andersson --- .../bindings/phy/qcom-pcie2-phy.txt | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/qcom-pcie2-phy.txt diff --git a/Documentation/devicetree/bindings/phy/qcom-pcie2-phy.txt b/Documentation/devicetree/bindings/phy/qcom-pcie2-phy.txt new file mode 100644 index 000000000000..7da02f9d78c7 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom-pcie2-phy.txt @@ -0,0 +1,40 @@ +Qualcomm PCIe2 PHY controller +============================= + +The Qualcomm PCIe2 PHY is a Synopsys based phy found in a number of Qualcomm +platforms. + +Required properties: + - compatible: compatible list, should be: + "qcom,qcs404-pcie2-phy", "qcom,pcie2-phy" + + - reg: offset and length of the PHY register set. + - #phy-cells: must be 0. + + - clocks: a clock-specifier pair for the "pipe" clock + + - vdda-vp-supply: phandle to low voltage regulator + - vdda-vph-supply: phandle to high voltage regulator + + - resets: reset-specifier pairs for the "phy" and "pipe" resets + - reset-names: list of resets, should contain: + "phy" and "pipe" + + - clock-output-names: name of the outgoing clock signal from the PHY PLL + +Example: + phy@7786000 { + compatible = "qcom,qcs404-pcie2-phy", "qcom,pcie2-phy"; + reg = <0x07786000 0xb8>; + + clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; + resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>, + <&gcc GCC_PCIE_0_PIPE_ARES>; + reset-names = "phy", "pipe"; + + vdda-vp-supply = <&vreg_l3_1p05>; + vdda-vph-supply = <&vreg_l5_1p8>; + + clock-output-names = "pcie_0_pipe_clk"; + #phy-cells = <0>; + };