cpufreq: pxa3: move clk register access to clk driver
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 Sep 2019 13:34:10 +0000 (15:34 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 7 May 2022 20:55:49 +0000 (22:55 +0200)
commit5c6603e741921c75f67a724e798642ed50a6328e
tree8b40f34662aa0620eb1bedda58d9a8fa19c00584
parente0a3596eb811bb86c9b5b2fe46493aa7782692ba
cpufreq: pxa3: move clk register access to clk driver

The driver needs some low-level register access for setting
the core and bus frequencies. These registers are owned
by the clk driver, so move the low-level access into that
driver with a slightly higher-level interface and avoid
any machine header file dependencies.

Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linux-clk@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/generic.h
arch/arm/mach-pxa/include/mach/generic.h [deleted file]
arch/arm/mach-pxa/pxa3xx.c
drivers/clk/pxa/clk-pxa3xx.c
drivers/cpufreq/pxa2xx-cpufreq.c
drivers/cpufreq/pxa3xx-cpufreq.c
include/linux/clk/pxa.h [new file with mode: 0644]