From: swarren@nvidia.com (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] ARM: tegra: Move pinmux init call
Date: Sat, 19 Feb 2011 20:38:57 -0700 [thread overview]
Message-ID: <1298173137-9242-5-git-send-email-swarren@nvidia.com> (raw)
In-Reply-To: <1298173137-9242-1-git-send-email-swarren@nvidia.com>
In order for the clock initialization to pick up the results of the
pinmux initialization (which will initialize various parameters of
clocks cdev1, cdev2), the pinmux initialization must happen first.
Move the pinmux init to achieve this.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
arch/arm/mach-tegra/board-harmony.c | 4 ++--
arch/arm/mach-tegra/board-trimslice.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-tegra/board-harmony.c b/arch/arm/mach-tegra/board-harmony.c
index b9dbdb1..eea5ad6 100644
--- a/arch/arm/mach-tegra/board-harmony.c
+++ b/arch/arm/mach-tegra/board-harmony.c
@@ -104,12 +104,12 @@ static __initdata struct tegra_clk_init_table harmony_clk_init_table[] = {
static void __init tegra_harmony_init(void)
{
+ harmony_pinmux_init();
+
tegra_common_init();
tegra_clk_init_from_table(harmony_clk_init_table);
- harmony_pinmux_init();
-
platform_add_devices(harmony_devices, ARRAY_SIZE(harmony_devices));
}
diff --git a/arch/arm/mach-tegra/board-trimslice.c b/arch/arm/mach-tegra/board-trimslice.c
index ef233b2..aef6abb 100644
--- a/arch/arm/mach-tegra/board-trimslice.c
+++ b/arch/arm/mach-tegra/board-trimslice.c
@@ -85,12 +85,12 @@ subsys_initcall(tegra_trimslice_pci_init);
static void __init tegra_trimslice_init(void)
{
+ trimslice_pinmux_init();
+
tegra_common_init();
tegra_clk_init_from_table(trimslice_clk_init_table);
- trimslice_pinmux_init();
-
platform_add_devices(trimslice_devices, ARRAY_SIZE(trimslice_devices));
}
--
1.7.1
next prev parent reply other threads:[~2011-02-20 3:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-20 3:38 [PATCH 0/4] Misc Tegra patches Stephen Warren
2011-02-20 3:38 ` [PATCH 1/4] ARM: tegra: Fix typo in TEGRA_IRQ_TO_GPIO Stephen Warren
2011-02-22 19:58 ` Colin Cross
2011-02-20 3:38 ` [PATCH 2/4] ARM: tegra: Prevent requeuing in-progress DMA requests Stephen Warren
2011-02-21 4:09 ` Colin Cross
2011-02-20 3:38 ` [PATCH 3/4] ARM: tegra: pinmux: Expose set_func, add get_* Stephen Warren
2011-02-20 3:38 ` Stephen Warren [this message]
2011-02-22 3:21 ` [PATCH 4/4] ARM: tegra: Move pinmux init call Colin Cross
2011-02-22 17:27 ` Stephen Warren
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=1298173137-9242-5-git-send-email-swarren@nvidia.com \
--to=swarren@nvidia.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).