diff mbox

[4/6] ARM: OMAP3+: ABB: add aliases for clocks used in ABB driver

Message ID 1364490968-13613-4-git-send-email-andrii.tseglytskyi@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrii Tseglytskyi March 28, 2013, 5:16 p.m. UTC
From: "Andrii.Tseglytskyi" <andrii.tseglytskyi@ti.com>

This patch introduces aliases for SYS clock, MPU clock
and IVA clock. These aliases will be used in ABB driver,
which will be introduced in the following patches.

Cc: Mike Turquette <mturquette@linaro.org>
Cc: Tero Kristo <t-kristo@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: "BenoƮt Cousson" <b-cousson@ti.com>
Cc: linux-omap@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org

Signed-off-by: Andrii.Tseglytskyi <andrii.tseglytskyi@ti.com>
---
 arch/arm/mach-omap2/cclock3xxx_data.c |    2 ++
 arch/arm/mach-omap2/cclock44xx_data.c |    4 ++++
 arch/arm/mach-omap2/cclock54xx_data.c |    4 ++++
 3 files changed, 10 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/cclock3xxx_data.c b/arch/arm/mach-omap2/cclock3xxx_data.c
index 6ef8758..1d0f36d 100644
--- a/arch/arm/mach-omap2/cclock3xxx_data.c
+++ b/arch/arm/mach-omap2/cclock3xxx_data.c
@@ -3494,6 +3494,8 @@  static struct omap_clk omap3xxx_clks[] = {
 	CLK(NULL,	"timer_32k_ck",	&omap_32k_fck,  CK_3XXX),
 	CLK(NULL,	"timer_sys_ck",	&sys_ck,	CK_3XXX),
 	CLK(NULL,	"cpufreq_ck",	&dpll1_ck,	CK_3XXX),
+	CLK("483072f0.abb",	"abb_notify_ck",	&dpll1_ck,	CK_36XX),
+	CLK("483072f0.abb",	"abb_sys_ck",		&sys_ck,	CK_36XX),
 };
 
 static const char *enable_init_clks[] = {
diff --git a/arch/arm/mach-omap2/cclock44xx_data.c b/arch/arm/mach-omap2/cclock44xx_data.c
index a2cc046..3eb3a7f 100644
--- a/arch/arm/mach-omap2/cclock44xx_data.c
+++ b/arch/arm/mach-omap2/cclock44xx_data.c
@@ -1978,6 +1978,10 @@  static struct omap_clk omap44xx_clks[] = {
 	CLK("4013c000.timer",	"timer_sys_ck",	&syc_clk_div_ck,	CK_443X),
 	CLK("4013e000.timer",	"timer_sys_ck",	&syc_clk_div_ck,	CK_443X),
 	CLK(NULL,	"cpufreq_ck",	&dpll_mpu_ck,	CK_443X),
+	CLK("4a307bd0.abb",	"abb_notify_ck",	&dpll_mpu_ck,		CK_443X),
+	CLK("4a307bd8.abb",	"abb_notify_ck",	&dpll_iva_m5x2_ck,	CK_443X),
+	CLK("4a307bd0.abb",	"abb_sys_ck",	&sys_clkin_ck,		CK_443X),
+	CLK("4a307bd8.abb",	"abb_sys_ck",	&sys_clkin_ck,		CK_443X),
 };
 
 static const char *enable_init_clks[] = {
diff --git a/arch/arm/mach-omap2/cclock54xx_data.c b/arch/arm/mach-omap2/cclock54xx_data.c
index a9ebed6..b440c9b 100644
--- a/arch/arm/mach-omap2/cclock54xx_data.c
+++ b/arch/arm/mach-omap2/cclock54xx_data.c
@@ -1383,6 +1383,10 @@  static struct omap_clk omap54xx_clks[] = {
 	CLK("4013a000.timer",	"timer_sys_ck",		&dss_syc_gfclk_div, 	CK_54XX),
 	CLK("4013c000.timer",	"timer_sys_ck",		&dss_syc_gfclk_div, 	CK_54XX),
 	CLK("4013e000.timer",	"timer_sys_ck",		&dss_syc_gfclk_div, 	CK_54XX),
+	CLK("4ae07cdc.abb",	"abb_notify_ck",	&dpll_mpu_ck,		CK_54XX),
+	CLK("4ae07ce4.abb",	"abb_notify_ck",        &dpll_iva_h12x2_ck,	CK_54XX),
+	CLK("4ae07cdc.abb",	"abb_sys_ck",		&sys_clkin,		CK_54XX),
+	CLK("4ae07ce4.abb",	"abb_sys_ck",		&sys_clkin,		CK_54XX),
 };
 
 int __init omap5xxx_clk_init(void)