aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorVasanth Ananthan <vasanthananthan@gmail.com>2012-11-20 07:00:01 -0500
committerKukjin Kim <kgene.kim@samsung.com>2012-11-20 07:00:01 -0500
commitb8edec0f4e5e1452c2a3ff8cd0de64967ab1b2ae (patch)
treeef1502b33fda8a20d10b4ad490d147aebda579c1 /arch/arm/mach-exynos
parent0f9e03591f9bbcf205a7fff5b5ae9e445b5c3dc3 (diff)
ARM: EXYNOS: Clock settings for SATA and SATA PHY
This patch adds neccessary clock entries for SATA, SATA PHY and I2C_SATAPHY Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/clock-exynos5.c21
1 files changed, 18 insertions, 3 deletions
diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock-exynos5.c
index 31f4509bf596..0d0c93f6595c 100644
--- a/arch/arm/mach-exynos/clock-exynos5.c
+++ b/arch/arm/mach-exynos/clock-exynos5.c
@@ -658,15 +658,20 @@ static struct clk exynos5_init_clocks_off[] = {
658 .ctrlbit = (1 << 15), 658 .ctrlbit = (1 << 15),
659 }, { 659 }, {
660 .name = "sata", 660 .name = "sata",
661 .devname = "ahci", 661 .devname = "exynos5-sata",
662 .parent = &exynos5_clk_aclk_200.clk,
662 .enable = exynos5_clk_ip_fsys_ctrl, 663 .enable = exynos5_clk_ip_fsys_ctrl,
663 .ctrlbit = (1 << 6), 664 .ctrlbit = (1 << 6),
664 }, { 665 }, {
665 .name = "sata_phy", 666 .name = "sata-phy",
667 .devname = "exynos5-sata-phy",
668 .parent = &exynos5_clk_aclk_200.clk,
666 .enable = exynos5_clk_ip_fsys_ctrl, 669 .enable = exynos5_clk_ip_fsys_ctrl,
667 .ctrlbit = (1 << 24), 670 .ctrlbit = (1 << 24),
668 }, { 671 }, {
669 .name = "sata_phy_i2c", 672 .name = "i2c",
673 .devname = "exynos5-sata-phy-i2c",
674 .parent = &exynos5_clk_aclk_200.clk,
670 .enable = exynos5_clk_ip_fsys_ctrl, 675 .enable = exynos5_clk_ip_fsys_ctrl,
671 .ctrlbit = (1 << 25), 676 .ctrlbit = (1 << 25),
672 }, { 677 }, {
@@ -1243,6 +1248,16 @@ static struct clksrc_clk exynos5_clksrcs[] = {
1243 .reg_div = { .reg = EXYNOS5_CLKDIV_TOP0, .shift = 24, .size = 3 }, 1248 .reg_div = { .reg = EXYNOS5_CLKDIV_TOP0, .shift = 24, .size = 3 },
1244 }, { 1249 }, {
1245 .clk = { 1250 .clk = {
1251 .name = "sclk_sata",
1252 .devname = "exynos5-sata",
1253 .enable = exynos5_clksrc_mask_fsys_ctrl,
1254 .ctrlbit = (1 << 24),
1255 },
1256 .sources = &exynos5_clkset_aclk,
1257 .reg_src = { .reg = EXYNOS5_CLKSRC_FSYS, .shift = 24, .size = 1 },
1258 .reg_div = { .reg = EXYNOS5_CLKDIV_FSYS0, .shift = 20, .size = 4 },
1259 }, {
1260 .clk = {
1246 .name = "sclk_gscl_wrap", 1261 .name = "sclk_gscl_wrap",
1247 .devname = "s5p-mipi-csis.0", 1262 .devname = "s5p-mipi-csis.0",
1248 .enable = exynos5_clksrc_mask_gscl_ctrl, 1263 .enable = exynos5_clksrc_mask_gscl_ctrl,