summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandra Sekhar.Anagani <chandu@ti.com>2012-02-16 22:18:26 -0600
committerAndy Green <andy.green@linaro.org>2012-03-13 11:20:28 +0800
commitfcea2c1868f22e1ad6198b6c1cd77fb1fcf84093 (patch)
treede8284308b4c927943e4ad664ecb17594d247d70
parent481364799064ac213817b0eb2ab9540871db7b65 (diff)
omap4: hwmod_data: add missing clock fields for ipu
IPU is missing the clock names on the individual processor pseudo-hwmod data and clock domain on the main ipu hwmod. Adding the clock names help keep the reference count. The lack of the clock domain causes the hwmod setup to be incomplete and may lead to a boot failure. This data has been added. Signed-off-by: Chandra Sekhar Anagani <chandu@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_44xx_data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 3b4defbf567..67c4de56642 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -3064,6 +3064,7 @@ static struct omap_hwmod omap44xx_ipu_c0_hwmod = {
.flags = HWMOD_INIT_NO_RESET,
.rst_lines = omap44xx_ipu_c0_resets,
.rst_lines_cnt = ARRAY_SIZE(omap44xx_ipu_c0_resets),
+ .main_clk = "ipu_fck",
.prcm = {
.omap4 = {
.rstctrl_offs = OMAP4_RM_DUCATI_RSTCTRL_OFFSET,
@@ -3079,6 +3080,7 @@ static struct omap_hwmod omap44xx_ipu_c1_hwmod = {
.flags = HWMOD_INIT_NO_RESET,
.rst_lines = omap44xx_ipu_c1_resets,
.rst_lines_cnt = ARRAY_SIZE(omap44xx_ipu_c1_resets),
+ .main_clk = "ipu_fck",
.prcm = {
.omap4 = {
.rstctrl_offs = OMAP4_RM_DUCATI_RSTCTRL_OFFSET,
@@ -3089,6 +3091,7 @@ static struct omap_hwmod omap44xx_ipu_c1_hwmod = {
static struct omap_hwmod omap44xx_ipu_hwmod = {
.name = "ipu",
.class = &omap44xx_ipu_hwmod_class,
+ .clkdm_name = "ducati_clkdm",
.flags = HWMOD_INIT_NO_RESET,
.mpu_irqs = omap44xx_ipu_irqs,
.rst_lines = omap44xx_ipu_resets,