Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2311206imm; Tue, 4 Sep 2018 02:08:30 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaP5+tf2p1HiwkW3hvsuxtud7/dSQCNzZOi7QtEP0AqYUKJT3NvYqmtnxafvc9rjrVUrRj5 X-Received: by 2002:a17:902:64c1:: with SMTP id y1-v6mr32046666pli.45.1536052110469; Tue, 04 Sep 2018 02:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536052110; cv=none; d=google.com; s=arc-20160816; b=iclmgxm3b4dNtAQJ8BidfUm2asKrGKgvnfEqhX62mJJdCaXf/u6iZ3dxfDCFG2+N7z 8kycca/GReRazqMq9uY5ow7BBqM4iUMCMr7rV+pkrn1lcnHBZJxAxZtVLv/xywSKgIyb NVDxY/V/l4BJwodCHm6u1MU7d319LaUceFfhOAFF6g7OfBftr/6hgiAxwTEmKPoo4+92 hwayMi5algnzrT3oTXeF9wTt94eZ8CCsLM47lNWx2sVnLEbHX4tkheYQAbyn9ovLZXgG I3mXjc2VDpZpHeNrqgNlspQhNQqxecWmOjipvP35vF6Z2qUSXczbgsI1sTGgVHw4XLG/ +Nvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-disposition :content-transfer-encoding:mime-version:in-reply-to:references:cc :user-agent:date:subject:to:from:dkim-signature :arc-authentication-results; bh=Xo/9ODQ1eP0jXKBoNDINSBpq5qNIp8iTqqMDjfd6kAk=; b=KtcA+H/RtfXtgPhUln7pQ25QfgofzPmvD6TRSTKsJYyr3V/AEE5oXL/Kr1h4TomuZj wAd7cXAWATwHsvyKeM9ruKYtpbCAvPJaXzeEIR58G52Zl+imxgct0AoFkakgufJTy1XA LVxFyNaXaSg7ZKrcRtu8RMjlyleyWHzRP4J/mJrG7ZdghIplN4AVbppcVHxkxyZl0091 0+m06Jh//aF0sM2sWtrRmUgeaLCmIh5MEXelLib+4DgOBk5exTxs5H+/6U7ViWcO9YCa aaUCFuSnDtEB5XvXrER+pALxfBWr1QTQOd7MwA735Gbr/JHEx1mbnMsK2s/4lYea52d/ 751A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aB6TeOSk; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r7-v6si21504085pfi.147.2018.09.04.02.08.14; Tue, 04 Sep 2018 02:08:30 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=aB6TeOSk; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727062AbeIDNax (ORCPT + 99 others); Tue, 4 Sep 2018 09:30:53 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:40052 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726199AbeIDNax (ORCPT ); Tue, 4 Sep 2018 09:30:53 -0400 Received: by mail-lf1-f67.google.com with SMTP id x26-v6so2322879lfi.7; Tue, 04 Sep 2018 02:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:content-disposition :message-id; bh=Xo/9ODQ1eP0jXKBoNDINSBpq5qNIp8iTqqMDjfd6kAk=; b=aB6TeOSkoV7c/l3oDWK/mF56N/m8Hc4A7kS7Mw5gZ7lwhYiN+OnixA7iOzfZcpkUay uxa9r0DNs+hCZE61m2+ACR33QHyPuM8YpEYHXaBPqEdR5cs8Kmwxcfx2x6/OLsQUQLB3 /P32glb0PDSKoY1kl2hbT1BftKXI9KsMIu5canJA8rbMOjXEpCDHnuGpuxlUsXqoXsrT OXXFWQJuNLYoiGsQ6OLXZLNKclEElaBHPeDZLxODxCHohfemaj7QkO/0EPP5m0t2owRN /46MnAm0zeiZt7x8U1b0xkkuClHs5VIV26Lt/DPea7qt6C61akE0g3G+KrM/IFn4S5kD HxOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding :content-disposition:message-id; bh=Xo/9ODQ1eP0jXKBoNDINSBpq5qNIp8iTqqMDjfd6kAk=; b=qC/3NyylPlH934L428R4aFKEX8NXk/YMwOwPWHHFgrad12C80ns9Kur2BlYbt+N5Xx 3KwL9HP5ZsI1T9hLYiEciWMJHlPxXf0AQOiBBByfaKgRbf7HNzyQjLXdHs/aCw03ATsA WQv22aKtyxF0oheuH/Omaq5cPFKk6FhZzUVto1P8xQGw6u8HLyK0+VQVd7odCqpkz7ER pjndvE86H8N0Srmw+wnMK2vaZ9EQnSHqYdld6XrlI9b7Zo9pejHwd0NWSLrF5xFK/UzZ NsUJgqzCAKnSq2pcTVEjtNgucoM78nP6ZIz53LnjHz33dGb52pSmhUVMo/NIdv7ChL/H mbXw== X-Gm-Message-State: APzg51Btp8JpXf5OSc/D1F1lWZTCDPWiUJrp1dPp8PbCsPHUCqf7C82l dLIyjaYO66YW6/hoLDbmZfc= X-Received: by 2002:a19:518a:: with SMTP id g10-v6mr20941333lfl.136.1536051999551; Tue, 04 Sep 2018 02:06:39 -0700 (PDT) Received: from dimatab (109-252-90-13.nat.spd-mgts.ru. [109.252.90.13]) by smtp.gmail.com with ESMTPSA id h90-v6sm4183193lji.66.2018.09.04.02.06.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Sep 2018 02:06:38 -0700 (PDT) From: Dmitry Osipenko To: Peter De Schrijver Subject: Re: [PATCH v2 2/2] clk: tegra20: Enable lock-status polling for PLLs Date: Tue, 4 Sep 2018 12:06:36 +0300 User-Agent: KMail/1.9.10 (enterprise35 0.20100827.1168748) Cc: Thierry Reding , Jonathan Hunter , Prashant Gaikwad , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180830184210.5369-1-digetx@gmail.com> <909e2a52-4116-9ee7-db23-8ea1dfffade0@gmail.com> <20180903080111.GR1636@tbergstrom-lnx.Nvidia.com> In-Reply-To: <20180903080111.GR1636@tbergstrom-lnx.Nvidia.com> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201809041206.37080.digetx@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 03 September 2018 11:01:11 Peter De Schrijver wrote: > On Fri, Aug 31, 2018 at 12:45:17PM +0300, Dmitry Osipenko wrote: > > On 8/31/18 12:29 PM, Peter De Schrijver wrote: > > > On Thu, Aug 30, 2018 at 09:42:10PM +0300, Dmitry Osipenko wrote: > > >> Currently all PLL's on Tegra20 use a hardcoded delay despite of having > > >> a lock-status bit. The lock-status polling was disabled ~7 years ago > > >> because PLLE was failing to lock and was a suspicion that other PLLs > > >> might be faulty too. Other PLLs are okay, hence enable the lock-status > > >> polling for them. This reduces delay of any operation that require PLL > > >> to lock. > > >> > > >> Signed-off-by: Dmitry Osipenko > > >> --- > > >> > > >> Changelog: > > >> > > >> v2: Don't enable polling for PLLE as it known to not being able to > > >> lock. > > > > > > This isn't correct. The lock bit of PLLE can declare lock too early, > > > but the PLL itself does lock. > > > > Indeed, it locks but can't be polled for the lock-status as it doesn't > > have the lock-status bit. > > > > Do you want me to adjust the commit description or it is fine as is? > > I think it's better to adjust it. Okay. I expect to get a review from you for the other clock (and related) patches too and will send the new version once all the current patches will be reviewed. Please take a look at them once you'll have some free time, thanks. > > It is also a bit odd that PLLE has "lock_delay = 0", is it correct? > > That seems odd yes.. :)