From patchwork Mon Jul 17 12:03:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 9844783 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 337DB60386 for ; Mon, 17 Jul 2017 12:06:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25EC92823D for ; Mon, 17 Jul 2017 12:06:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1AD24284F4; Mon, 17 Jul 2017 12:06:34 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham 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 C08802823D for ; Mon, 17 Jul 2017 12:06:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751387AbdGQMEt (ORCPT ); Mon, 17 Jul 2017 08:04:49 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48406 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751280AbdGQMEq (ORCPT ); Mon, 17 Jul 2017 08:04:46 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CBB726143B; Mon, 17 Jul 2017 12:04:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1500293086; bh=5AbVslMfjyK244/du0rvwlYtqubdMbRuPGyLZKm5ntc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aeHB+sI+ffsVHoeeSoNfoDsc2A7Fc9DxoKsHXOlarnRQVjGh3dxDVCniNnDiDWQin /RpNfgvJgsh2xMsowq83GqxKv62vj9urHEJ2vjkkg66N73aVWywUq53h4lox+NnzQ2 KMGoS14CmL7jE5wCTLnxk/KuaGdezUIFLLQpvKJ4= Received: from varda-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: varada@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 8776761424; Mon, 17 Jul 2017 12:04:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1500293083; bh=5AbVslMfjyK244/du0rvwlYtqubdMbRuPGyLZKm5ntc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n2oR2Xv1xfggGGgr0oH/XAG147mo/biJbF70GK8ygvmGxd3TxJnjZ5J6ck+a5yKC+ jJoBxo7jhV7jZtyo9Caqlo9ymtp0wHM/9gac7IOUueclnaYEKNqzXuPfFXB4w4i2v0 4nWOE/arXGDm1bzEeeoWm2UNlFGbKgJBNl3y8jGQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8776761424 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=varada@codeaurora.org From: Varadarajan Narayanan To: bhelgaas@google.com, robh+dt@kernel.org, mark.rutland@arm.com, svarbanov@mm-sol.com, kishon@ti.com, sboyd@codeaurora.org, vivek.gautam@codeaurora.org, fengguang.wu@intel.com, weiyongjun1@huawei.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Varadarajan Narayanan Subject: [PATCH 2/7] dt-bindings: phy: qmp: Add support for QMP phy in IPQ8074 Date: Mon, 17 Jul 2017 17:33:58 +0530 Message-Id: <1500293043-1887-3-git-send-email-varada@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1500293043-1887-1-git-send-email-varada@codeaurora.org> References: <1500293043-1887-1-git-send-email-varada@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP IPQ8074 uses QMP phy controller that provides support to PCIe and USB. Adding dt binding information for the same. Signed-off-by: Varadarajan Narayanan --- .../devicetree/bindings/phy/qcom-qmp-phy.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt b/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt index 5d7a51f..80d766b 100644 --- a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt +++ b/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt @@ -6,6 +6,7 @@ controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB. Required properties: - compatible: compatible list, contains: + "qcom,ipq8074-qmp-pcie-phy" for PCIe phy on IPQ8074 "qcom,msm8996-qmp-pcie-phy" for 14nm PCIe phy on msm8996, "qcom,msm8996-qmp-usb3-phy" for 14nm USB3 phy on msm8996. @@ -107,3 +108,30 @@ Example: ... ... }; + + phy@86000 { + compatible = "qcom,ipq8074-qmp-pcie-phy"; + reg = <0x86000 0x1000>; + + #clock-cells = <1>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + resets = <&gcc GCC_PCIE0_PHY_BCR>, + <&gcc GCC_PCIE0PHY_PHY_BCR>; + reset-names = "phy", + "phy_phy"; + + status = "ok"; + + pciephy_0: lane@86000 { + reg = <0x86200 0x130>, + <0x86400 0x200>, + <0x86800 0x1f8>; + #phy-cells = <0>; + clocks = <&gcc GCC_PCIE0_PIPE_CLK>; + clock-names = "pipe0"; + clock-output-names = "pcie20_phy0_pipe_clk"; + }; + };