Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1291925pxu; Fri, 16 Oct 2020 08:29:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweSjJMcbO+87mzMcMgEtNUW45jSc7oOmkalicl8fQd/aunDWZ60fxLzJD9dBZNcEgiud0H X-Received: by 2002:aa7:d8cd:: with SMTP id k13mr4531700eds.91.1602862173172; Fri, 16 Oct 2020 08:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602862173; cv=none; d=google.com; s=arc-20160816; b=vNz4RzGqU8/4vnzkqRvcItuZ0ARXjU4jatR0Y1eQNFDaLW+7360vU8PwpwiBpGPzDK y/xcD5bGqS7irLObgjXMPq2xCSfTBbmgEdlfz9y5vRzMUZ/UsPMIs0cVf2qMM0B+TA0b Cn6DSutGWXTMQXgM8ftyhDQY+xVktzUnmGJfjwUMVmjMFFPrOJAADhJKAKOnfgHH2ASQ MkYsNHJPYYg2XJp27vidRSRQ5oTRO1zAkso9JakYrngDtoQ2jGLlkRx7K84O60P5s6Bu bzd9vp4FJE4vWfyscfM4Psf7QBz7sJweMPmuUQcma6gHOqf8N4AM0eEqCaJ95i2XCHl/ 1ROg== 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=YjBVJf1mmOANacGEuliAldeZeM0yW8G0DiHqKtMx7dI=; b=cgXS2JgOzi54/XIPcxtX28HJqkVoki2NJpOEceFs0MCuXOred4QJ7xPp0+nXA/ONWK qwahYOCTMqImadm3w/XpgbeueqEn+q5LZWoPz4FqvaEypz6txjxSSgAJj6HYzHYqJr9n D8T0xYu46gmRs4fbUPC9j4rIxPFYNfGsvSbRSooWFjZX57ZibiV9NtSjBXg6XE7sElPQ HbQXsmnNMQ6VtETRzZVJwsKlACOzwq0syyjL6A1TfHBOcdoOIRazEeq9B/FJEIWKt4pF gutSJZmV1Q/qb156t3e7a4GkTt6J9/f+J5HlLh5bPBT5i3RSKJtcwCiMdIfVie2N055R 3lNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=bpkMyRLy; 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 n17si1963055edt.584.2020.10.16.08.29.02; Fri, 16 Oct 2020 08:29:33 -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=bpkMyRLy; 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 S2408082AbgJPNIB (ORCPT + 99 others); Fri, 16 Oct 2020 09:08:01 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:12342 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408073AbgJPNIA (ORCPT ); Fri, 16 Oct 2020 09:08:00 -0400 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Fri, 16 Oct 2020 06:06:29 -0700 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 16 Oct 2020 13:07:59 +0000 Received: from jckuo-lt.nvidia.com (172.20.13.39) by mail.nvidia.com (172.20.187.13) with Microsoft SMTP Server id 15.0.1473.3 via Frontend Transport; Fri, 16 Oct 2020 13:07:57 +0000 From: JC Kuo To: , , , , CC: , , , , , JC Kuo , Thierry Reding Subject: [PATCH v4 02/16] clk: tegra: Don't enable PLLE HW sequencer at init Date: Fri, 16 Oct 2020 21:07:12 +0800 Message-ID: <20201016130726.1378666-3-jckuo@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201016130726.1378666-1-jckuo@nvidia.com> References: <20201016130726.1378666-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=1602853589; bh=YjBVJf1mmOANacGEuliAldeZeM0yW8G0DiHqKtMx7dI=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:X-NVConfidentiality: Content-Transfer-Encoding:Content-Type; b=bpkMyRLyNu6CxsCi8DbKgIYM8xIDRKZTLOFtCXaQnvrs/yH3LJtDaZvbfL8iNqHMw y2sDLx05AeYE6I1kZ6idibyjvmGl6DqsMA/QmJacir1C/0Vs9+Foc1aSVWoJKXxvCG X9Jz24/BslI2r5lNdvuOi/f7qmXlAO727GAvvBEi3n+o8nZrpWlLja8f/HdkVXXueP vuWL+JFdMrGMT/4mTBfKtit8sYK0QBVdrxE1Z4LbLV5ygfqSpezhQSvlfQ1y4DC/lG ejCrRQv5BFoADNgvBqB98W4yf/QgfkGlKsSJd3nw4zVSfjUTNllxpYBcRENU67UHqk 2ORFNTJw0owmg== 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 Acked-by: Thierry Reding --- v4: no change=20 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