Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1076747ybl; Sat, 17 Aug 2019 18:12:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBcTIVKOxQd8zyk0K8uaJAMSHKWkfXWSYlWNhtRBm29bNegeZ/VUhcioMDa06WZua4rC62 X-Received: by 2002:a17:902:424:: with SMTP id 33mr16288932ple.34.1566090762921; Sat, 17 Aug 2019 18:12:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566090762; cv=none; d=google.com; s=arc-20160816; b=AHlgFb33vUwNC1zMYZWHjyMFDsg0mSJBzorjLylISMvLFBa7iiLKfAednwJudRj+Di A3o+hqIUyEMrdffd7X1gxul4xcUZZrS1srZJ+MHbOErdnM/8Yqsh5qEd9E+79VTvWxCb uxe5xSCWpqenF2Gkrba602pKlgd4l+CgpiE1qdZwUyffE3HaUxHRwiHJhbuaf1q03SaE mSy0gZh+Y6uMpsp/ZvvlvekNHtGJGqx6iE9l56yCHcXKQrjM+hAt59DRxRvffK0ld/ka J8yrgHIAWAgUGKgLdhvggTHEt2gDK6dEjbd0Hig5UeWEoSVzEvVB+wNgFVITXRxYYYm1 nt3A== 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=opXtwZfl5rUSGEuPwJh6w4Pe17NFtKIPXnrl++oIfPU=; b=zn4kNjQOhXEUfEtdslyJegVY8WU/L+3cOFJQPrDn7/nvwKt/yWWj7Vl49ubRXHKoS1 17rk9ZZ4qV9ClE/ikgadWvSUwCJK9oPw76KmmyaHpDUD1xOvUouoYpbC4OBA670u0XnP 0wH57Ucew4+8Ul7oHdFN5Nki+lmao3/TrEiMS+CoUGAsG5b2JvUh1sIJbUzelJjWF+wm b/zLottmX2CGDIJrO660rkpq6rXL4E+ObOLdIEO5bg/p0JOVgwCj6ntzk3Ap8QLm0Vvk aqpwspvI249D88PBp1EGX4AIjpIsamUSSXmCRnYCzyONU/KxksfJCArhpdGrtSPJweJ9 xubQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="sK9Zf/ug"; 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 q25si6782113pgv.114.2019.08.17.18.12.28; Sat, 17 Aug 2019 18:12:42 -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="sK9Zf/ug"; 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 S1726478AbfHRBLf (ORCPT + 99 others); Sat, 17 Aug 2019 21:11:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:44780 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbfHRBLf (ORCPT ); Sat, 17 Aug 2019 21:11:35 -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 CE6F52173B; Sun, 18 Aug 2019 01:11:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566090693; bh=HEk8XIpEA4mKu9ETPAtTenyB9qoVj6YJR6owDZIimHs=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=sK9Zf/ugbsO75h1nHUNXz44KUjY5aEA9MnyjFVsDNwQTo4GWK7FXrVcl8buP+RkpQ IKARSoCV5i/ZRLTSA7Vx7M11YUQKMWzMqPd4RQkrPe05z/EE9Ib+ZloogrWcWnN5cW u/2QgfCMRzjgHcPCupHFUaAQ6csiw5Muyoa2MIyY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <1565866783-19672-1-git-send-email-Anson.Huang@nxp.com> <1565866783-19672-5-git-send-email-Anson.Huang@nxp.com> <20190817035220.268F32173B@mail.kernel.org> Subject: RE: [PATCH 5/6] clk: imx8mn: Add necessary frequency support for ARM PLL table From: Stephen Boyd Cc: dl-linux-imx To: "devicetree@vger.kernel.org" , "festevam@gmail.com" , "kernel@pengutronix.de" , "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" , Abel Vesa , Anson Huang , Leonard Crestez User-Agent: alot/0.8.1 Date: Sat, 17 Aug 2019 18:11:33 -0700 Message-Id: <20190818011133.CE6F52173B@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 (2019-08-17 15:22:01) > Hi, Stephen >=20 > > 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), > >=20 > > Why is rate_count added? That's not described in the commit text. >=20 > rate_count is necessary for table search during set_rate, it was missed p= reviously, > I will add it into commit text in V2. >=20 Right, isn't that a more critical fix to make by itself instead of rolling into this change that adds a few more frequencies?