From a438c756b65278b9b8970971c1838d4143913b22 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 31 Jul 2012 07:22:47 -0700 Subject: [PATCH] am33xx: Enable gpio0 clock Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/clock.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/am33xx/clock.c b/arch/arm/cpu/armv7/am33xx/clock.c index e3c4fd89f3..45b4a9fe38 100644 --- a/arch/arm/cpu/armv7/am33xx/clock.c +++ b/arch/arm/cpu/armv7/am33xx/clock.c @@ -71,6 +71,10 @@ static void enable_interface_clocks(void) writel(PRCM_MOD_EN, &cmper->l4hsclkctrl); while (readl(&cmper->l4hsclkctrl) != PRCM_MOD_EN) ; + + writel(PRCM_MOD_EN, &cmwkup->wkgpio0clkctrl); + while (readl(&cmwkup->wkgpio0clkctrl) != PRCM_MOD_EN) + ; } /* -- 2.39.5