Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp397393ybh; Wed, 15 Jul 2020 05:04:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJlTes+0dHYZjAcg2v5Php0+T39r+Wvy7rvJoC6FtsAY886IZ+VZWIplK5dHC/W2BF1B4p X-Received: by 2002:a17:906:70cf:: with SMTP id g15mr8382417ejk.531.1594814693887; Wed, 15 Jul 2020 05:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594814693; cv=none; d=google.com; s=arc-20160816; b=mcfJBFFJRbxmC+y7cO2LlDbvWQ/8v4zfbiUe0O5CsBlt54E03lN5c5su1Z94UwJ3Qn 9vGsMLcuoNNF6AZSB6TiZEi6u5lI1oJhLyD9VqkIGj48jw4i2ghuij/dhFFQaBYsNVDz uJAi0TK9B6tVB19gulRoME7Lnh450SPj8pa3yYLr3KB+GycCckrw7IRuOkJU4q1uawAT pRVhMU8renXcH/UaHgCw+OLanppJaP8VO0bZokkt9bDcH2KoJ5C86rcvSDtivnh550yz /PFaPPnel18X19s9FuOfIDDlWtIlk1MRlhoW2oJz0Cbm+ZqPv6cvKdxom1Q038daMu1s VxWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:dkim-signature; bh=pJB1/nrPipAFG1HZoO/c2Uk2cKUlcWACWru6C+nylyo=; b=vbF6S9YTnCrA+Ra4GGocY5TlCnPZNNZ9EOs45/EYj1h+gFHZv12tCzewR9yP8wCGk8 0iIO/Wrk+8jWgjXgSf4ozaq/2cxwLsqWs7gX6RMIKHG7913qEHskQWWvpZ6saZH7QNbo WFPzwGV5bVNiFSd+NyFacQMUVTobQ7eTMNIIdwYBlrAf/0STbHu85uXc6Xu9VEaBgGgx sFcNmLuBBFIaDfV0RxfZX3Ywxi6o+O2JmykxB8apOEQeyxtBd5lgzxBF6cjsEt7ripGn XxYZpyPCQAkyEjnDZIKuN99paFm5rio+8lVotEA/kzlM5XJ8W+1r1r66Jty2W5GfqZoO 9DSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=MmJs84Je; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm6si1137872edb.169.2020.07.15.05.04.29; Wed, 15 Jul 2020 05:04:53 -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; dkim=fail header.i=@microchip.com header.s=mchp header.b=MmJs84Je; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730079AbgGOLZI (ORCPT + 99 others); Wed, 15 Jul 2020 07:25:08 -0400 Received: from esa3.microchip.iphmx.com ([68.232.153.233]:62473 "EHLO esa3.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730070AbgGOLZG (ORCPT ); Wed, 15 Jul 2020 07:25:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1594812305; x=1626348305; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=q0QHavN+4u4pBE7FBk+0bFtl4QwLcu8qUHdEouMfQVw=; b=MmJs84JetQJNdKhGj4F3TlfeQ46qB+nMVGPJ2e4wM+6TXERTzNKXXDUd 6qFDMH3FQrW0gU/x+spqUkPUgsw+Tvkfc1VWxly1WGgplNfAJzifJv59h 5hCI6bB2sn4kFWwZcdYkPbFKOxfxFKnubyKedD0nTOO4lHzgGsJMpB+5j wBTCUDYurK4GYvv+XP3DcDOR8CnvtySsHTypnnoGy9OUCCMO28OYkqbga hULQ96KQF4gqeDL4s2w2hxOeWzA+hFW50i0cmLV5iy8qS3JSYdeDwBz9V 7Rvb0EMAdv3KznGwGKlpmzq6q5V9m4B1N2DpqiYo/QQIq3EwXtrkE1VGy w==; IronPort-SDR: 6EOZa4HQg7p6Cq+e2uK7h6GG2kPJEh8yS8WAW5F3di9UMfM+7vIfktI5v0LTH43tpi3YN3TBJQ qCAxCroEzsunNCaZQWak0JNaFatXz6rKpomNZ4vyNz1Nl7YuhuFUmz+aYSlAVYFjRqKRPoWApX M9RqRNJmoVvjUDjxIOMM88wBL1HLihaEVfTnuCS8u4ixtOe8isEVwH/wRYFhunZG5UyjqAl2kW vyfL3JWL64+oaI5rJ158KEoWBu0KUeNhtJuRm4/uHOhzCFsNWdaajSWpKcQAf+zgU6wj2JYK8n D4o= X-IronPort-AV: E=Sophos;i="5.75,355,1589266800"; d="scan'208";a="83962834" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Jul 2020 04:25:05 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Wed, 15 Jul 2020 04:24:33 -0700 Received: from m18063-ThinkPad-T460p.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Wed, 15 Jul 2020 04:24:29 -0700 From: Claudiu Beznea To: , , , , CC: , , , , "Claudiu Beznea" Subject: [PATCH 08/19] clk: at91: sam9x60: fix main rc oscillator frequency Date: Wed, 15 Jul 2020 14:24:16 +0300 Message-ID: <1594812267-6697-9-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594812267-6697-1-git-send-email-claudiu.beznea@microchip.com> References: <1594812267-6697-1-git-send-email-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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