From: "Andrii.Tseglytskyi" <andrii.tseglyts...@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 <mturque...@linaro.org>
Cc: Tero Kristo <t-kri...@ti.com>
Cc: Nishanth Menon <n...@ti.com>
Cc: "BenoƮt Cousson" <b-cous...@ti.com>
Cc: linux-omap@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org

Signed-off-by: Andrii.Tseglytskyi <andrii.tseglyts...@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 --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)
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to