aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/clock.h')
-rw-r--r--arch/arm/mach-pxa/clock.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/clock.h b/arch/arm/mach-pxa/clock.h
index 83cbfaba485d..7bd1bbbb165f 100644
--- a/arch/arm/mach-pxa/clock.h
+++ b/arch/arm/mach-pxa/clock.h
@@ -52,4 +52,28 @@ extern const struct clkops clk_cken_ops;
52void clk_cken_enable(struct clk *clk); 52void clk_cken_enable(struct clk *clk);
53void clk_cken_disable(struct clk *clk); 53void clk_cken_disable(struct clk *clk);
54 54
55#ifdef CONFIG_PXA3xx
56#define PXA3xx_CKEN(_name, _cken, _rate, _delay, _dev) \
57 { \
58 .name = _name, \
59 .dev = _dev, \
60 .ops = &clk_pxa3xx_cken_ops, \
61 .rate = _rate, \
62 .cken = CKEN_##_cken, \
63 .delay = _delay, \
64 }
65
66#define PXA3xx_CK(_name, _cken, _ops, _dev) \
67 { \
68 .name = _name, \
69 .dev = _dev, \
70 .ops = _ops, \
71 .cken = CKEN_##_cken, \
72 }
73
74extern const struct clkops clk_pxa3xx_cken_ops;
75extern void clk_pxa3xx_cken_enable(struct clk *);
76extern void clk_pxa3xx_cken_disable(struct clk *);
77#endif
78
55void clks_register(struct clk *clks, size_t num); 79void clks_register(struct clk *clks, size_t num);