From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_DBL_ABUSE_MALW autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97B48C2D0DB for ; Thu, 30 Jan 2020 17:19:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 69959206F0 for ; Thu, 30 Jan 2020 17:19:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VlL4xE9X"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="iK8+443Q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 69959206F0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:From:To:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=C19NnEyzCgOSDNWf/zkcl8daES7EaHDi+j28ILYPYfk=; b=VlL4xE9XCaqxev uu6uVJwjZqzx74gOXtu2PrvWnShkuRz4MtDr89f2aWob4xpA+sVYWB/A3eZ3Yx4g3xd4OpSYvQy2L 0FaahGD+LHBAuslUt2o8eScfn41o2izVctu6FmU5PS404MSz2Jwxkge0hNmXrzPKkQjoFScU1FTZ2 v0/kN/h1Ij1YQ/lKumJ3o/TjeS2SFwJQ2f6VxfA2r/BIbXX1Q9eIepoCVWa5yvrH1FmclixKGvzsJ Jw4TfMcBIPsBvuy8pD1EzTBIgl40TDDZUSnKA6Cotx0TW7jBnTarPrcL/HH1MS70EIiZx2+rn519U wFplrft/vUHWs/Twc3ZQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ixDTj-0006m4-Pn; Thu, 30 Jan 2020 17:19:43 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ixDTa-0006fG-Rv; Thu, 30 Jan 2020 17:19:36 +0000 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0CCB920707; Thu, 30 Jan 2020 17:19:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580404774; bh=mQPgzbEOHhaYspRP78UUrq/Qaj0u6VZJGThPXWLnSHY=; h=In-Reply-To:References:Subject:To:From:Cc:Date:From; b=iK8+443QAwMPpiop0hXq0ubpjolSZrcbUh7mtbQykgaG1gmKQUEzDBUC/8BSTD6mQ D8o4opy8HvAFdM4KvFk/LriCjnLyo1E/gn5eVINliW397E7upAPYVbW6BKmFpvc+IP XezUIg7rsNgIDFmvBdG/OHAveWUK8a9AGKHRhuq4= MIME-Version: 1.0 In-Reply-To: <20200129163821.1547295-2-heiko@sntech.de> References: <20200129163821.1547295-1-heiko@sntech.de> <20200129163821.1547295-2-heiko@sntech.de> Subject: Re: [PATCH v3 2/3] clk: rockchip: convert basic pll lock_wait to use regmap_read_poll_timeout To: Heiko Stuebner , linux-clk@vger.kernel.org From: Stephen Boyd User-Agent: alot/0.8.1 Date: Thu, 30 Jan 2020 09:19:33 -0800 Message-Id: <20200130171934.0CCB920707@mail.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200130_091934_953786_D961FE97 X-CRM114-Status: UNSURE ( 7.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: heiko@sntech.de, Heiko Stuebner , mturquette@baylibre.com, zhangqing@rock-chips.com, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org, christoph.muellner@theobroma-systems.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Heiko Stuebner (2020-01-29 08:38:20) > From: Heiko Stuebner > > Instead of open coding the polling of the lock status, use the > handy regmap_read_poll_timeout for this. As the pll locking is > normally blazingly fast and we don't want to incur additional > delays, we're not doing any sleeps similar to for example the imx > clk-pllv4 and define a very safe but still short timeout of 1ms. > > Suggested-by: Stephen Boyd > Signed-off-by: Heiko Stuebner > --- Reviewed-by: Stephen Boyd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel