Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1986015imu; Fri, 14 Dec 2018 04:06:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/XQHb4+n2YeUC7Jx8WekueTpE6Y8HgromJ3YW/INPsnrcVRuCW8I2SmI27+nSlQ6hhnuXHo X-Received: by 2002:a17:902:aa0a:: with SMTP id be10mr2585001plb.266.1544789191116; Fri, 14 Dec 2018 04:06:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544789191; cv=none; d=google.com; s=arc-20160816; b=RVy+V81pRE6mRQGb3tSsX2zHgo4VGuAeMqiyDzmq/oddF/KOgiiHRZOg6a7qX9bXua nOqfL0IVnK+Yu+a2RPejwshUMDeJHLyzQTaiIKsQglPsBlB940OWVK5GSXFsAeI2LHG9 EtLQTfxYCYyslUxqcB8pOZhhiXNdH8b32qkvMhBqZqYQuZrPqxVWJXuYm46ebD+GnQ1X ffJIAM/zM9aN0Sx6jT2pJVBbKJDSRb0oZFrTDhZ8dth8wu8hhIuewMEADAXaTzg/miYf qqKXL5HPnA8DHrzNWCxxMSnrPNLW2yzi8MggbkNipp4wl8TOSTsrWwDTGQoCP7xUkUYh nIyg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=PIfHpKzyR9wPgi2j1JXGTSi3C4RIKDyHTRXbyJQ+5C4=; b=SNZjIXKAVDHVElal4G56hq5vVu4vrid2R2XShbcmawfATa6PVRy/NILnADdQj8yrs9 p5uG3qtwOLaIxUIPXfZHP/HGZfaaSv+BjzMsdakpKmdyIiBqHvm4aNo81XXbUNishrch de2CD3Y09N1W2bnwHBSdZHFdXlXZlGS0eNs3WByJEdznGehHl0Iw49NDtoH+RUPCBCWP TZlxn2SRfmsmyfpaeOqtAmrsmhjOHNCLAlWBq4vn3AJVyryMDDyEImAXP1gs9Gx/Id8q eies3qJcXt+WBc9amPAs3cMFKsonqSG5atIbrTRmkQBUwONG2OSuiD9hHQPQrKZDc4Tg aCkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="IjY+5Rd/"; 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 a23si3863924plm.334.2018.12.14.04.06.16; Fri, 14 Dec 2018 04:06:31 -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=@kernel.org header.s=default header.b="IjY+5Rd/"; 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 S1730472AbeLNMEQ (ORCPT + 99 others); Fri, 14 Dec 2018 07:04:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:48846 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730442AbeLNMEN (ORCPT ); Fri, 14 Dec 2018 07:04:13 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EF3B92147D; Fri, 14 Dec 2018 12:04:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544789052; bh=ksuse7HFfmNaurGItV3/+FtAPAUjp3T987tMu0ugo4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IjY+5Rd/w7b9TewCm30PwQzg5NoI5LlYSJcrG/VRLZaBcGTsk82QDevfUNf2isyAu RKdSbsN/x22ywy7ITXgfKf4/Rlul1Z66P0Ko7SgZ9G+WN/eo/eHUFy+++g5wdo3qiL 41I2LqPdKihFYACAqB9rTxrgK1AcaUMpkQEXN8j4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Manu Gautam , Douglas Anderson , Stephen Boyd , Vivek Gautam , Kishon Vijay Abraham I , Sasha Levin Subject: [PATCH 4.19 068/142] phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845 Date: Fri, 14 Dec 2018 12:59:13 +0100 Message-Id: <20181214115749.775097168@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214115747.053633987@linuxfoundation.org> References: <20181214115747.053633987@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit c88520db18ba0b9a41326c3b8680e7c09eb4c381 ] Tune1 register on sdm845 is used to update HSTX_TRIM with fused setting. Enable same by specifying update_tune1_with_efuse flag for sdm845, otherwise driver ends up programming tune2 register. Fixes: ef17f6e212ca ("phy: qcom-qusb2: Add QUSB2 PHYs support for sdm845") Signed-off-by: Manu Gautam Reviewed-by: Douglas Anderson Reviewed-by: Stephen Boyd Acked-by: Vivek Gautam Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sasha Levin --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/phy-qcom-qusb2.c index 9d6c88064158..69c92843eb3b 100644 --- a/drivers/phy/qualcomm/phy-qcom-qusb2.c +++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c @@ -231,6 +231,7 @@ static const struct qusb2_phy_cfg sdm845_phy_cfg = { .mask_core_ready = CORE_READY_STATUS, .has_pll_override = true, .autoresume_en = BIT(0), + .update_tune1_with_efuse = true, }; static const char * const qusb2_phy_vreg_names[] = { -- 2.19.1