From: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
To: linux-patch-review@list.ti.com
Cc: "Nishanth Menon" <nm@ti.com>, "Tero Kristo" <t-kristo@ti.com>,
"Andrii.Tseglytskyi" <andrii.tseglytskyi@ti.com>,
"Mike Turquette" <mturquette@linaro.org>,
"Benoît Cousson" <b-cousson@ti.com>,
linux-omap@vger.kernel.org, devicetree-discuss@lists.ozlabs.org
Subject: [PATCH 4/6] ARM: OMAP3+: ABB: add aliases for clocks used in ABB driver
Date: Thu, 28 Mar 2013 19:16:06 +0200 [thread overview]
Message-ID: <1364490968-13613-4-git-send-email-andrii.tseglytskyi@ti.com> (raw)
In-Reply-To: <1364490968-13613-1-git-send-email-andrii.tseglytskyi@ti.com>
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 --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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2013-03-28 17:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 17:16 [PATCH 1/6] ARM: dts: OMAP36xx: add device tree for ABB Andrii Tseglytskyi
2013-03-28 17:16 ` [PATCH 2/6] ARM: dts: OMAP4: " Andrii Tseglytskyi
2013-03-28 17:16 ` [PATCH 3/6] ARM: dts: OMAP5: " Andrii Tseglytskyi
2013-03-28 17:16 ` Andrii Tseglytskyi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364490968-13613-4-git-send-email-andrii.tseglytskyi@ti.com \
--to=andrii.tseglytskyi@ti.com \
--cc=b-cousson@ti.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-patch-review@list.ti.com \
--cc=mturquette@linaro.org \
--cc=nm@ti.com \
--cc=t-kristo@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).