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: 9739055 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 48B2A6032C for ; Sun, 21 May 2017 12:57:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37464286D7 for ; Sun, 21 May 2017 12:57:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A662286DC; Sun, 21 May 2017 12:57:14 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E396C286D7 for ; Sun, 21 May 2017 12:57:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=K2erY5iCbK95ew0ufy45oL+Zc6nV34zV0gEgNhUEp+U=; b=R3N/sur1vk4+pqT4iLOeDRrw1X FqwqZ0o+jmYqUwC8YyG5DfanQXDOhA42YJwsVYuRVhZDx1htSb2HIzWnPgwFLb3nCeiJpftiGe85b 4BGR443NtLVLU+VTUYZ94dRj4anwSQOC6dHw6uTZ1zfEqX4GX+NPyhxFr71LGjlO/0HKm5R3L0vpC ZdHLY7luSUoc435HdvfsnUa8PHy5RnSG+hBXkQlDTv078plpcfYnp1FhJz4xFU/DhYCLklO/aATDk n4PIhl/iLsZ6Z2vzQtAnHqXPRS8ypJNU7rE1iZzt53Tu5IXiAX0Bc9OXhjWUxHkXqB6/xsbHIMNel rZkZ5sDw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dCQQ1-0003Nf-Hz; Sun, 21 May 2017 12:57:09 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCQJV-0006ns-8l for linux-arm-kernel@bombadil.infradead.org; Sun, 21 May 2017 12:50:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=VxAHPja2xXWhBMrXggENTBH0nV86YtpgQD7CeI1uxGc=; b=WuQRxMkWjg8uMIJy2QIoR8hCs 0/p19cWaQoFgDNSr/YBfem/M5AV7wbM0b2BAEsBxi1FVDSrccW2mIx8tiYF7YVbXR+MCmQpwtMQhu 8Xd1s4So3Puu5scMRa82OPPHVFmScXh4YZs9e3dIpwcuD2VY4T4OxLMSatUJjHtFUoIhCc7bn5+5I Iwq6qOM+3YPaa9QQiFPkdhN/tKuXeSS3hZgMem13qbFwT7242ncDQKCNWxQwj2Mb6BslUvIdvUiNz H8vo/nSVTssDPNhfcIPIBO/euqGpgqQ8P42TGgKd7w3iN2Y2clXdVwjYTPhwBGvAyYEvv8+37Ia1h UMgFF2P8Q==; Received: from mail-ua0-x244.google.com ([2607:f8b0:400c:c08::244]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCQJQ-0001Rp-Qg for linux-arm-kernel@lists.infradead.org; Sun, 21 May 2017 12:50:24 +0000 Received: by mail-ua0-x244.google.com with SMTP id e28so6003589uah.2 for ; Sun, 21 May 2017 05:49:56 -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=Q2orOi20zxq3jOxiLKxAk2Etu95roWF+5aQ2aarHxvxgYx8jOJ1kQIEDI2ZzD3lSOz HmsUwVvABV9bbB472vrV5qrEvMcZmESuCYXLt0YSHRiN7DDuyH7MQ25PDqOL9fOTa0ZL aHuhZ3SXHLVb5wMDEwX05GAaa1cR7FReLYjz+85SkoupNIrNNtOjxmBRCHqCkPCIpyD6 ddS2TW+K0VVRZIwk27NMXXQsIwLYqMKBCRocmR2l3YMLoEAWSTY/1BNIIjvTipMGY0vm Q1UcS1qpfdKYumV6Vuhh6jwnG0iMixL9zGdUJ6Sqt+vWwNVEB4dLkzPjpMJbl+Nowghr vO8g== X-Gm-Message-State: AODbwcAjR2jaowjb8C7k+tcM5QOYvXEmTsb3XH4scsL8PPXyLM4Uz0J2 gZ1A+sxjMWNTSQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170521_085021_026786_360B7EDB X-CRM114-Status: GOOD ( 11.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Andrew Lunn , Jason Cooper , devicetree@vger.kernel.org, Michael Turquette , Stephen Boyd , Russell King , linux-kernel@vger.kernel.org, Ralph Sennhauser , Rob Herring , Gregory Clement , Imre Kaloz , linux-clk@vger.kernel.org, Sebastian Hesselbarth MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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)