Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1828044ybh; Fri, 17 Jul 2020 02:11:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkvMR4r7OUso4QcbGyhnDBezPcG7cqQyS61oXtb81xGrZPwJn6B7KjhHvlV3Hj8IkZki5g X-Received: by 2002:a17:906:e213:: with SMTP id gf19mr7563136ejb.433.1594977111688; Fri, 17 Jul 2020 02:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594977111; cv=none; d=google.com; s=arc-20160816; b=sEnm73ZF57jSfZi5UNCvmdtjVaZhq0+OpSCPPLvT1maa41MUeFiWmRpl3kDUGHAvxU c5BmiEKMBeSO9YAAM/eHswmPE+S+JTyrq5B451U7ou/mRkH379jAEQBS2nbx8zBLSyVl xe44SLZ3fZdGVlOLIxWRbe0ppCH0qKZtRLiuLrNht09HpblUwZwe4+kEUciLkMmVYQsz 72Ali8kpKMfJ2spCeJUIIWTsP3pmWTdIcWZuFXk2n9dPlrTIo0GixJPdXRR9/63bFy0r VdiwqZIgAyQ9if6R1E4/lmkFZ1wxC36IkViRpAWNmS5EndFl/JtaYRDTHRuS8ts3x8WD JVBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ofZvWTYQYPgVUtzqokxKahmTTGaMIBr1roEw3L2ejwI=; b=Y/kv3IcBc/aXV/99VtUTG1rtYyR/PWTHfwpNZBGtXasM6AP7x+tqOA2aoOUivyNAnG UNYGYs4Ikz3v00iOE8ibON6PtcF/C8ZsUxb/A1SCyivjiTagvJvsakyZkpjoL0H+wkBi JknCiNXPIGlPBL7UrcDoRuNrx+BlU1rEYlFWAYuhryzOFORugp9a6lrMnOwsm8kTfON2 60oRIBI7xEDaNsF4jCaqWtN4koMGWaBL6edPiwAHrfCsHB4ExA6ce0ibXBy4OLgr06te BQgn7ei/aYuSLPBPaVkEKdv8+hyOG3pvndsZQIEj5EGq50qXMof/T/kbXcPBZKzJBkor sZ+g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v28si5275151edi.456.2020.07.17.02.11.29; Fri, 17 Jul 2020 02:11:51 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726755AbgGQJLN (ORCPT + 99 others); Fri, 17 Jul 2020 05:11:13 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:32769 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbgGQJLM (ORCPT ); Fri, 17 Jul 2020 05:11:12 -0400 Received: from localhost (lfbn-lyo-1-1676-121.w90-65.abo.wanadoo.fr [90.65.108.121]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 545E4100016; Fri, 17 Jul 2020 09:11:05 +0000 (UTC) Date: Fri, 17 Jul 2020 11:11:05 +0200 From: Alexandre Belloni To: Claudiu Beznea Cc: mturquette@baylibre.com, sboyd@kernel.org, nicolas.ferre@microchip.com, ludovic.desroches@microchip.com, bbrezillon@kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 03/19] clk: at91: clk-sam9x60-pll: fix mul mask Message-ID: <20200717091105.GK3428@piout.net> References: <1594812267-6697-1-git-send-email-claudiu.beznea@microchip.com> <1594812267-6697-4-git-send-email-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1594812267-6697-4-git-send-email-claudiu.beznea@microchip.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/07/2020 14:24:11+0300, Claudiu Beznea wrote: > According to datasheet mul mask is on bits 31..24. > > Fixes: a436c2a447e59 ("clk: at91: add sam9x60 PLL driver") > Signed-off-by: Claudiu Beznea Reviewed-by: Alexandre Belloni > --- > drivers/clk/at91/clk-sam9x60-pll.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/at91/clk-sam9x60-pll.c b/drivers/clk/at91/clk-sam9x60-pll.c > index e699803986e5..3522eae2edd6 100644 > --- a/drivers/clk/at91/clk-sam9x60-pll.c > +++ b/drivers/clk/at91/clk-sam9x60-pll.c > @@ -15,7 +15,7 @@ > #include "pmc.h" > > #define PMC_PLL_CTRL0_DIV_MSK GENMASK(7, 0) > -#define PMC_PLL_CTRL1_MUL_MSK GENMASK(30, 24) > +#define PMC_PLL_CTRL1_MUL_MSK GENMASK(31, 24) > > #define PLL_DIV_MAX (FIELD_GET(PMC_PLL_CTRL0_DIV_MSK, UINT_MAX) + 1) > #define UPLL_DIV 2 > -- > 2.7.4 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com