Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp549557imm; Wed, 17 Oct 2018 04:42:33 -0700 (PDT) X-Google-Smtp-Source: ACcGV61KZ1yVcGJkjbxm2ys0wsbuOMnvkUuvZXJbtbfqbpoC0ArX9/riuxCL/JtsoHJqUlUfYPCh X-Received: by 2002:a17:902:3fe4:: with SMTP id a91-v6mr25457474pld.187.1539776553429; Wed, 17 Oct 2018 04:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539776553; cv=none; d=google.com; s=arc-20160816; b=u/vahWIvTq/fca/++MeqiHirTPcpWat/85ZTtJ1ypgtwZnD7WubFbfEHX9KKiTOz8R SpcpBTkZUO1F0l5LMhJIEi7+Od67fDyzNyLUX4vilAZ9wLsZc1QXfyhcaXjuaT6YYF9g vDfD4YHgi2xHMF4jiL89SPMhnOYwRbIaBkjKGxk327wR/rKZlZX6xTF65mOyqKh90MXn +HAe0j2YMzXDvaK6SFcv5472dwWHOzlqJCNb1n80/zMVwS7kfbhLonvM2inXvkuz2z8H sZJTcK++kZUEm/FBXvZq3RvI4vAvRw0ks8C7GQfKYYP5Bbeb4h/d5+WDosxIgL3he1ft rZnw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=sN9X7L740FZrYuYJfMLztPC1DIlobjMOaUJhoF7YYcw=; b=Uns9C5Pa8qTO34p1+NMF1SL9LeNKWK99mPnqK+fn5KsdS2Wdaj3kcHmB3KP5FHYQbd fuvd9F4rgl9wUW2FdMoT8pTFfa+8bOtrz1Md0EkODe8yESfs4MlpTdgE2sLE9y9HiFQ1 KgHdT5RLzhZiFwj4BM70V3YKC9OPEbLq0pjgqyRUIqjgwneDxIAvH4QCq1/Z+lTy4+Mt AazCCWDWxlhOGcWSHYYDSQfptrlVBMHYhFyr4soIv2pWEFqZX3F8jW7mTlkiMJH8vEAz eF2J+kGdF8e3cu7JcGulzMK8u+00BTLtAQHOf1BqiU4HOzDH4RUCjSn5PBtsHypR0zBi jeCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WhFehsl5; 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 v23-v6si17359152pgh.581.2018.10.17.04.42.17; Wed, 17 Oct 2018 04:42:33 -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=WhFehsl5; 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 S1727265AbeJQThH (ORCPT + 99 others); Wed, 17 Oct 2018 15:37:07 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:43122 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726868AbeJQThH (ORCPT ); Wed, 17 Oct 2018 15:37:07 -0400 Received: by mail-lf1-f67.google.com with SMTP id p34-v6so19519323lfg.10; Wed, 17 Oct 2018 04:41:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=sN9X7L740FZrYuYJfMLztPC1DIlobjMOaUJhoF7YYcw=; b=WhFehsl5sa90Z8xNBGfts1rEggW56ePeLslTIxCzljDyocC8Q24XifZwMFYB37sdEe oq9KiymwuXeocAcQli8daHdvh6bQBIsTx7zgJ3Qj4HXH+PMDHWASkzOcmx2cGnKI79LK Lq+NRz/bL3KHV17Nj+8Gqekh/5pt/tVEaORzscUv0EfVuGgwMcKgSn2LwPmjNWwRnIJg 0sptBPKQ6aXdkTrXFoDNrnUix5fCwfW71asCJRMoNr7K7oB/HgSM0GaK8g/bcrbxGEfI 3oR+WlfAlee7LA98qCHzMkokQr4WLPPBNAaTAB5TMneqx/duDkmvXDAR9+6iRwGunm4c ct1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=sN9X7L740FZrYuYJfMLztPC1DIlobjMOaUJhoF7YYcw=; b=W/3UFSc0O+Ig+bCQzUFrsvthmRZmDY2eAOv4u+onVRzUby4Q7Zsk8kBy+11L72vw/D QSXOAmgUmOVbxh5XPaAtBSttUhIPJjChY7IJJAAjPzzPQUsdGnjbI7wwZI+484WscESx rjs88gIgGRfjEVEWElWVmjXdlwp2QUnL5f528hPzpzhuoK5yUikEAGR7ZTci9OQklus9 qAmHjUgGoYR1Cd6/+uVGjhq+IeiJdvORTD9N8wvDOR0ncMrfM2kYtrufrzISO4TJkNiW KzxpKUUIYcM/ISqhYNugqwDg2Zy+Ii7JHCjOzeQqPcgyGl8TZSywVAIZO0DFHtsjyqKe w57g== X-Gm-Message-State: ABuFfojB9jk8waj1MU4buPWQm8Njh6IaThiIVFldW7PlOo78L7sdgk3P RCaFXzfYFOEUvykgjRAYm6XfC3Gt X-Received: by 2002:a19:274b:: with SMTP id n72-v6mr14920238lfn.153.1539776504537; Wed, 17 Oct 2018 04:41:44 -0700 (PDT) Received: from [192.168.2.145] ([109.252.91.118]) by smtp.googlemail.com with ESMTPSA id 1-v6sm3975742ljc.46.2018.10.17.04.41.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 04:41:43 -0700 (PDT) Subject: Re: [PATCH v2 2/2] clk: tegra20: Enable lock-status polling for PLLs To: Marcel Ziswiler , "pdeschrijver@nvidia.com" Cc: "linux-kernel@vger.kernel.org" , "jonathanh@nvidia.com" , "mturquette@baylibre.com" , "pgaikwad@nvidia.com" , "sboyd@kernel.org" , "thierry.reding@gmail.com" , "linux-clk@vger.kernel.org" , "linux-tegra@vger.kernel.org" References: <20180830184210.5369-1-digetx@gmail.com> <20180830184210.5369-2-digetx@gmail.com> <20180831092948.GP1636@tbergstrom-lnx.Nvidia.com> <1539773948.6233.23.camel@toradex.com> From: Dmitry Osipenko Message-ID: <2a011477-26cb-7e89-a468-54a84465f178@gmail.com> Date: Wed, 17 Oct 2018 14:41:35 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <1539773948.6233.23.camel@toradex.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/17/18 1:59 PM, Marcel Ziswiler wrote: > On Fri, 2018-08-31 at 12:29 +0300, 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. > > Is there an errata documenting this? As I could not really find any > mentioning of this anywhere at least up to the v11 from Dec 21, 2010 I > still have access to. > > BTW: It looks like also PLLA may not always lock properly with those > changes. Is there anything known about that as well? Here is what I get > on various Colibri T20 modules (while random other ones seem to work > fine): Could you please try to increase the timeout value?