diff options
| author | Tony Lindgren <tony@atomide.com> | 2013-03-27 10:35:14 -0700 | 
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2013-03-27 10:35:14 -0700 | 
| commit | cdcbdfb290b7b15315bf92fb5c339d0a8b32debf (patch) | |
| tree | 416780666d285a0d29444ffea206f2c867c95561 /arch/arm/mach-omap2/clock.h | |
| parent | d8443c8e058bb04ba2168936d905e57cc5711d7a (diff) | |
| parent | 78e52e026d288aad88b46bff0d94b05e145c4583 (diff) | |
| download | olio-linux-3.10-cdcbdfb290b7b15315bf92fb5c339d0a8b32debf.tar.xz olio-linux-3.10-cdcbdfb290b7b15315bf92fb5c339d0a8b32debf.zip  | |
Merge tag 'omap-cleanup-a-for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into omap-for-v3.10/cleanup
In the OMAP2+ clock data, replace the flags that determine whether a
clock should be registered on a given SoC with per-SoC lists.
Basic build, boot, and power management test results are available at:
http://www.pwsan.com/omap/testlogs/jk_clock_flags_cleanup_3.10/20130318100504/
Diffstat (limited to 'arch/arm/mach-omap2/clock.h')
| -rw-r--r-- | arch/arm/mach-omap2/clock.h | 20 | 
1 files changed, 2 insertions, 18 deletions
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index 60ddd8612b4..7aa32cd292f 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h @@ -27,9 +27,8 @@ struct omap_clk {  	struct clk_lookup		lk;  }; -#define CLK(dev, con, ck, cp)		\ +#define CLK(dev, con, ck)		\  	{				\ -		 .cpu = cp,		\  		.lk = {			\  			.dev_id = dev,	\  			.con_id = con,	\ @@ -37,22 +36,6 @@ struct omap_clk {  		},			\  	} -/* Platform flags for the clkdev-OMAP integration code */ -#define CK_242X		(1 << 0) -#define CK_243X		(1 << 1)	/* 243x, 253x */ -#define CK_3430ES1	(1 << 2)	/* 34xxES1 only */ -#define CK_3430ES2PLUS	(1 << 3)	/* 34xxES2, ES3, non-Sitara 35xx only */ -#define CK_AM35XX	(1 << 4)	/* Sitara AM35xx */ -#define CK_36XX		(1 << 5)	/* 36xx/37xx-specific clocks */ -#define CK_443X		(1 << 6) -#define CK_TI816X	(1 << 7) -#define CK_446X		(1 << 8) -#define CK_AM33XX	(1 << 9)	/* AM33xx specific clocks */ - - -#define CK_34XX		(CK_3430ES1 | CK_3430ES2PLUS) -#define CK_3XXX		(CK_34XX | CK_AM35XX | CK_36XX) -  struct clockdomain;  #define to_clk_hw_omap(_hw) container_of(_hw, struct clk_hw_omap, hw) @@ -480,4 +463,5 @@ extern int am33xx_clk_init(void);  extern int omap2_clkops_enable_clkdm(struct clk_hw *hw);  extern void omap2_clkops_disable_clkdm(struct clk_hw *hw); +extern void omap_clocks_register(struct omap_clk *oclks, int cnt);  #endif  |