Received: by 10.192.165.148 with SMTP id m20csp2483654imm; Sun, 22 Apr 2018 08:00:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/+z8WDuX/zw3m9dkxXPpNAMxMlbxmNQaP5GGTxtz3Rdh3mMA6Pm6W1DuGvjhHLNmL0BIfK X-Received: by 2002:a17:902:6e8f:: with SMTP id v15-v6mr17940012plk.245.1524409243545; Sun, 22 Apr 2018 08:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524409243; cv=none; d=google.com; s=arc-20160816; b=qk4eqEGXKE9QtNWzIC57UjTXQTh/zkE2a8JcJJoIYju8GaEQCLLPXH1oJqJe1IfR8w lfM3M69HTUZq/mOSkYjEukkGupAYPRws6JTf+y1eiUCKzviRSDD3oNRBRFm5IYXMddb9 ywDQoL1wnMvwx1bU8nEmEYCKMhHHDWwGxbo2+uFApn1l1FexWg6GXxp9aw26ey7cbg3d zv7XQnMtgcSdmtrIDnpV3qXOPxV58IyMVR8A1d/khjW2ugjAAVrZWAtyuOANFn345HYp YnTEElfSan/fsFw2Ad293gVm25CU6JWuTLFgvE1AdSeOv7HsdDO/aEICgcxKH5w/FiK6 kvpg== 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=bYBExM5fKdj9lamSxMhe2y2bUe35ayUoLZB/PlIHWs0=; b=ml7aifVnQeCvV8s8Tc4/k7p4qLNV/G5/91FmYZEKyaagqHQwv0v8HOEUQqxsCxtLzK JAs53Vx4ZwJWm9PTjqM3Zf4QNG2EIrQxlM1uFHXRkeCjNiftX11OswB7DB6fV8jWZXrU e8eFGRTbdFK/pvUkSvWcADcNJ5Gd3OdRUMgHTqN/RG4VV6WcLNz6s18z280iM9iVbXK3 4UMLt33cIJGXRlrQGuB2sTJOuIyz/bs9a4oPZXf2oMPISItqhxUqsa6c0yziMIjcxB+6 KHSsDQZG4/z5ILwvfvvIT95hpuT8mQug+MttzXU9jOz9wuCvphjLiPVGZD3ZyYFFYjGd 0uvg== 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 b62si3439934pgc.505.2018.04.22.08.00.16; Sun, 22 Apr 2018 08:00:43 -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 S1756812AbeDVONM (ORCPT + 99 others); Sun, 22 Apr 2018 10:13:12 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55498 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756784AbeDVONH (ORCPT ); Sun, 22 Apr 2018 10:13:07 -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 64524CDB; Sun, 22 Apr 2018 14:13:06 +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.9 51/95] clk: mvebu: armada-38x: add support for 1866MHz variants Date: Sun, 22 Apr 2018 15:53:20 +0200 Message-Id: <20180422135212.502698628@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135210.432103639@linuxfoundation.org> References: <20180422135210.432103639@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.9-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},