From patchwork Mon Jul 31 06:44:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 9871045 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 027396038F for ; Mon, 31 Jul 2017 06:46:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E842528572 for ; Mon, 31 Jul 2017 06:46:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD42628595; Mon, 31 Jul 2017 06:46:17 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6278128572 for ; Mon, 31 Jul 2017 06:46:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=b0sbFzZImmx2LbxKl4OFUKabuLpI9wPvjZPnaziW5dI=; b=oxr82W9H0mnAtF+PjtAWawwiAS sm8f3NJHT75kBkPsyAvBvLLp3BtmYfAhSZCOuwN4CxAzjdHYBJDF2Yoo/qq1pVpbdRk/ki938SIpx ZjyMUzKWQ2XJB5dh/xL2XhDE7N0PBaGmex9/1Yo5RBjIiykGWA/d+sqk5NJ2imSRi1MpU/VVOesSX O2AJnnUo3F6y9sMpokWmKN74PCd8UphSmaxMjZJ46An07mICAWNsvFP264FtHgKiaes59k6ouMDwC fahJhXV+XGdtoYxxKwq8Py+IozxX4ZAFNB3/2x1ECyba56Mv8HcMeVc237ZgqMW5Xu+0WMJwLbSYi EFk/Y/5Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dc4Sy-0003qe-Oa; Mon, 31 Jul 2017 06:46:12 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dc4S9-0001wg-Iu for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2017 06:45:49 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5634560A37; Mon, 31 Jul 2017 06:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501483503; bh=l9ROlYuKl9fNPKaZZgwAqZZhxACbvfKsYb+lwhego0I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KDJVcNj4niowCKr4swrIAFQGVzzUzyIVFI5Xgt1jow+5Q/ENhoAuGlx/Twx0YQn5P FFHcfPNigG2NK+F3ikyl0cGWKbfvcDYAWQGds8dOiDYxdNrH8cPDpjRTO/8r/lF6VO uImKsctyrpj95zDoncQ3rPeKFMJPRYqGCcai/ouU= Received: from blr-ubuntu-41.ap.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7FC6E60A09; Mon, 31 Jul 2017 06:44:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501483502; bh=l9ROlYuKl9fNPKaZZgwAqZZhxACbvfKsYb+lwhego0I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LNyzDPGZDnCbvnfnnBUq7BEwFHppkNjhlzSXkmr1qHhJvGpH7+L4F3oHklB68jmXn KXfqk5DmLVGrxAkmA093et/29OUADKBYd8XNSKPIjjfInx8EmSICkSK+6WH49YqyeG 7Qb4ej3oB7BTfJQtk39PvilVBlfeO8RBhplLZAU8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7FC6E60A09 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=vivek.gautam@codeaurora.org From: Vivek Gautam To: andy.gross@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/4] arm64: dts: msm8996: Add device node for qcom qmp-phy for usb Date: Mon, 31 Jul 2017 12:14:42 +0530 Message-Id: <1501483484-2207-3-git-send-email-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501483484-2207-1-git-send-email-vivek.gautam@codeaurora.org> References: <1501483484-2207-1-git-send-email-vivek.gautam@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170730_234522_013949_40270BEC X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, Vivek Gautam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Adding required device node for USB3 QMP phy present on msm8996 chipset to enable support for the same. This phy provides super speed usb functionality for dwc3 controller on msm8996. Signed-off-by: Vivek Gautam --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 4 ++++ arch/arm64/boot/dts/qcom/msm8996.dtsi | 33 ++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index 4476e9238150..2bab37594b5d 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -89,6 +89,10 @@ status = "okay"; }; + phy@7410000 { + status = "okay"; + }; + phy@7411000 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 019ec9345dbc..c0cdbdf49410 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -639,6 +639,39 @@ }; }; + phy@7410000 { + compatible = "qcom,msm8996-qmp-usb3-phy"; + reg = <0x7410000 0x1c4>; + #clock-cells = <1>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + clocks = <&gcc GCC_USB3_PHY_AUX_CLK>, + <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, + <&gcc GCC_USB3_CLKREF_CLK>; + clock-names = "aux", "cfg_ahb", "ref"; + + vdda-phy-supply = <&pm8994_l28>; + vdda-pll-supply = <&pm8994_l12>; + + resets = <&gcc GCC_USB3_PHY_BCR>, + <&gcc GCC_USB3PHY_PHY_BCR>; + reset-names = "phy", "common"; + status = "disabled"; + + ssusb_phy_0: lane@7410200 { + reg = <0x7410200 0x200>, + <0x7410400 0x130>, + <0x7410600 0x1a8>; + #phy-cells = <0>; + + clock-output-names = "usb3_phy_pipe_clk_src"; + clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>; + clock-names = "pipe0"; + }; + }; + hsusb_phy1: phy@7411000 { compatible = "qcom,msm8996-qusb2-phy"; reg = <0x7411000 0x180>;