Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1964581ybl; Thu, 15 Aug 2019 04:19:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKiClEUyMp1+2VoOW+5hW8WosA+LoqpzY63pS0Ev4J9IVa3dnuzra1Vku6OwgAwSHi14nM X-Received: by 2002:a17:90a:8991:: with SMTP id v17mr1733935pjn.120.1565867962552; Thu, 15 Aug 2019 04:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565867962; cv=none; d=google.com; s=arc-20160816; b=FKUCWa0xg9RwBFiHKMymQT60RGiKPbKzJ3k9YnuqzlgPLnSr9h+6T6kw6e/kk5fq9V 8AkkX8IozJqJ6prAmpC75VZQ2rW/w0RWhSWPOYfuyoN7+7cZM2UpgkCFBEnk8mDnuauP YlYEbua3Gk1KoZ0HG4K+WLBjzRJNtzXIcmHtKmEwpOjPpn9EyecN+RypjaJnswt21zwk XVC148yVThvk0mQzVAVPWIfarovZNms6dupunDz1GWRIo0AOCB+n+6MC5C+iy97Z6REU cFeI8Zf5iElIyAB47KrTkHb8Llwl0a+3+cooy4iTyYltEIoOT11KOuQIW2uOb11e3usK Bvig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=SY9oNWcn7wAz2yk5XmpT00WEpRmtTCj/aUfnb8gLKL8=; b=s+dLPek2RKARHwvxHZ7ENeFBImsHLDBhIZwyi7aw/kSEUJO7CXG+9Bu18odvw0FHXM iRf6lkluXE791Qn5ajdwR7H1xFad5GE3e5NX4fcB/K3R/Jcm/Y2Ju+fm7whrTmFyzH2Z IovuEojGC0wkpRehxIxTCcd4FQV4yPpNLkuasfmMIbEOtXyjWZ7ZjSCwOr6TiFJmZpMp p0nSlnOgl1Nb0iOMw9fJj9AFO0ecXvH4eVOFLs7AWDw8lsM5+sRWokJ5TX3Su8Anky7r OKY5Ymd+FMeZNDTVF9Hk6IJYoHl+mWbiqOAnSVP94Eq5TN34xXClVueLUlr8mVtxrbM8 BDPQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9si832620pjr.20.2019.08.15.04.19.06; Thu, 15 Aug 2019 04:19:22 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731526AbfHOLSY (ORCPT + 99 others); Thu, 15 Aug 2019 07:18:24 -0400 Received: from inva020.nxp.com ([92.121.34.13]:38084 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730969AbfHOLSV (ORCPT ); Thu, 15 Aug 2019 07:18:21 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 997881A00FE; Thu, 15 Aug 2019 13:18:19 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B639B1A0115; Thu, 15 Aug 2019 13:18:11 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id E3E9B402F1; Thu, 15 Aug 2019 19:18:01 +0800 (SGT) From: Anson.Huang@nxp.com To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org, leonard.crestez@nxp.com, abel.vesa@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 5/6] clk: imx8mn: Add necessary frequency support for ARM PLL table Date: Thu, 15 Aug 2019 06:59:42 -0400 Message-Id: <1565866783-19672-5-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1565866783-19672-1-git-send-email-Anson.Huang@nxp.com> References: <1565866783-19672-1-git-send-email-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang i.MX8MN supports CPU running at 1.5GHz/1.4GHz/1.2GHz, add missing frequency for ARM PLL table. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx8mn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index ecd1062..3f1239a 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -42,6 +42,8 @@ enum { static const struct imx_pll14xx_rate_table imx8mn_pll1416x_tbl[] = { PLL_1416X_RATE(1800000000U, 225, 3, 0), PLL_1416X_RATE(1600000000U, 200, 3, 0), + PLL_1416X_RATE(1500000000U, 375, 3, 1), + PLL_1416X_RATE(1400000000U, 350, 3, 1), PLL_1416X_RATE(1200000000U, 300, 3, 1), PLL_1416X_RATE(1000000000U, 250, 3, 1), PLL_1416X_RATE(800000000U, 200, 3, 1), @@ -82,6 +84,7 @@ static struct imx_pll14xx_clk imx8mn_dram_pll = { static struct imx_pll14xx_clk imx8mn_arm_pll = { .type = PLL_1416X, .rate_table = imx8mn_pll1416x_tbl, + .rate_count = ARRAY_SIZE(imx8mn_pll1416x_tbl), }; static struct imx_pll14xx_clk imx8mn_gpu_pll = { -- 2.7.4