]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
clk: ux500: Register nomadik keypad clock lookups for u8500
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 31 Oct 2012 13:40:53 +0000 (14:40 +0100)
committerMike Turquette <mturquette@linaro.org>
Sat, 10 Nov 2012 01:45:17 +0000 (17:45 -0800)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/ux500/u8500_clk.c

index 24390f78a925814cd1322a7018580359b42541d2..436353a5a209e08715c3aaab3bc0cd0ea9b0fd0c 100644 (file)
@@ -344,6 +344,8 @@ void u8500_clk_init(void)
 
        clk = clk_reg_prcc_pclk("p3_pclk5", "per3clk", U8500_CLKRST3_BASE,
                                BIT(5), 0);
+       clk_register_clkdev(clk, "apb_pclk", "ske");
+       clk_register_clkdev(clk, "apb_pclk", "nmk-ske-keypad");
 
        clk = clk_reg_prcc_pclk("p3_pclk6", "per3clk", U8500_CLKRST3_BASE,
                                BIT(6), 0);
@@ -504,6 +506,8 @@ void u8500_clk_init(void)
 
        clk = clk_reg_prcc_kclk("p3_ske_kclk", "rtc32k",
                        U8500_CLKRST3_BASE, BIT(5), CLK_SET_RATE_GATE);
+       clk_register_clkdev(clk, NULL, "ske");
+       clk_register_clkdev(clk, NULL, "nmk-ske-keypad");
 
        clk = clk_reg_prcc_kclk("p3_uart2_kclk", "uartclk",
                        U8500_CLKRST3_BASE, BIT(6), CLK_SET_RATE_GATE);