Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp145960pxk; Wed, 9 Sep 2020 01:12:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVBFCW4VkGE7tKmTE8DbuiPMcgezU7cvK8xHZOKffWxFFvuRDjFBvIpF0UrqDRuU/pu5/y X-Received: by 2002:a17:907:417c:: with SMTP id oe20mr2432356ejb.322.1599639136091; Wed, 09 Sep 2020 01:12:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599639136; cv=none; d=google.com; s=arc-20160816; b=Ap0Yi/16fAiHJk8cFCWCvptH4J0eET2ujPikgncL/1CWiWA23oeJqYZgzHbZDPG3Mh M2eHTOaDEUVqfz0Am0gMc1x+lPeLwQRgICn/emub2oDnt1QScwOoIkkq+a1/HHTpIETK RtVmNZEC+Mh/M1OPLuR1K0tIGhByXns0Hw5IBUwRIIOKyqQ5i4KThXn9ff7VxueZ0x0+ dUCB6yZRe8iHrQ+vH4InyvzAhrEVxHPs8ehJHSsK3L6uENWDBXtAhg9ch8FcGalOzG1z +rmOJWy222jmGEocC1ehqAgRSD5bEPvYTqHI+0Y9RmhPKR0sJr2fWY4ZfeLaE5YG4MYE wSxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=YuKOxLECL/634zGae4BZvw33u7t46u6t6eEAszbgUK8=; b=smgZ/iiFXG7EhCJo70PS2Akd0LrxJyH6k05Wf87uAIXNSgy9LFZhTw7aD3TvXotKgY oLCKv9lwmzRnYdOJfKr65kLd20amzD4ep7yCrRQRCBP+4NOHaAKMi57JTxiay2Ge5NvT vXOA7dzaBqi2F1vqpfFMAEe0l7rBdxOwsUgxjIDZHcrz/Okn/qeapSkbx5MmwEoUwueR cHjJdRNEbYD9U0CF2JzNoMS1dzr5hRz9tn+vJoWWwX3FYXR/vfCBq+Xmvah0toxN6O7M 8B4CiYqsFA4AnECjkfpBkyBrNT5bWpI+Tls9gC4g4AfPY9E+NlY7u2UNysU7m0CtBxf8 J3Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b="IaC/r3lT"; 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 lz9si927940ejb.618.2020.09.09.01.11.53; Wed, 09 Sep 2020 01:12:16 -0700 (PDT) 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="IaC/r3lT"; 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 S1729048AbgIIILF (ORCPT + 99 others); Wed, 9 Sep 2020 04:11:05 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:14026 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730077AbgIIIK4 (ORCPT ); Wed, 9 Sep 2020 04:10:56 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 09 Sep 2020 01:08:40 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 09 Sep 2020 01:10:55 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 09 Sep 2020 01:10:55 -0700 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 9 Sep 2020 08:10:50 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 9 Sep 2020 08:10:49 +0000 Received: from jckuo-lt.nvidia.com (Not Verified[10.19.100.126]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 09 Sep 2020 01:10:49 -0700 From: JC Kuo To: , , , , CC: , , , , , JC Kuo Subject: [PATCH v3 02/15] clk: tegra: Don't enable PLLE HW sequencer at init Date: Wed, 9 Sep 2020 16:10:28 +0800 Message-ID: <20200909081041.3190157-3-jckuo@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200909081041.3190157-1-jckuo@nvidia.com> References: <20200909081041.3190157-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=1599638920; bh=YuKOxLECL/634zGae4BZvw33u7t46u6t6eEAszbgUK8=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:X-NVConfidentiality: Content-Transfer-Encoding:Content-Type; b=IaC/r3lTco2lCMtfpNnutLt226rzvq0Ejk1YggCfyj/KIk0x2kC17zKhXyjlxxX+C yfBdqRaay7wtd4Q8Xb2XTCLggJG4M95ySVlfmdXo8LLtxX/oABLcuRj4By4tkEOnev dB3G5xYaCTSBibdQ/INajZMQ+vUN/7CMwrv8tHWMP9Bwbx/qX7Nw/5Pi2VneYuWZ1V AuHD9ER5yAJEh+lt2kh33HuzGhU1P73sKcCEGxjfMzQtrIptzQzWVqMiKVIQHygYia qv1CeKmtvqCcFg+idRmHL0qeF1IvDzWZn4vPkFc+cXyoMxubM6jC13T9fdm5Mdq5LH vXcoSxpgeXbZg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PLLE hardware power sequencer references PEX/SATA UPHY PLL hardware power sequencers' output to enable/disable PLLE. PLLE hardware power sequencer has to be enabled only after PEX/SATA UPHY PLL's sequencers are enabled. Signed-off-by: JC Kuo --- v3: no change drivers/clk/tegra/clk-pll.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/clk/tegra/clk-pll.c b/drivers/clk/tegra/clk-pll.c index c5cc0a2dac6f..0193cebe8c5a 100644 --- a/drivers/clk/tegra/clk-pll.c +++ b/drivers/clk/tegra/clk-pll.c @@ -2515,18 +2515,6 @@ static int clk_plle_tegra210_enable(struct clk_hw *h= w) pll_writel(val, PLLE_SS_CTRL, pll); udelay(1); =20 - val =3D pll_readl_misc(pll); - val &=3D ~PLLE_MISC_IDDQ_SW_CTRL; - pll_writel_misc(val, pll); - - val =3D pll_readl(pll->params->aux_reg, pll); - val |=3D (PLLE_AUX_USE_LOCKDET | PLLE_AUX_SS_SEQ_INCLUDE); - val &=3D ~(PLLE_AUX_ENABLE_SWCTL | PLLE_AUX_SS_SWCTL); - pll_writel(val, pll->params->aux_reg, pll); - udelay(1); - val |=3D PLLE_AUX_SEQ_ENABLE; - pll_writel(val, pll->params->aux_reg, pll); - out: if (pll->lock) spin_unlock_irqrestore(pll->lock, flags); --=20 2.25.1