]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cpufreq: probe the Integrator cpufreq driver from DT
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 20:52:32 +0000 (22:52 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2013 12:10:03 +0000 (14:10 +0200)
commitbdac7eacc43d2e4f2e2b9d5e70050138f5d07d62
treea3648bbe35ac04b1bc57bfb2701375c25d2467c9
parentbb4dbefe4c6ae3685152d03e318e093d5f6f795a
cpufreq: probe the Integrator cpufreq driver from DT

This makes the Integrator cpufreq driver probe from the core
module device tree node through it's registered platforms
device, getting the memory base from the device tree,
remapping it and removing dependencies to <mach/platform.h>
and <mach/hardware.h> by moving the two affected CM
register offsets into the driver.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/cpufreq/integrator-cpufreq.c