aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-07-02 04:47:38 -0400
committerPaul Walmsley <paul@pwsan.com>2014-07-15 16:08:49 -0400
commit44b65e760e39323f4dad70a3080b7b624ed481ca (patch)
treeb884685875a4c3ef87c55846e2c47a6bab9cbcaf
parent74b9b62b6046265437dd20562c067ba167bd94a4 (diff)
ARM: OMAP4+: dpll44xx: remove cm-regbits-44xx.h and clock44xx.h includes
Instead, copy the used bitfield definitions to the source file. Done in preparation to migrate the clock implementation under clock driver. Signed-off-by: Tero Kristo <t-kristo@ti.com> Reviewed-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Paul Walmsley <paul@pwsan.com>
-rw-r--r--arch/arm/mach-omap2/dpll44xx.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/dpll44xx.c b/arch/arm/mach-omap2/dpll44xx.c
index b0718911f380..4613f1e86988 100644
--- a/arch/arm/mach-omap2/dpll44xx.c
+++ b/arch/arm/mach-omap2/dpll44xx.c
@@ -16,8 +16,6 @@
16#include <linux/bitops.h> 16#include <linux/bitops.h>
17 17
18#include "clock.h" 18#include "clock.h"
19#include "clock44xx.h"
20#include "cm-regbits-44xx.h"
21 19
22/* 20/*
23 * Maximum DPLL input frequency (FINT) and output frequency (FOUT) that 21 * Maximum DPLL input frequency (FINT) and output frequency (FOUT) that
@@ -28,6 +26,16 @@
28#define OMAP4_DPLL_LP_FINT_MAX 1000000 26#define OMAP4_DPLL_LP_FINT_MAX 1000000
29#define OMAP4_DPLL_LP_FOUT_MAX 100000000 27#define OMAP4_DPLL_LP_FOUT_MAX 100000000
30 28
29/*
30 * Bitfield declarations
31 */
32#define OMAP4430_DPLL_CLKOUT_GATE_CTRL_MASK (1 << 8)
33#define OMAP4430_DPLL_CLKOUTX2_GATE_CTRL_MASK (1 << 10)
34#define OMAP4430_DPLL_REGM4XEN_MASK (1 << 11)
35
36/* Static rate multiplier for OMAP4 REGM4XEN clocks */
37#define OMAP4430_REGM4XEN_MULT 4
38
31/* Supported only on OMAP4 */ 39/* Supported only on OMAP4 */
32int omap4_dpllmx_gatectrl_read(struct clk_hw_omap *clk) 40int omap4_dpllmx_gatectrl_read(struct clk_hw_omap *clk)
33{ 41{