Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9013832ybi; Wed, 10 Jul 2019 03:15:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwo48IXQ8TqTg/u9QeSMp1ui2BIAQKzB5JYoiIc7JcCN7kcwPkpQkuMfvNbKAe29yIJke0W X-Received: by 2002:a63:58c:: with SMTP id 134mr37879205pgf.106.1562753735376; Wed, 10 Jul 2019 03:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562753735; cv=none; d=google.com; s=arc-20160816; b=gXYUPrG9c6hdVj23duLm5xhtJbi+2HIJF+zHKhAEXGz1s5o1PfWy9NFytlv7cuJUPg b4TzNulY7MbQOUduxCqbkKA8hoUMGsX6Q2jw2PSrAR+95rr6dXc/mdiILJweqlK8XVCt dCfBnYxgO961jzCD/Q8l1ynizGTehS09ppbCiOYDtcAzi4ztdseoOyF3iyF+duIchlN+ MD97MUokY05naN9yHzoI54QejguCUskfIPyrrM0hwbvhkzeP3fRalKVLwzVkxTkQ1o0n atwK4kQhNeVw0bnXOLqTHrgGgDl9dlGX5qoh1VMj9ZzHjzGaDHiKdMSpoy2dSwjEzIbh CSGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=uptopeaKs/W8ZztvGEbIZfwxDCUbYgefWZO7WhUgjhs=; b=Qf6/IUPpdnjfCyQ1DDlHiK1h4k8Z6q6R2ABZNgkK0e5FqU2Rzi/K1M/oweX6LsI06H ZhUbSf2E7RryNNvlPrFlHz7CNFKxmA5uEIjQMgUr1UhXqis+EIpASmzS2P+ibZU2myEO Z4oo9GTUAC2u6/qE3T68pcXxQkOx8tN531bY3A1cAGEocjseQLZb1zodaveK9I0P1Rky Tenha1IlLZG9cujQ9y8WmQyOvQwvCRuLi9N3N6jTq9iQFwfCyt8iZsnxdO6s1FXGgev4 stvWMFGLWY1oNtoPtYbOGedF5ZMsCdltlj3YWRVC/1g7S65sgieZt9+fpZ4a9U2cRGAa +7nA== 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 x2si1785097pgr.428.2019.07.10.03.15.19; Wed, 10 Jul 2019 03:15:35 -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 S1727167AbfGJKLK (ORCPT + 99 others); Wed, 10 Jul 2019 06:11:10 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:54674 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727058AbfGJKLK (ORCPT ); Wed, 10 Jul 2019 06:11:10 -0400 Received: from 79.184.253.121.ipv4.supernova.orange.pl (79.184.253.121) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.267) id b3935117ca5db99f; Wed, 10 Jul 2019 12:11:07 +0200 From: "Rafael J. Wysocki" To: Viresh Kumar Cc: Anson.Huang@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH] cpufreq: imx-cpufreq-dt: Add i.MX8MN support Date: Wed, 10 Jul 2019 12:11:07 +0200 Message-ID: <7456362.ddI0K1WBKD@kreacher> In-Reply-To: <20190708035057.h2lgadm56tgdqsor@vireshk-i7> References: <20190708030308.1815-1-Anson.Huang@nxp.com> <20190708035057.h2lgadm56tgdqsor@vireshk-i7> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, July 8, 2019 5:50:57 AM CEST Viresh Kumar wrote: > On 08-07-19, 11:03, Anson.Huang@nxp.com wrote: > > From: Anson Huang > > > > i.MX8MN is a new SoC of i.MX8M series, it also uses speed > > grading and market segment fuses for OPP definitions, add > > support for this SoC. > > > > Signed-off-by: Anson Huang > > --- > > drivers/cpufreq/imx-cpufreq-dt.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/cpufreq/imx-cpufreq-dt.c b/drivers/cpufreq/imx-cpufreq-dt.c > > index b54fd26..4f85f31 100644 > > --- a/drivers/cpufreq/imx-cpufreq-dt.c > > +++ b/drivers/cpufreq/imx-cpufreq-dt.c > > @@ -44,10 +44,11 @@ static int imx_cpufreq_dt_probe(struct platform_device *pdev) > > * According to datasheet minimum speed grading is not supported for > > * consumer parts so clamp to 1 to avoid warning for "no OPPs" > > * > > - * Applies to 8mq and 8mm. > > + * Applies to i.MX8M series SoCs. > > */ > > if (mkt_segment == 0 && speed_grade == 0 && ( > > of_machine_is_compatible("fsl,imx8mm") || > > + of_machine_is_compatible("fsl,imx8mn") || > > of_machine_is_compatible("fsl,imx8mq"))) > > speed_grade = 1; > > Acked-by: Viresh Kumar > > @Rafael: Can you pick this one directly, no point sending another pull request > for just one patch. Thanks. Done, thanks!