Received: by 10.192.165.148 with SMTP id m20csp2454886imm; Sun, 22 Apr 2018 07:23:49 -0700 (PDT) X-Google-Smtp-Source: AIpwx492zrUT/XAxGZ6SdSb29dq3V1VYPWB0B1XNp/0DpjvPdMw0gymH8vgcO+JnoL9pxlsulhiS X-Received: by 10.98.159.20 with SMTP id g20mr16844095pfe.75.1524407028945; Sun, 22 Apr 2018 07:23:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524407028; cv=none; d=google.com; s=arc-20160816; b=a+jwLnajeQjIk7h87tX3rPXQqlwaHRmrcVZJhNETJNrZVqePL+qJolRuGSgan9A9uR LzJ1LufBzMqDRcyJLmWT/DVVfPOX4my+bvnCCpTJADoKRPcfzkBkVo5LRutZwI87hIfW /8pK891ADnStQSJ5hWHssx9f3j3ql5ASjb8HwtcG9WrygTXZt8YkQmTT3fFLmbRkkXwi lYOVDaGny7zHFgOXpF/xpIEhfSVATaha/v/tknyVfRGWgXDMyaEn1RJ2Dm0KpHn0F7+j 8dzVZQ8o8SnaKg9rVgzZoPNO8pI5PB5TYF6JK/+Cd8PfiwbDnfzubnXPsTLVm6i+s+qk j42Q== 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=Yn2SpyPNVhioPeMmhl1Qqu5jrTXEfCWxKP75EJet1SU=; b=EhDqMSvX88oJJRce+D08XBp3ZsI1hJwM7AYao3wH8oHfQiqUfgTvDUupjTZuPeYnHw Oz5AGCX365CKnHEbOQo3V98olvN3xocXCoMIyFc/L0Ms6pBeieXQkg197dl+km3LL3Ts 68Qr3GFKc/kQLoHN7ENSrk5n1OMDUBKcOM89cbVzjxuBzKLdeJptYeu5RogwRv2H+KZg xniAcI/S4gT9sFqjgK3hbv53ILbn3AJiWuDUJ9x3UOBqRa8MBHxbkheTLYAfsRUEZJug M/hhAaXrcM1rz3T4rre6Y821nfFe1uuf/v5KsoRIz/1/SL3NU16Kjnj3CooXSKqOKwEv c8uw== 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 c7si8279854pgn.152.2018.04.22.07.23.35; Sun, 22 Apr 2018 07:23:48 -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 S1757748AbeDVOWZ (ORCPT + 99 others); Sun, 22 Apr 2018 10:22:25 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33330 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756590AbeDVOWP (ORCPT ); Sun, 22 Apr 2018 10:22:15 -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 B2907C27; Sun, 22 Apr 2018 14:22:14 +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 3.18 27/52] clk: mvebu: armada-38x: add support for 1866MHz variants Date: Sun, 22 Apr 2018 15:54:00 +0200 Message-Id: <20180422135316.716602738@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135315.254787616@linuxfoundation.org> References: <20180422135315.254787616@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 3.18-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},