On 08-07-19, 11:03, anson.hu...@nxp.com wrote: > From: Anson Huang <anson.hu...@nxp.com> > > 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 <anson.hu...@nxp.com> > --- > 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 <viresh.ku...@linaro.org> @Rafael: Can you pick this one directly, no point sending another pull request for just one patch. Thanks. -- viresh