Received: from eggs.gnu.org ([140.186.70.92]:44474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfEM1-0007np-Sv for qemu-devel@nongnu.org; Fri, 08 Jul 2011 12:56:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfELy-0003eY-Iy for qemu-devel@nongnu.org; Fri, 08 Jul 2011 12:56:37 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:60038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfELy-0003Tm-1v for qemu-devel@nongnu.org; Fri, 08 Jul 2011 12:56:34 -0400 From: Peter Maydell Date: Fri, 8 Jul 2011 17:56:20 +0100 Message-Id: <1310144181-22901-4-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1310144181-22901-1-git-send-email-peter.maydell@linaro.org> References: <1310144181-22901-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 3/4] hw/omap_clk: Add the clock for the OMAP2430-specific fifth GPIO module List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Riku Voipio , =?UTF-8?q?Juha=20Riihim=C3=A4ki?= , patches@linaro.org The OMAP2430 has a fifth GPIO module which earlier OMAP2 models lack; add the clock definition for it. Signed-off-by: Peter Maydell --- hw/omap_clk.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/hw/omap_clk.c b/hw/omap_clk.c index 6bcabef..577b326 100644 --- a/hw/omap_clk.c +++ b/hw/omap_clk.c @@ -836,7 +836,7 @@ static struct clk i2c2_iclk = { .parent = &core_l4_iclk, }; -static struct clk gpio_dbclk[4] = { +static struct clk gpio_dbclk[5] = { { .name = "gpio1_dbclk", .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X, @@ -853,6 +853,10 @@ static struct clk gpio_dbclk[4] = { .name = "gpio4_dbclk", .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X, .parent = &wu_32k_clk, + }, { + .name = "gpio5_dbclk", + .flags = CLOCK_IN_OMAP243X, + .parent = &wu_32k_clk, }, }; -- 1.7.1