* Tarun Kanti DebBarma <tarun.kanti@xxxxxx> [110913 05:29]: > Unless the dbclk aliases are assigned, clk_get(bank->dev, "dbclk") > would not fetch the associated clock handle. As a result, we would > not be able to turn on/off the debounce clock. This was preventing > the gpio modules going to low power mode whenever dbclk is enabled. > > Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@xxxxxx> Looks OK to me, Paul should ack this one also: Acked-by: Tony Lindgren <tony@xxxxxxxxxxx> > --- > arch/arm/mach-omap2/clock3xxx_data.c | 6 ++++++ > arch/arm/mach-omap2/clock44xx_data.c | 6 ++++++ > 2 files changed, 12 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c > index ffd55b1..7238ec1 100644 > --- a/arch/arm/mach-omap2/clock3xxx_data.c > +++ b/arch/arm/mach-omap2/clock3xxx_data.c > @@ -3462,6 +3462,12 @@ static struct omap_clk omap3xxx_clks[] = { > CLK("musb-am35x", "fck", &hsotgusb_fck_am35xx, CK_AM35XX), > CLK(NULL, "hecc_ck", &hecc_ck, CK_AM35XX), > CLK(NULL, "uart4_ick", &uart4_ick_am35xx, CK_AM35XX), > + CLK("omap_gpio.1", "dbclk", &gpio1_dbck, CK_3XXX), > + CLK("omap_gpio.2", "dbclk", &gpio2_dbck, CK_3XXX), > + CLK("omap_gpio.3", "dbclk", &gpio3_dbck, CK_3XXX), > + CLK("omap_gpio.4", "dbclk", &gpio4_dbck, CK_3XXX), > + CLK("omap_gpio.5", "dbclk", &gpio5_dbck, CK_3XXX), > + CLK("omap_gpio.6", "dbclk", &gpio6_dbck, CK_3XXX), > }; > > > diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c > index 2af0e3f..4986069 100644 > --- a/arch/arm/mach-omap2/clock44xx_data.c > +++ b/arch/arm/mach-omap2/clock44xx_data.c > @@ -3363,6 +3363,12 @@ static struct omap_clk omap44xx_clks[] = { > CLK("usbhs-omap.0", "usbhost_ick", &dummy_ck, CK_443X), > CLK("usbhs-omap.0", "usbtll_fck", &dummy_ck, CK_443X), > CLK("omap_wdt", "ick", &dummy_ck, CK_443X), > + CLK("omap_gpio.1", "dbclk", &gpio1_dbclk, CK_443X), > + CLK("omap_gpio.2", "dbclk", &gpio2_dbclk, CK_443X), > + CLK("omap_gpio.3", "dbclk", &gpio3_dbclk, CK_443X), > + CLK("omap_gpio.4", "dbclk", &gpio4_dbclk, CK_443X), > + CLK("omap_gpio.5", "dbclk", &gpio5_dbclk, CK_443X), > + CLK("omap_gpio.6", "dbclk", &gpio6_dbclk, CK_443X), > }; > > int __init omap4xxx_clk_init(void) > -- > 1.7.0.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html