From patchwork Sun May 21 12:49:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Sennhauser X-Patchwork-Id: 9739045 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3DBA360328 for ; Sun, 21 May 2017 12:53:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EE2128634 for ; Sun, 21 May 2017 12:53:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 20B37286D7; Sun, 21 May 2017 12:53:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B419C28634 for ; Sun, 21 May 2017 12:53:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756355AbdEUMul (ORCPT ); Sun, 21 May 2017 08:50:41 -0400 Received: from mail-ua0-f195.google.com ([209.85.217.195]:33620 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753160AbdEUMtz (ORCPT ); Sun, 21 May 2017 08:49:55 -0400 Received: by mail-ua0-f195.google.com with SMTP id x47so6008680uab.0; Sun, 21 May 2017 05:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VxAHPja2xXWhBMrXggENTBH0nV86YtpgQD7CeI1uxGc=; b=PHY3BimjjCuK0EdaMRo7VqUEg9FjWYK4XeX1r4AUbnNxdA0lyfhbRdBO7EMSPwaMUh 2/yZwCDOvT4ug57b2GhHslxzYe58u+cYUXeaRJUoH/xHxgoF10ZoQUmXqaFBsMufq8r2 BZ7n84us9fPirK00oJeHd7oe1IXjpyxqFdJH4cQIyAtrYbkErfwT0q9NXhNPLcNOXa2l 4E9zWWDtgHiQGr5xOmVT1ITkrIeB0AsN+5pTeen8EAyZL8s2PZJawHMt7BAGjhTlM/P4 RH9EqVeOt/jCWN2ZKPhDMnw4Cj2MAVmeQQRPz3bG/wXI6aGPpF01EA2WpXuzqhDOO9pv O5TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VxAHPja2xXWhBMrXggENTBH0nV86YtpgQD7CeI1uxGc=; b=eq3PEu2dhXW5eHi2Fib55g0OZ94LlNH8ZEUGB/z7FfArQQ0tpyDtI9rKsca0/S9uoQ MftPH1hfFQIok1qEvsGfesJoeNQ2PnBto29L3IvZFLF08BvcuUs2la0ZlTwK2zudlsgF s4QFIC0sRfhUFDR+M5AmI2SC3K1c5XKKcSPpYBZOI6Uzt6kjlqes9kenSX/oeIO+hnWj ppF4waeYJK82h9KrJm2poVdaS6ApXaHAJUpTSbUHcw50zGdasMdlRp1innsZ/UurexlF ONWkY/KAGrXh2qFh2/2dz2H/TQoo+dgrIJ8/poljdvdkVE6yxM//svXLZKc2tVxUNVe0 2LlQ== X-Gm-Message-State: AODbwcA+x0Vtdm1dk+8jKhm/2jc5jsXzsxnTukwN18NJJShy3fmlp8sk hpieo09ZZ3ISJg== X-Received: by 10.176.24.167 with SMTP id t39mr9765854uag.79.1495370994850; Sun, 21 May 2017 05:49:54 -0700 (PDT) Received: from localhost.lan ([37.209.189.139]) by smtp.googlemail.com with ESMTPSA id q17sm2803410uab.7.2017.05.21.05.49.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 May 2017 05:49:53 -0700 (PDT) From: Ralph Sennhauser To: linux-arm-kernel@lists.infradead.org Cc: Gregory Clement , Imre Kaloz , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Rob Herring , Mark Rutland , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ralph Sennhauser , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org Subject: [PATCH 12/13] clk: mvebu: add support for 1866MHz variants Date: Sun, 21 May 2017 14:49:01 +0200 Message-Id: <20170521124903.11050-13-ralph.sennhauser@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170521124903.11050-1-ralph.sennhauser@gmail.com> References: <20170521124903.11050-1-ralph.sennhauser@gmail.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the list of supported CPU frequencies. Noticed by the following warning: [ 0.000000] Selected CPU frequency (16) unsupported Signed-off-by: Ralph Sennhauser --- drivers/clk/mvebu/armada-38x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/mvebu/armada-38x.c b/drivers/clk/mvebu/armada-38x.c index 8bccf4e..6a92eb6 100644 --- a/drivers/clk/mvebu/armada-38x.c +++ b/drivers/clk/mvebu/armada-38x.c @@ -49,7 +49,8 @@ static const u32 armada_38x_cpu_frequencies[] __initconst = { 0, 0, 0, 0, 1066 * 1000 * 1000, 0, 0, 0, 1332 * 1000 * 1000, 0, 0, 0, - 1600 * 1000 * 1000, + 1600 * 1000 * 1000, 0, 0, 0, + 1866 * 1000 * 1000 }; static u32 __init armada_38x_get_cpu_freq(void __iomem *sar)