mfd: db8500-prcmu: Get rid of cpufreq dependency
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Aug 2017 13:17:40 +0000 (15:17 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Aug 2017 13:49:33 +0000 (15:49 +0200)
commit836a1e25dff8b23d5d54022cf84f841dae2387c7
treea8ac63a5cbb53edf21731ae13b894e6216a31139
parentff6c349f74218eb03a676f46a2cffe69fc5b3d4d
mfd: db8500-prcmu: Get rid of cpufreq dependency

The ARMSS clock, also known as the operating point of the
CPU, should not cross-depend on cpufreq like this. Move
the code to use just frequencies and remove the false
frequency (1GHz) and put in the actual frequency provided
by the ARMSS clock (998400000 Hz) as part of the process.

After this and the related cpufreq patch, the DB8500 will
simply use the standard DT cpufreq driver to change the
operating points through the common clock framework using
the ARMSS clock.

Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/mfd/db8500-prcmu.c