Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp750902imu; Thu, 3 Jan 2019 06:32:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/V07Ok6DUFcxGZa3pqcW46INR3SOlParnL6ewsig7j4Qs4tH6H0CaxF6h4Qn3mmvMw+rTuS X-Received: by 2002:a62:3141:: with SMTP id x62mr48125600pfx.12.1546525923187; Thu, 03 Jan 2019 06:32:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546525923; cv=none; d=google.com; s=arc-20160816; b=bDgrFUGKSuTCNYwiKx0xo5W5C+3U4zI4vUTv4N+p2CyFLrGafZtkePD5RktLK23FvA PldDbPCx5p2sKCXB0eWNEcEDg+uYwRNccABDLd/ujKRC3toqUpeSJXJ7f3aEscTZ7PYf xp7yuezJBGR/4SMFOqyIS98BUG3SNHZAQEoqw1UdZTlrJ4XtRPqPtzr39Kt+oBK+Gb9v 16MLNaQJa5WNbNDEiP6De5/TF0rx+kpN6GUMTHOaIZTARYBlRrtry9R8Q+iXjzJ+KU/6 PJK0vr9CqXykyKgqGwXc2/XA/7oX5N9Km81JKh/Q0A2oaYiH1XvRDPlYxdUhRfV3rzbo cp6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dmarc-filter:dkim-signature :dkim-signature; bh=DR9KVGWi28l4obdZGNx36fHuugFZZvuFUbUrA0/6yDw=; b=WS/Imh2Aq13OLiCAFvrd6JxHEtHpfUyr3yBoHSuEx+bEVZwTuEVCZbfFMoU/Fr1Fa6 zKtaZvlCOndQOxdA1hjGqQr6fr1vAz0AbJ+Euqf+wtGrGolNpQnk/hPOxClczGTontD2 E9kdU6k2c8mFkw4i2BgZBVZ3VY0MwB2MAEi8iKOwuIfehZjhMS6f+ytoJ/Ltp4IpwSWY xBeYP9+9ayqJ6y1AqOSAE1NIqwTbomN8yfukjqyoCX86ZvGhw+/DSTZMwyKRMdbR6+j7 wqF8+bUco4+XmaqDMC8PJJEAhPT1gpky9eXpfTjxFV9mi5Vx0NmJmw0RN/7MqrTJ/ByN 11xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=fxqeFdiH; dkim=pass header.i=@codeaurora.org header.s=default header.b=LmK8hWuV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si7402456pls.71.2019.01.03.06.31.48; Thu, 03 Jan 2019 06:32:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=fxqeFdiH; dkim=pass header.i=@codeaurora.org header.s=default header.b=LmK8hWuV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730994AbfACKgV (ORCPT + 99 others); Thu, 3 Jan 2019 05:36:21 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:57578 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729765AbfACKgV (ORCPT ); Thu, 3 Jan 2019 05:36:21 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DEA766081C; Thu, 3 Jan 2019 10:36:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546511780; bh=IrdkuAoYKmOW+z4EWTpsqu3PQ6R58t6j98t1LvVpJSo=; h=From:To:Cc:Subject:Date:From; b=fxqeFdiH5ZT5SBp5r5eyXjbR9uNuY/wGQOQghxDmYg9JAS0ljIYy/rOjmxvp0o9uG JcfMfGMavbnorjWyG5kuBx7R3fDpTMeoPplB4bHMercyQM5MwMOIdELMF4y6JmDpyW ad68t6Y/h9gjHOMbAk3On50Wno6sazUFQLtAk1Qg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mgautam-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: mgautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 2FE6A6030E; Thu, 3 Jan 2019 10:36:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546511777; bh=IrdkuAoYKmOW+z4EWTpsqu3PQ6R58t6j98t1LvVpJSo=; h=From:To:Cc:Subject:Date:From; b=LmK8hWuVgwYoP4hhVbTkbFgiMk8cqrJaqEPXyCKng6ZNrSlaZhZO08C1Wmri2t0H/ zTLVs5BSAjdCw/SeHdodiYPlofhObu/6vjHrO3spjO1Zk8AVFj+7DTxGw5mlhjmfTB X6U4C0h8U4lzTLTAEsRPdBmAZDyq+Py9lGRgZInM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2FE6A6030E 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=mgautam@codeaurora.org From: Manu Gautam To: Andy Gross Cc: Vivek Gautam , linux-arm-msm@vger.kernel.org, Manu Gautam , David Brown , Rob Herring , Mark Rutland , linux-soc@vger.kernel.org (open list:ARM/QUALCOMM SUPPORT), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v1] arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core Date: Thu, 3 Jan 2019 16:05:38 +0530 Message-Id: <20190103103538.30970-1-mgautam@codeaurora.org> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QUSB2 PHY on msm8996 doesn't work well when autosuspend by dwc3 core using USB2PHYCFG register is enabled. One of the issue seen is that PHY driver reports PLL lock failure and fails phy_init() if dwc3 core has USB2 PHY suspend enabled. Fix this by using quirks to disable USB2 PHY LPM/suspend and dwc3 core already takes care of explicitly suspending PHY during suspend if quirks are specified. Signed-off-by: Manu Gautam --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index b29fe80d7288..1f14ca35afc2 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -911,6 +911,8 @@ interrupts = <0 138 IRQ_TYPE_LEVEL_HIGH>; phys = <&hsusb_phy2>; phy-names = "usb2-phy"; + snps,dis_u2_susphy_quirk; + snps,dis_enblslpm_quirk; }; }; @@ -940,6 +942,8 @@ interrupts = <0 131 IRQ_TYPE_LEVEL_HIGH>; phys = <&hsusb_phy1>, <&ssusb_phy_0>; phy-names = "usb2-phy", "usb3-phy"; + snps,dis_u2_susphy_quirk; + snps,dis_enblslpm_quirk; }; }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project