aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/samsung/clk-exynos7.c
diff options
context:
space:
mode:
authorNaveen Krishna Ch <naveenkrishna.ch@gmail.com>2014-10-21 01:43:51 -0400
committerSylwester Nawrocki <s.nawrocki@samsung.com>2014-10-31 05:45:51 -0400
commit57a2b485fa512be47b479077b5f89e1bfe536709 (patch)
tree3be9142227263189fcf6c53304e5f4491b3f7c0e /drivers/clk/samsung/clk-exynos7.c
parent532abc3a4a4502e13315d246c545d7567c80b03e (diff)
clk: samsung: exynos7: add clocks for I2C block
Exynos7 supports 12 I2C channels, add the I2C gate clocks to support them. Signed-off-by: Naveen Krishna Ch <naveenkrishna.ch@gmail.com> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/clk/samsung/clk-exynos7.c')
-rw-r--r--drivers/clk/samsung/clk-exynos7.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/clk/samsung/clk-exynos7.c b/drivers/clk/samsung/clk-exynos7.c
index 54206d4d408a..c700f654289e 100644
--- a/drivers/clk/samsung/clk-exynos7.c
+++ b/drivers/clk/samsung/clk-exynos7.c
@@ -290,6 +290,20 @@ static struct samsung_mux_clock peric0_mux_clks[] __initdata = {
290}; 290};
291 291
292static struct samsung_gate_clock peric0_gate_clks[] __initdata = { 292static struct samsung_gate_clock peric0_gate_clks[] __initdata = {
293 GATE(PCLK_HSI2C0, "pclk_hsi2c0", "mout_aclk_peric0_66_user",
294 ENABLE_PCLK_PERIC0, 8, 0, 0),
295 GATE(PCLK_HSI2C1, "pclk_hsi2c1", "mout_aclk_peric0_66_user",
296 ENABLE_PCLK_PERIC0, 9, 0, 0),
297 GATE(PCLK_HSI2C4, "pclk_hsi2c4", "mout_aclk_peric0_66_user",
298 ENABLE_PCLK_PERIC0, 10, 0, 0),
299 GATE(PCLK_HSI2C5, "pclk_hsi2c5", "mout_aclk_peric0_66_user",
300 ENABLE_PCLK_PERIC0, 11, 0, 0),
301 GATE(PCLK_HSI2C9, "pclk_hsi2c9", "mout_aclk_peric0_66_user",
302 ENABLE_PCLK_PERIC0, 12, 0, 0),
303 GATE(PCLK_HSI2C10, "pclk_hsi2c10", "mout_aclk_peric0_66_user",
304 ENABLE_PCLK_PERIC0, 13, 0, 0),
305 GATE(PCLK_HSI2C11, "pclk_hsi2c11", "mout_aclk_peric0_66_user",
306 ENABLE_PCLK_PERIC0, 14, 0, 0),
293 GATE(PCLK_UART0, "pclk_uart0", "mout_aclk_peric0_66_user", 307 GATE(PCLK_UART0, "pclk_uart0", "mout_aclk_peric0_66_user",
294 ENABLE_PCLK_PERIC0, 16, 0, 0), 308 ENABLE_PCLK_PERIC0, 16, 0, 0),
295 309
@@ -347,6 +361,16 @@ static struct samsung_mux_clock peric1_mux_clks[] __initdata = {
347}; 361};
348 362
349static struct samsung_gate_clock peric1_gate_clks[] __initdata = { 363static struct samsung_gate_clock peric1_gate_clks[] __initdata = {
364 GATE(PCLK_HSI2C2, "pclk_hsi2c2", "mout_aclk_peric1_66_user",
365 ENABLE_PCLK_PERIC1, 4, 0, 0),
366 GATE(PCLK_HSI2C3, "pclk_hsi2c3", "mout_aclk_peric1_66_user",
367 ENABLE_PCLK_PERIC1, 5, 0, 0),
368 GATE(PCLK_HSI2C6, "pclk_hsi2c6", "mout_aclk_peric1_66_user",
369 ENABLE_PCLK_PERIC1, 6, 0, 0),
370 GATE(PCLK_HSI2C7, "pclk_hsi2c7", "mout_aclk_peric1_66_user",
371 ENABLE_PCLK_PERIC1, 7, 0, 0),
372 GATE(PCLK_HSI2C8, "pclk_hsi2c8", "mout_aclk_peric1_66_user",
373 ENABLE_PCLK_PERIC1, 8, 0, 0),
350 GATE(PCLK_UART1, "pclk_uart1", "mout_aclk_peric1_66_user", 374 GATE(PCLK_UART1, "pclk_uart1", "mout_aclk_peric1_66_user",
351 ENABLE_PCLK_PERIC1, 9, 0, 0), 375 ENABLE_PCLK_PERIC1, 9, 0, 0),
352 GATE(PCLK_UART2, "pclk_uart2", "mout_aclk_peric1_66_user", 376 GATE(PCLK_UART2, "pclk_uart2", "mout_aclk_peric1_66_user",