Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp144138ybl; Fri, 16 Aug 2019 20:53:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyXAg7K5/l3r9fFQx2910ZpOxrrOEg8dzz4CsdaaRzzw30DC+frzvcWvDhcHN2pg1vK9FQ X-Received: by 2002:a17:902:ac86:: with SMTP id h6mr12482503plr.79.1566014004181; Fri, 16 Aug 2019 20:53:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566014004; cv=none; d=google.com; s=arc-20160816; b=gc53Wmju0ruVwr46yeADAQyRhm819f5UOwxg6FSyPgUXijMBlZPfcwHrJGz0t66yPu 3+GUwlKAu4qhwwGpGdMV16l73A9SU7fJjK3HxBqHtClRQfud0ea6y+Bkg0DSeGz2Feo+ p64z8qmcAp/fWOZMNYDEIvvRKM25VNFsnpach4et4STxvaMsOYLnuWtDlZvxjXrFLY/p wXmCPSAfM+jlhVrWpj5KohPtu9OzQaelVwqcrqF6fkQ3bDwzGFjgnsQ4VCcExovj0edj 9JFrmQU7ocYSxnXGL96aIfiLZH00M2m9+AnlLqDG/Ihe9U5UWrwt+ogzNcUNY3Jm2p4/ JrwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:user-agent:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=A53kD9eTD6Mgnbq6ZV25DS1nhm+JtNTGD6nF9p86hO0=; b=ln1wBIW61YsITaWJ0mU+Mqp5RUIFON0Xe67j9FhHOrmnztJRBhkJv7JEjVIhUJ9xNv GvuFNP5gpBaCImERrjDcoXNfDZtRh1jkjN1xlYBFptYNNCg+1WXaSTSK6utSjBRZLc6N 4zG62BJ2w/X4MtFvCkFqgEoglasiSThudnV2Y4eRWCJ7G0p/3fmSS8xWQssHuVqCFhcq BFfrIxB/dGAO1nzKvYY3LAkvS43XoCnGNoEu55U14YZqSYAyczj160SSw/qP5UT3tZs7 nEy7Xr53KBA87GHfGMDUGd9kMkD7qawAhRN88BffRvIPTrqgrSdY91KtDMD/A6+0KRW/ ooUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DcdqOF0U; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b35si5298376pla.157.2019.08.16.20.53.08; Fri, 16 Aug 2019 20:53:24 -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; dkim=pass header.i=@kernel.org header.s=default header.b=DcdqOF0U; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726087AbfHQDwV (ORCPT + 99 others); Fri, 16 Aug 2019 23:52:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:42756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbfHQDwU (ORCPT ); Fri, 16 Aug 2019 23:52:20 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 268F32173B; Sat, 17 Aug 2019 03:52:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566013940; bh=4oxw9KmagPq4gSAaCNa0UfIBjp21fF7APgvTtgAbfh8=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=DcdqOF0UOe9NLgUEeGC/MOUbnT5TQ1k6ns/TnlozI+tFXSveq3eVKqnk4wiQ2O6jZ W73j0LpAqXjrYw95uxe7Yrps6KzmDkAayy5sFqqZ08rEd6bj1LY4wYaspvhxwM1IVH UYaYJaZczeJrg1PfGnYj4SklLdB80/ZCh2Pmbj2w= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1565866783-19672-5-git-send-email-Anson.Huang@nxp.com> References: <1565866783-19672-1-git-send-email-Anson.Huang@nxp.com> <1565866783-19672-5-git-send-email-Anson.Huang@nxp.com> Subject: Re: [PATCH 5/6] clk: imx8mn: Add necessary frequency support for ARM PLL table From: Stephen Boyd Cc: Linux-imx@nxp.com To: Anson.Huang@nxp.com, abel.vesa@nxp.com, devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, leonard.crestez@nxp.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, rjw@rjwysocki.net, robh+dt@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org, viresh.kumar@linaro.org User-Agent: alot/0.8.1 Date: Fri, 16 Aug 2019 20:52:19 -0700 Message-Id: <20190817035220.268F32173B@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Anson.Huang@nxp.com (2019-08-15 03:59:42) > 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 > @@ -82,6 +84,7 @@ static struct imx_pll14xx_clk imx8mn_dram_pll =3D { > static struct imx_pll14xx_clk imx8mn_arm_pll =3D { > .type =3D PLL_1416X, > .rate_table =3D imx8mn_pll1416x_tbl, > + .rate_count =3D ARRAY_SIZE(imx8mn_pll1416x_tbl), Why is rate_count added? That's not described in the commit text.