]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: S3C2443: Add hsspi-clock from pclk and rename S3C2443 hsspi sclk
authorHeiko Stuebner <heiko@sntech.de>
Mon, 26 Sep 2011 23:45:23 +0000 (08:45 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 26 Sep 2011 23:46:42 +0000 (08:46 +0900)
This clock is common to S3C2443/2416/2450.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c2443/clock.c
arch/arm/plat-s3c24xx/s3c2443-clock.c

index 27549c4fc7b94a6d3eb020ff6fa5dcc902aac85b..cd51d04e1de7f429a3fce43ff1db4e801a5ed480 100644 (file)
@@ -169,7 +169,7 @@ static struct clksrc_clk clk_arm = {
 
 static struct clksrc_clk clk_hsspi = {
        .clk    = {
-               .name           = "hsspi",
+               .name           = "hsspi-if",
                .parent         = &clk_esysclk.clk,
                .ctrlbit        = S3C2443_SCLKCON_HSSPICLK,
                .enable         = s3c2443_clkcon_enable_s,
index f630adfaf5b2634138234b2014171f30aae47818..07a4c81587acbc9788e959e507e04d6c319b51f4 100644 (file)
@@ -257,6 +257,11 @@ static struct clk init_clocks_off[] = {
                .parent         = &clk_p,
                .enable         = s3c2443_clkcon_enable_p,
                .ctrlbit        = S3C2443_PCLKCON_IIS,
+       }, {
+               .name           = "hsspi",
+               .parent         = &clk_p,
+               .enable         = s3c2443_clkcon_enable_p,
+               .ctrlbit        = S3C2443_PCLKCON_HSSPI,
        }, {
                .name           = "adc",
                .parent         = &clk_p,