Received: by 10.192.165.148 with SMTP id m20csp2469522imm; Sun, 22 Apr 2018 07:41:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/ccE5XJkhj0RDphg4FCgbjGJAQiA8zBIyVCqc+kqXU0bASITNrCJzDXAaIH2S81maMIM0i X-Received: by 2002:a17:902:b2c7:: with SMTP id x7-v6mr17753360plw.124.1524408119679; Sun, 22 Apr 2018 07:41:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524408119; cv=none; d=google.com; s=arc-20160816; b=WDTZC3CgDiBTawMAwJsQzBNpo2oujQIo97EoKPP8wEmCRFwReSM8XA06R2tjABPYxm J9jOJoKd6cDkWFrGfeKA+rcLhYr8wKoqqa7e8vfz3guBXDlTLcRgyC3bTXKJpQS1uxPs 1kISByJn26D1ZrbknXSb+HViXFUxR5v7Ktmgozxw8veMYnxlBV/vbtpiyRYNbQGBYzhB 3jZeRdrReKTJsTaXpNR0YXUTyexiNGT4X8v5iah3UafTP/mQns1s3CbrzWjxvkXuwg5t fD9d+22bG1dT22BUKtLUu4CfSRdFM5fuUHCi/wYPClMa8msOGsvZcoOHkXGW8fOkMp+8 yyMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ZoOMs6dHfYF+kRny5qh03B9WA8RRmlq+9hstta4fQ1U=; b=Qjf6SeB5RIbmja00NCRhANx08uUOZIh0oxQslAHr6xM2m9MKN4EyM3+b4o2r+q9Kp+ RPkHM4A6YCqsDsUlZi8LHnHzItndrbET6GZZlRt5F1L9zQUrktuGJjh0yItzXXUmbPfD jtbjABS5Mkb7l1h8FmEifGDUpIFc4Z0QfNpmky0X3jICpY2f+S180UWVao1SFfmUR2Vs BxzTT7t3eNOu9lj1tGycFgfr9TQMNfLcfIHqBOjBu74m7MCnVtjv9Vf+VovfmYXmXo/w 4wkxVK22iAhU7Gtzf9CaPIR25DvD0nkabMnwt3Czj4FOTT/zOrX/weQzr9NmLJeT5x8y /dhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s2si9454686pfb.39.2018.04.22.07.41.45; Sun, 22 Apr 2018 07:41:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757164AbeDVOR5 (ORCPT + 99 others); Sun, 22 Apr 2018 10:17:57 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:58572 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757130AbeDVORu (ORCPT ); Sun, 22 Apr 2018 10:17:50 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 8FD35CD2; Sun, 22 Apr 2018 14:17:49 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ralph Sennhauser , Gregory CLEMENT , Stephen Boyd Subject: [PATCH 4.4 60/97] clk: mvebu: armada-38x: add support for 1866MHz variants Date: Sun, 22 Apr 2018 15:53:38 +0200 Message-Id: <20180422135308.591594256@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135304.577223025@linuxfoundation.org> References: <20180422135304.577223025@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ralph Sennhauser commit 9593f4f56cf5d1c443f66660a0c7f01de38f979d upstream. The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the list of supported CPU frequencies. Also update multiplier and divisor for the l2clk and ddrclk. Noticed by the following warning: [ 0.000000] Selected CPU frequency (16) unsupported Signed-off-by: Ralph Sennhauser Reviewed-by: Gregory CLEMENT Signed-off-by: Stephen Boyd Signed-off-by: Greg Kroah-Hartman --- drivers/clk/mvebu/armada-38x.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/drivers/clk/mvebu/armada-38x.c +++ b/drivers/clk/mvebu/armada-38x.c @@ -49,7 +49,8 @@ static const u32 armada_38x_cpu_frequenc 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) @@ -79,7 +80,7 @@ static const int armada_38x_cpu_l2_ratio {1, 2}, {0, 1}, {0, 1}, {0, 1}, {1, 2}, {0, 1}, {0, 1}, {0, 1}, {1, 2}, {0, 1}, {0, 1}, {0, 1}, - {0, 1}, {0, 1}, {0, 1}, {0, 1}, + {1, 2}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, @@ -90,7 +91,7 @@ static const int armada_38x_cpu_ddr_rati {1, 2}, {0, 1}, {0, 1}, {0, 1}, {1, 2}, {0, 1}, {0, 1}, {0, 1}, {1, 2}, {0, 1}, {0, 1}, {0, 1}, - {0, 1}, {0, 1}, {0, 1}, {0, 1}, + {1, 2}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1}, {0, 1},