#include <asm/io.h>
#include "mali_clock.h"
-unsigned int mali_default_clock_step = MALI_CLOCK_318;
+unsigned int mali_default_clock_step = MALI_CLOCK_637;// MALI_CLOCK_318;
static DEFINE_SPINLOCK(lock);
clrbits_le32(P_HHI_MALI_CLK_CNTL, (0x7F | (0x7 << 9)));
writel(clock, P_HHI_MALI_CLK_CNTL | (1 << 8)); /* set clock to 333MHZ.*/
setbits_le32(P_HHI_MALI_CLK_CNTL, 1 << 8);
- writel(0x0001c007, P_HHI_MPLL_CNTL4);
}
void disable_clock(void)
setbits_le32(P_HHI_MALI_CLK_CNTL, 1 << 8);
spin_unlock_irqrestore(&lock, flags);
}
+
+u32 mali_clock_test(void)
+{
+
+
+}