Commit de34db32 authored by Kevin Hilman's avatar Kevin Hilman Committed by Tony Lindgren

ARM: OMAP3: update clk_wait_ready() for OMAP3 DSS clocks

Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent bcc9b7b9
......@@ -43,6 +43,7 @@
#include "prm_regbits_24xx.h"
#include "cm.h"
#include "cm_regbits_24xx.h"
#include "cm_regbits_34xx.h"
#define MAX_CLOCK_ENABLE_WAIT 100000
......@@ -220,6 +221,12 @@ static void omap2_clk_wait_ready(struct clk *clk)
return;
}
/* REVISIT: What are the appropriate exclusions for 34XX? */
/* OMAP3: ignore DSS-mod clocks */
if (cpu_is_omap34xx() &&
(((u32)reg & ~0xff) == (u32)OMAP_CM_REGADDR(OMAP3430_DSS_MOD, 0)))
return;
/* Check if both functional and interface clocks
* are running. */
bit = 1 << clk->enable_bit;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment