diff options
author | Tony Lindgren <tony@atomide.com> | 2006-09-25 06:27:20 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2006-09-25 06:27:20 -0400 |
commit | 90afd5cb2ac0977c38e83b6b21493da911b242b3 (patch) | |
tree | 7d0dedf7bfedb76e9bb2149f7f8aec1aaed159f9 /arch/arm/mach-omap1/clock.h | |
parent | 1630b52ddf4fc27e0dc421a57e4788bf9d3886cc (diff) |
ARM: OMAP: Sync clocks with linux-omap tree
Mostly clean up CONFIG_OMAP_RESET_CLOCKS. Also includes a
patch from Imre Deak to make McSPI clocks use id.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/clock.h')
-rw-r--r-- | arch/arm/mach-omap1/clock.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/clock.h b/arch/arm/mach-omap1/clock.h index b7c68819c4e7..f7df00205c4a 100644 --- a/arch/arm/mach-omap1/clock.h +++ b/arch/arm/mach-omap1/clock.h | |||
@@ -89,6 +89,7 @@ struct arm_idlect1_clk { | |||
89 | #define EN_DSPTIMCK 5 | 89 | #define EN_DSPTIMCK 5 |
90 | 90 | ||
91 | /* Various register defines for clock controls scattered around OMAP chip */ | 91 | /* Various register defines for clock controls scattered around OMAP chip */ |
92 | #define SDW_MCLK_INV_BIT 2 /* In ULPD_CLKC_CTRL */ | ||
92 | #define USB_MCLK_EN_BIT 4 /* In ULPD_CLKC_CTRL */ | 93 | #define USB_MCLK_EN_BIT 4 /* In ULPD_CLKC_CTRL */ |
93 | #define USB_HOST_HHC_UHOST_EN 9 /* In MOD_CONF_CTRL_0 */ | 94 | #define USB_HOST_HHC_UHOST_EN 9 /* In MOD_CONF_CTRL_0 */ |
94 | #define SWD_ULPD_PLL_CLK_REQ 1 /* In SWD_CLK_DIV_CTRL_SEL */ | 95 | #define SWD_ULPD_PLL_CLK_REQ 1 /* In SWD_CLK_DIV_CTRL_SEL */ |
@@ -741,6 +742,18 @@ static struct clk i2c_fck = { | |||
741 | .disable = &omap1_clk_disable_generic, | 742 | .disable = &omap1_clk_disable_generic, |
742 | }; | 743 | }; |
743 | 744 | ||
745 | static struct clk i2c_ick = { | ||
746 | .name = "i2c_ick", | ||
747 | .id = 1, | ||
748 | .flags = CLOCK_IN_OMAP16XX | | ||
749 | VIRTUAL_CLOCK | CLOCK_NO_IDLE_PARENT | | ||
750 | ALWAYS_ENABLED, | ||
751 | .parent = &armper_ck.clk, | ||
752 | .recalc = &followparent_recalc, | ||
753 | .enable = &omap1_clk_enable_generic, | ||
754 | .disable = &omap1_clk_disable_generic, | ||
755 | }; | ||
756 | |||
744 | static struct clk * onchip_clks[] = { | 757 | static struct clk * onchip_clks[] = { |
745 | /* non-ULPD clocks */ | 758 | /* non-ULPD clocks */ |
746 | &ck_ref, | 759 | &ck_ref, |
@@ -790,6 +803,7 @@ static struct clk * onchip_clks[] = { | |||
790 | /* Virtual clocks */ | 803 | /* Virtual clocks */ |
791 | &virtual_ck_mpu, | 804 | &virtual_ck_mpu, |
792 | &i2c_fck, | 805 | &i2c_fck, |
806 | &i2c_ick, | ||
793 | }; | 807 | }; |
794 | 808 | ||
795 | #endif | 809 | #endif |