Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1831838ybh; Fri, 17 Jul 2020 02:19:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGpeb/FPfDdj3ZZL+jJrW48+DLFLVk04oGtlKKkO51sqAQMuHqHhlS1wQfnBxohBxzTn+L X-Received: by 2002:a05:6402:b1a:: with SMTP id bm26mr8163734edb.144.1594977553801; Fri, 17 Jul 2020 02:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594977553; cv=none; d=google.com; s=arc-20160816; b=Ww+seVLfWrJRLzzlQb+YPLwS0pykphsVTbRZKp8v4MwjS8yeJIdsN0veAuQTILdnuy O9rYpCJwlIj/VF++hWvOHimRPggM1FQErpDL++oXfTzg6jl7FinUmJHhyMp8NsM+rFVF MQMoQ6HbtwK0p/QC1g0EhYzy4MFQgXV/LiwWQ34aN6hlxRmtMlaIePgLNf4zWqp1RcN9 ftD7ffDY+l21DfUUQsgZ6tK9gULxjgzONSgCFzTKp+ZQBpKIBBCV4sqhnnXYzZawlolV OT6Z89XRuQGxpu3kro2k63zh+wQOUc9xnMOtsRUF+aFljDL6erGt5Gy5Dul56ghEyUr6 NH8A== 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=Ne9tetNwx15E6B3nd78gBYq1DPXjcdskW4RYx8Q3+cw=; b=vPmZStUrflDE4QYBqHSttsVwmwpgFhOcz3iZQFew8UfxvKePjeZ2MvH0/xhwH2Tj2M a3IF4C0eiMoZ4bFG10nckYjV2TMw7dnq1/fcrFm2cY+qr3ThzN7p4KN664c12wGZUWoc an0d9nUb7VJBZ4ikAZYf/GuI1tm2pVDiIKSKHrI3QQagHFpb1O8kd1aqu7co9ukLR/c9 T0ShZlqW1/Sx1qi5u7cwCfoU+06cTVh+WBVwS0uBW5qLSolP0aSelEs9ElyCdoyOuu6O NyJEAxHQ5m0FKqTqHWryPJbU+zmNDlG0tVFwpt9gTtYzQDuYDOdDY6d5NM2ZhJlQmWTm vQGA== 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 m3si4875776edv.382.2020.07.17.02.18.51; Fri, 17 Jul 2020 02:19:13 -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 S1726525AbgGQJSV (ORCPT + 99 others); Fri, 17 Jul 2020 05:18:21 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:57631 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726233AbgGQJSU (ORCPT ); Fri, 17 Jul 2020 05:18:20 -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 8015C100030; Fri, 17 Jul 2020 09:17:18 +0000 (UTC) Date: Fri, 17 Jul 2020 11:17:18 +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 08/19] clk: at91: sam9x60: fix main rc oscillator frequency Message-ID: <20200717091718.GN3428@piout.net> References: <1594812267-6697-1-git-send-email-claudiu.beznea@microchip.com> <1594812267-6697-9-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-9-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:16+0300, Claudiu Beznea wrote: > Main RC oscillator frequency is 12MHz according to datasheet > (chapter 27.2). > > Fixes: 01e2113de9a52 ("clk: at91: add sam9x60 pmc driver") > Signed-off-by: Claudiu Beznea Reviewed-by: Alexandre Belloni For the record I got that value from: https://github.com/linux4sam/linux-at91/blob/c5fcb086200dc3b2e4a2b306778c6c7283d95755/arch/arm/boot/dts/sam9x60.dtsi#L701 > --- > drivers/clk/at91/sam9x60.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c > index 633891b98d43..c8703d2a0886 100644 > --- a/drivers/clk/at91/sam9x60.c > +++ b/drivers/clk/at91/sam9x60.c > @@ -189,7 +189,7 @@ static void __init sam9x60_pmc_setup(struct device_node *np) > if (!sam9x60_pmc) > return; > > - hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc", 24000000, > + hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc", 12000000, > 50000000); > if (IS_ERR(hw)) > goto err_free; > -- > 2.7.4 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com