From patchwork Thu Mar 28 17:16:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrii Tseglytskyi X-Patchwork-Id: 2358911 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 017F3DF2A1 for ; Thu, 28 Mar 2013 17:16:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756866Ab3C1RQk (ORCPT ); Thu, 28 Mar 2013 13:16:40 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:42104 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756607Ab3C1RQj (ORCPT ); Thu, 28 Mar 2013 13:16:39 -0400 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r2SHGZpu032444; Thu, 28 Mar 2013 12:16:35 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2SHGZj2008862; Thu, 28 Mar 2013 12:16:35 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Thu, 28 Mar 2013 12:16:34 -0500 Received: from localhost (uglx0174653.ucm2.emeaucm.ext.ti.com [10.167.145.64]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2SHGY9i018846; Thu, 28 Mar 2013 12:16:34 -0500 From: Andrii Tseglytskyi To: CC: Nishanth Menon , Tero Kristo , "Andrii.Tseglytskyi" , Mike Turquette , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , , Subject: [PATCH 4/6] ARM: OMAP3+: ABB: add aliases for clocks used in ABB driver Date: Thu, 28 Mar 2013 19:16:06 +0200 Message-ID: <1364490968-13613-4-git-send-email-andrii.tseglytskyi@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364490968-13613-1-git-send-email-andrii.tseglytskyi@ti.com> References: <1364490968-13613-1-git-send-email-andrii.tseglytskyi@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: "Andrii.Tseglytskyi" 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 Cc: Tero Kristo Cc: Nishanth Menon Cc: "BenoƮt Cousson" Cc: linux-omap@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Andrii.Tseglytskyi --- 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)