cpufreq: imx-cpufreq-dt: Correct i.MX8MN's default speed grade value
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 22 Oct 2019 08:33:19 +0000 (16:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:43:28 +0000 (08:43 +0100)
commit7a5e10c1d67150eeeb31928db5df9de4f038db5b
treeb0d531c8c683e926115b75f46d7d27f78722f24d
parent0d4e867e0cfe07543560b9ac695614d4a86ca3ae
cpufreq: imx-cpufreq-dt: Correct i.MX8MN's default speed grade value

[ Upstream commit af44d180e3de4cb411ce327b147ea3513f0bbbcb ]

i.MX8MN has different speed grade definition compared to
i.MX8MQ/i.MX8MM, when fuses are NOT written, the default
speed_grade should be set to minimum available OPP defined
in DT which is 1.2GHz, the corresponding speed_grade value
should be 0xb.

Fixes: 5b8010ba70d5 ("cpufreq: imx-cpufreq-dt: Add i.MX8MN support")
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpufreq/imx-cpufreq-dt.c