Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6162770ybi; Sun, 7 Jul 2019 21:55:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzy/fSnINuCKnyQ7kCwyycd13EEE/Y5ePJC/UXndPr/HpL4TN83Nd196dYad43ISNLZDBJ1 X-Received: by 2002:a17:902:8d95:: with SMTP id v21mr21629551plo.225.1562561712829; Sun, 07 Jul 2019 21:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562561712; cv=none; d=google.com; s=arc-20160816; b=LnF/kUKO4uEO+lin3sq0xxkcLmzS1bHiynUujShaAUhBdRbwqhuqBkpEWQLhh5G8o1 OmPamUA1gZwklujZ8MdOzef0tXztxdigQ+9K2q0sCRTqvqFL5Cg3WR8um8jmV/Vb4tgJ rfn2JCia3proabf1vPUyosB+KhXyrchNCvQvdguhYbBapmzoGUc4Fjbr/xyQ6vRXXfTn TsOuG0GWRgBs6SHDe7bnID9LGqGjW5sN6IVp5mrTdvZb8fOwSfSEVxrrXwQ/cupp+86Z xdHWF1Fa27hXUYSoembtaUWodGJQwvv1e60mFs/8+m10H9q//DD6dcc43E7vNoImOF6U biMg== 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:subject:cc:to:from; bh=sx/r/0V1xlvQYkfcdVtdikLNg4/0jCfL3eneDPZpx8M=; b=d+PkS6br/xeBBLYJOrFfOpqQGvBXNQVCO8yOuKRCukRwUqNxGiXxwjv6xw+bcxGU2c VW6JVVnxJOkuQEy4hGZJ06JHHxXBmEKZNFuphDWUbVBo02VRLTDcnOD5IIlOrbS4Oojz DbnM1Til9v4GmZd8/OI2TjzAB1adITOzdFA/FL9U034WaXV9n8zQVNYDhkpzo+xKHIJa L0QDrDzapapGcCD55vZagnyqhshfm6Sbjk6w+sW8GQ+xrnzYM6XgPHixLjNzw6V84Gaw 9DNKwV9gUhNw+SGKBctwTU/TK6PH7jfR2E3UyAXV4sAoM/sx1qJYtOlj8UFbT/SDNghS mc8w== 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 n13si17609781pgv.304.2019.07.07.21.54.57; Sun, 07 Jul 2019 21:55:12 -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 S1728704AbfGHDMT (ORCPT + 99 others); Sun, 7 Jul 2019 23:12:19 -0400 Received: from inva020.nxp.com ([92.121.34.13]:52430 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727973AbfGHDMT (ORCPT ); Sun, 7 Jul 2019 23:12:19 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 8A51D1A0028; Mon, 8 Jul 2019 05:12:17 +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 459DD1A0D76; Mon, 8 Jul 2019 05:12:12 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 7422D402A6; Mon, 8 Jul 2019 11:12:05 +0800 (SGT) From: Anson.Huang@nxp.com To: rjw@rjwysocki.net, viresh.kumar@linaro.org, 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 Cc: Linux-imx@nxp.com Subject: [PATCH] cpufreq: imx-cpufreq-dt: Add i.MX8MN support Date: Mon, 8 Jul 2019 11:03:08 +0800 Message-Id: <20190708030308.1815-1-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.14.1 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 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; -- 2.7.4