]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cpufreq: imx-cpufreq-dt: Add i.MX8MN support
authorAnson Huang <Anson.Huang@nxp.com>
Sun, 18 Aug 2019 06:32:22 +0000 (02:32 -0400)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:25:54 +0000 (04:25 -0400)
commit2b6d15c8f0b8d3b4e89f56ab5bf90b725ecb2a1b
tree148b4453a4c8921868832800b9271a46aa484a55
parent05f664ac63b7cea3b8e66783788931dc79b5256c
cpufreq: imx-cpufreq-dt: Add i.MX8MN support

BugLink: https://bugs.launchpad.net/bugs/1848046
[ Upstream commit 75c000c4bcbe2b0eb82baf90c7dd75c7380cc3fd ]

i.MX8MN has different speed grading definition as below, it has 4 bits
to define speed grading, add support for it.

 SPEED_GRADE[3:0]    MHz
    0000            2300
    0001            2200
    0010            2100
    0011            2000
    0100            1900
    0101            1800
    0110            1700
    0111            1600
    1000            1500
    1001            1400
    1010            1300
    1011            1200
    1100            1100
    1101            1000
    1110             900
    1111             800

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/cpufreq/imx-cpufreq-dt.c