From patchwork Mon Jul 31 06:34:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 9871005 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 43B9C60375 for ; Mon, 31 Jul 2017 06:36:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3497928576 for ; Mon, 31 Jul 2017 06:36:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2827C28599; Mon, 31 Jul 2017 06:36:33 +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 AB40328576 for ; Mon, 31 Jul 2017 06:36:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751746AbdGaGet (ORCPT ); Mon, 31 Jul 2017 02:34:49 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:32838 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751704AbdGaGei (ORCPT ); Mon, 31 Jul 2017 02:34:38 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E276360C55; Mon, 31 Jul 2017 06:34:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501482877; bh=wuLgARi/XQVLBTu4A2Gz+0P9Um+F9VD4/Q9hvj9c+rc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mvo4daKdro5ootRy2J9JM6Cnt769rJcIstz1jGgaqQ5gu4/cVZdA2Bm4RpbeGryZF AzzT9z1kkta3WL+ykCQcSLSO5EGtV2mz2c4jem/pDzd8lSXQfKs5sBvlQgbx+dqcdp agU7tsngN76/xatGRRjRH4eOeqPpbY5ISgHrufWg= 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 4206D60A4F; Mon, 31 Jul 2017 06:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501482877; bh=wuLgARi/XQVLBTu4A2Gz+0P9Um+F9VD4/Q9hvj9c+rc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mvo4daKdro5ootRy2J9JM6Cnt769rJcIstz1jGgaqQ5gu4/cVZdA2Bm4RpbeGryZF AzzT9z1kkta3WL+ykCQcSLSO5EGtV2mz2c4jem/pDzd8lSXQfKs5sBvlQgbx+dqcdp agU7tsngN76/xatGRRjRH4eOeqPpbY5ISgHrufWg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4206D60A4F 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 v6 2/7] dt-bindings: phy: qmp: Add support for QMP phy in IPQ8074 Date: Mon, 31 Jul 2017 12:04:12 +0530 Message-Id: <1501482857-14100-3-git-send-email-varada@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501482857-14100-1-git-send-email-varada@codeaurora.org> References: <1501482857-14100-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. Reviewed-by: Vivek Gautam Signed-off-by: Varadarajan Narayanan Acked-by: Rob Herring --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt b/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt index 5d7a51f..802af1b 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. @@ -38,6 +39,8 @@ Required properties: "phy", "common", "cfg". For "qcom,msm8996-qmp-usb3-phy" must contain "phy", "common". + For "qcom,ipq8074-qmp-pcie-phy" must contain: + "phy", "common". - vdda-phy-supply: Phandle to a regulator supply to PHY core block. - vdda-pll-supply: Phandle to 1.8V regulator supply to PHY refclk pll block. @@ -63,6 +66,11 @@ Required properties for child node: - clock-output-names: Name of the phy clock that will be the parent for the above pipe clock. + For "qcom,ipq8074-qmp-pcie-phy": + - "pcie20_phy0_pipe_clk" Pipe Clock parent + (or) + "pcie20_phy1_pipe_clk" + - resets: a list of phandles and reset controller specifier pairs, one for each entry in reset-names. - reset-names: Must contain following for pcie qmp phys: