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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS 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 43295C433EB for ; Fri, 24 Jul 2020 09:21:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1BCCA2063A for ; Fri, 24 Jul 2020 09:21:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595582462; bh=+TOTLWlJ6qB35Wmh7+PdHnNTtJM6bhrk3RzWOl6TGDw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:List-ID:From; b=OTOvVD1mzUlAsdHxoKpP1my1+71uA6j8SjpTgrcwnkzb1H26/ZDex0M/VysudFOvh 936NMn+S82kRd94GnvskV4Zevs4pirPOALY57X1aA/7S2/BSVtwS/uNEzOiUEHAGYT 3VqY3hjskzIAiG2wM3EVtuaDSy3MAht6rUO8JTDo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728236AbgGXJVB (ORCPT ); Fri, 24 Jul 2020 05:21:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:51276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726591AbgGXJVA (ORCPT ); Fri, 24 Jul 2020 05:21:00 -0400 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 BDEDB2063A; Fri, 24 Jul 2020 09:20:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595582459; bh=+TOTLWlJ6qB35Wmh7+PdHnNTtJM6bhrk3RzWOl6TGDw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=YonZtByNYDoXgR7bgvMF7t49Yw4PvsnUxC8erVjGUU0gwzv074o2AXzxmngAkriKT xfKwE/YaQgwsetVGD+G1jjShZoWNsHPc8bDnQiLsSM+xvI+iBqpOxXkUbdn/8wjrbE /j0Bj5mHpC3/KT+VYLGw4fxhbmh32gctQy4SNPU8= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1595403506-8209-6-git-send-email-claudiu.beznea@microchip.com> References: <1595403506-8209-1-git-send-email-claudiu.beznea@microchip.com> <1595403506-8209-6-git-send-email-claudiu.beznea@microchip.com> Subject: Re: [PATCH v2 05/18] clk: at91: sam9x60-pll: check fcore against ranges From: Stephen Boyd Cc: bbrezillon@kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea To: Claudiu Beznea , alexandre.belloni@bootlin.com, ludovic.desroches@microchip.com, mturquette@baylibre.com, nicolas.ferre@microchip.com Date: Fri, 24 Jul 2020 02:20:59 -0700 Message-ID: <159558245915.3847286.9624522528843403626@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Claudiu Beznea (2020-07-22 00:38:13) > According to datasheet the range of 600-1200MHz is for the > frequency generated by the fractional part of the PLL (namely > Fcorepllck according to datasheet). With this in mind the output > range of the PLL itself (fractional + div), taking into account > that the divider is 8 bits wide, is 600/256-1200Hz=3D2.3-1200MHz. >=20 > Fixes: a436c2a447e59 ("clk: at91: add sam9x60 PLL driver") > Signed-off-by: Claudiu Beznea > --- Applied to clk-next 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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 E8C2CC433DF for ; Fri, 24 Jul 2020 09:25:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 7D0B32063A for ; Fri, 24 Jul 2020 09:25:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="P0MhpDR9"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="YonZtByN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D0B32063A 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+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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:Date:To:From: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=wRVxV1SvajnNz9INu8gnh9zVi2JkM1TUkO8SYMxgI+U=; b=P0MhpDR95zL9kQ03i3vIhBqmv vFHXTSsILrRLOHzk+xtOryLBGES08BQxffcIZ/uI1xiUBNzB38iFqmivCK1yi77IdgHNTeVXNX1H2 4CBVoem7OyM6pYzuuWMYvgTzOpIV02WXtS1zSzdLBckQp/OD/bsVXyBwItXz7GqhRp/rY3mZdpP0E 0wKsFvCbjR88eMhTAS+cqR7cccK1f1s2bhGAOfHtWT9eiGvyu7fqbEg1PuBxiCSyy4l1I3+6UKgJf 9Yobkhpqf8tpBjTtWGWeiX9jmlNm1W6yUAW8ziwxdr4p7UNdTt5BXPZQwhCnxdbQ0RRMIPokJgI66 lrsDdjRMQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jytuf-0002Aq-9k; Fri, 24 Jul 2020 09:22:45 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jytsy-0001Zp-HI for linux-arm-kernel@lists.infradead.org; Fri, 24 Jul 2020 09:21:01 +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 BDEDB2063A; Fri, 24 Jul 2020 09:20:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595582459; bh=+TOTLWlJ6qB35Wmh7+PdHnNTtJM6bhrk3RzWOl6TGDw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=YonZtByNYDoXgR7bgvMF7t49Yw4PvsnUxC8erVjGUU0gwzv074o2AXzxmngAkriKT xfKwE/YaQgwsetVGD+G1jjShZoWNsHPc8bDnQiLsSM+xvI+iBqpOxXkUbdn/8wjrbE /j0Bj5mHpC3/KT+VYLGw4fxhbmh32gctQy4SNPU8= MIME-Version: 1.0 In-Reply-To: <1595403506-8209-6-git-send-email-claudiu.beznea@microchip.com> References: <1595403506-8209-1-git-send-email-claudiu.beznea@microchip.com> <1595403506-8209-6-git-send-email-claudiu.beznea@microchip.com> Subject: Re: [PATCH v2 05/18] clk: at91: sam9x60-pll: check fcore against ranges From: Stephen Boyd To: Claudiu Beznea , alexandre.belloni@bootlin.com, ludovic.desroches@microchip.com, mturquette@baylibre.com, nicolas.ferre@microchip.com Date: Fri, 24 Jul 2020 02:20:59 -0700 Message-ID: <159558245915.3847286.9624522528843403626@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200724_052100_681343_7A7BC3BA X-CRM114-Status: UNSURE ( 8.34 ) 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: Claudiu Beznea , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bbrezillon@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Claudiu Beznea (2020-07-22 00:38:13) > According to datasheet the range of 600-1200MHz is for the > frequency generated by the fractional part of the PLL (namely > Fcorepllck according to datasheet). With this in mind the output > range of the PLL itself (fractional + div), taking into account > that the divider is 8 bits wide, is 600/256-1200Hz=2.3-1200MHz. > > Fixes: a436c2a447e59 ("clk: at91: add sam9x60 PLL driver") > Signed-off-by: Claudiu Beznea > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel