Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp290410pxb; Thu, 19 Nov 2020 00:57:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJSgZegXGeUaYRrIUuVzhIwQLhMVprKKpzcIyOS/gnka82cxPP8ccVkUGqUyt4HQPztbso X-Received: by 2002:a50:d5dd:: with SMTP id g29mr29595309edj.344.1605776236294; Thu, 19 Nov 2020 00:57:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605776236; cv=none; d=google.com; s=arc-20160816; b=CBqJGnjGtWZcMXy2Kg+2Ot+ZO7x5ztK2ZHbt1LzbrrkDGdiWww59sm7gLlo6hiexzf 7kLTrCPrMvbWmP/Y49DSjvS6S1jxTuse7hQ2c7A1Loh9rm1BxBhwDBWaf4SXuepWQ0nK pJWb0vLXHBIKJDV5mdEOxu3TK9OLyF7c03UKqDCgvlPoXf0Ao9fOZvUf9mS0PRvt/+Iw I7sPZ5WYob7ZwSEolPs15tHgffkwCLI0UShXFSuFpctJlJZTJ4sSICZHk4KchKxN2CRu Q4rBmScVdWkvs7/T0h7hRYecqGf/PomBJ3xcbtxSoQfW5TmQxf94/wpqkTnw5ViXZUk6 PIVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=Lb6CUM5xzjsJ/3rF72AFs1BvgdwDxUt+jwEIxP8Cz+4=; b=geAeNC8RdVQs2o7RRYReVAAC4ismaw690cB4NQsQ2u6KSYPHT3pb7hqPmOJFf+8WEv xFgUgKOdL0oR5H4DAXBdcIPuq1zda+HJyOyDCPN+q2Vfh2nQeH4fHJ82QnU4me90niuI HsbmLusn2IJx/p0HN1Eo8FGclHgtshkYe9eI2Lnr/BXVwckVetZqzRhX0Mj8NUH7pv+H 9d/UnozPaQ8ojTEiZaoP1Y8EZAaypleDdNtqC58eVruojv2Xi76vJcaFttU1xmPygNxf 10Yc8I2sd4yJZavbbOof5DmCaTxMxvdriNNzymsknj1l28rqHe6L5Pw4NZ5g1WPfaQcE unjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=R1KCd2WE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga10si16826866ejc.686.2020.11.19.00.56.53; Thu, 19 Nov 2020 00:57:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=R1KCd2WE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726632AbgKSIyV (ORCPT + 99 others); Thu, 19 Nov 2020 03:54:21 -0500 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:6184 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726375AbgKSIyV (ORCPT ); Thu, 19 Nov 2020 03:54:21 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Thu, 19 Nov 2020 00:54:24 -0800 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Nov 2020 08:54:17 +0000 Received: from jckuo-lt.nvidia.com (10.124.1.5) by mail.nvidia.com (172.20.187.10) with Microsoft SMTP Server id 15.0.1473.3 via Frontend Transport; Thu, 19 Nov 2020 08:54:16 +0000 From: JC Kuo To: , , , , CC: , , , , , JC Kuo Subject: [PATCH v5 04/16] phy: tegra: xusb: tegra210: Do not reset UPHY PLL Date: Thu, 19 Nov 2020 16:53:53 +0800 Message-ID: <20201119085405.556138-5-jckuo@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201119085405.556138-1-jckuo@nvidia.com> References: <20201119085405.556138-1-jckuo@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: quoted-printable Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605776064; bh=Lb6CUM5xzjsJ/3rF72AFs1BvgdwDxUt+jwEIxP8Cz+4=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:X-NVConfidentiality: Content-Transfer-Encoding:Content-Type; b=R1KCd2WEF7B70YxsQOFCyD5yrMsXhr7bkZOfKDW9C1muhMEMeQKBofGpb3kZFjHBg sYqbQ2iFFz8P61ndpbRpuR9nl184HnlHUlS90Dxtafl16FGe3yOJNsn+BpOLYpviE8 JjmL4v+RjQPCKXVIXYO4ll7DNluhwTXPUHE5TryQZOb0Ea84eQwx7WNoQsluKMHJXC kNC5/7OaV8CAu0n5m+/WK2vdVpvIStEqUj6hzcgxlT+RamHKGkrJMPQ7MRuISgj6BN +NEgafhfAEztv98ptpJ+bwSOPQKoawZwIsd0HFEND4Oe5k9C/aYDEd+0P9BySKcFfZ Q8i8soDBH8zwg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Once UPHY PLL hardware power sequencer is enabled, do not assert reset to PEX/SATA PLLs, otherwise UPHY PLL operation will be broken. This commit removes reset_control_assert(pcie->rst) and reset_control_assert(sata->rst) from PEX/SATA UPHY disable procedure. Signed-off-by: JC Kuo --- v5: no change v4: no change v3: new, was a part of "phy: tegra: xusb: Rearrange UPHY init on Tegra210" drivers/phy/tegra/xusb-tegra210.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/phy/tegra/xusb-tegra210.c b/drivers/phy/tegra/xusb-teg= ra210.c index 4dc9286ec1b8..9bfecdfecf35 100644 --- a/drivers/phy/tegra/xusb-tegra210.c +++ b/drivers/phy/tegra/xusb-tegra210.c @@ -502,7 +502,6 @@ static void tegra210_pex_uphy_disable(struct tegra_xusb= _padctl *padctl) if (--pcie->enable > 0) return; =20 - reset_control_assert(pcie->rst); clk_disable_unprepare(pcie->pll); } =20 @@ -739,7 +738,6 @@ static void tegra210_sata_uphy_disable(struct tegra_xus= b_padctl *padctl) if (--sata->enable > 0) return; =20 - reset_control_assert(sata->rst); clk_disable_unprepare(sata->pll); } =20 --=20 2.25.1