* [PATCH v7 0/3] Add support for tegra2 based ventana board
@ 2011-10-03 13:17 Peter De Schrijver
2011-10-03 13:17 ` [[PATCH v7] 1/3] arm/tegra: prepare Seaboard pinmux code for derived boards Peter De Schrijver
2011-10-03 13:19 ` [PATCH v7 0/3] Add support for tegra2 based ventana board Peter De Schrijver
0 siblings, 2 replies; 5+ messages in thread
From: Peter De Schrijver @ 2011-10-03 13:17 UTC (permalink / raw)
To: pdeschrijver
Cc: Russell King, Colin Cross, Erik Gilling, Olof Johansson,
linux-arm-kernel, linux-kernel, linux-tegra
This patch set adds support for the tegra2 based ventana development board.
Boot tested on ventana.
Uses a table based approach to select the correct init function.
Fix some compiler errors.
Peter De Schrijver (3):
arm/tegra: prepare Seaboard pinmux code for derived boards
arm/tegra: add support for ventana pinmuxing
arm/tegra: device tree support for ventana board
arch/arm/boot/dts/tegra-ventana.dts | 32 ++++++++++++++
arch/arm/mach-tegra/Kconfig | 6 +++
arch/arm/mach-tegra/Makefile | 1 +
arch/arm/mach-tegra/Makefile.boot | 1 +
arch/arm/mach-tegra/board-dt.c | 5 ++-
arch/arm/mach-tegra/board-seaboard-pinmux.c | 63 ++++++++++++++++++++++++---
6 files changed, 101 insertions(+), 7 deletions(-)
create mode 100644 arch/arm/boot/dts/tegra-ventana.dts
^ permalink raw reply [flat|nested] 5+ messages in thread
* [[PATCH v7] 1/3] arm/tegra: prepare Seaboard pinmux code for derived boards
2011-10-03 13:17 [PATCH v7 0/3] Add support for tegra2 based ventana board Peter De Schrijver
@ 2011-10-03 13:17 ` Peter De Schrijver
2011-10-03 13:19 ` [PATCH v7 0/3] Add support for tegra2 based ventana board Peter De Schrijver
1 sibling, 0 replies; 5+ messages in thread
From: Peter De Schrijver @ 2011-10-03 13:17 UTC (permalink / raw)
To: pdeschrijver
Cc: Russell King, Colin Cross, Erik Gilling, Olof Johansson,
linux-arm-kernel, linux-kernel, linux-tegra
This patch splits out the common part of pinmux and GPIO initialization for
seaboard and derived boards. This code is based on work done by Jong Kim
<jongk@nvidia.com>.
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
---
arch/arm/mach-tegra/board-seaboard-pinmux.c | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-tegra/board-seaboard-pinmux.c b/arch/arm/mach-tegra/board-seaboard-pinmux.c
index 74f78b7..b31c765 100644
--- a/arch/arm/mach-tegra/board-seaboard-pinmux.c
+++ b/arch/arm/mach-tegra/board-seaboard-pinmux.c
@@ -1,5 +1,6 @@
/*
- * Copyright (C) 2010 NVIDIA Corporation
+ * Copyright (C) 2010,2011 NVIDIA Corporation
+ * Copyright (C) 2011 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -160,7 +161,7 @@ static __initdata struct tegra_pingroup_config seaboard_pinmux[] = {
-static struct tegra_gpio_table gpio_table[] = {
+static struct tegra_gpio_table common_gpio_table[] = {
{ .gpio = TEGRA_GPIO_SD2_CD, .enable = true },
{ .gpio = TEGRA_GPIO_SD2_WP, .enable = true },
{ .gpio = TEGRA_GPIO_SD2_POWER, .enable = true },
@@ -171,12 +172,17 @@ static struct tegra_gpio_table gpio_table[] = {
{ .gpio = TEGRA_GPIO_USB1, .enable = true },
};
-void __init seaboard_pinmux_init(void)
+static void __init seaboard_common_pinmux_init(void)
{
tegra_pinmux_config_table(seaboard_pinmux, ARRAY_SIZE(seaboard_pinmux));
tegra_drive_pinmux_config_table(seaboard_drive_pinmux,
ARRAY_SIZE(seaboard_drive_pinmux));
- tegra_gpio_config(gpio_table, ARRAY_SIZE(gpio_table));
+ tegra_gpio_config(common_gpio_table, ARRAY_SIZE(common_gpio_table));
+}
+
+void __init seaboard_pinmux_init(void)
+{
+ seaboard_common_pinmux_init();
}
--
1.7.7.rc0.72.g4b5ea.dirty
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v7 0/3] Add support for tegra2 based ventana board
2011-10-03 13:17 [PATCH v7 0/3] Add support for tegra2 based ventana board Peter De Schrijver
2011-10-03 13:17 ` [[PATCH v7] 1/3] arm/tegra: prepare Seaboard pinmux code for derived boards Peter De Schrijver
@ 2011-10-03 13:19 ` Peter De Schrijver
1 sibling, 0 replies; 5+ messages in thread
From: Peter De Schrijver @ 2011-10-03 13:19 UTC (permalink / raw)
To: Russell King, Colin Cross, Erik Gilling, Olof Johansson,
linux-arm-kernel, linux-kernel, linux-tegra
And this one too. will resent with proper subject.
Peter.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v7 0/3] Add support for tegra2 based ventana board
@ 2011-10-03 13:18 Peter De Schrijver
2011-10-07 18:00 ` Stephen Warren
0 siblings, 1 reply; 5+ messages in thread
From: Peter De Schrijver @ 2011-10-03 13:18 UTC (permalink / raw)
To: pdeschrijver
Cc: Russell King, Colin Cross, Erik Gilling, Olof Johansson,
linux-arm-kernel, linux-kernel, linux-tegra
This patch set adds support for the tegra2 based ventana development board.
Boot tested on ventana.
Uses a table based approach to select the correct init function.
Fix some compiler errors.
Peter De Schrijver (3):
arm/tegra: prepare Seaboard pinmux code for derived boards
arm/tegra: add support for ventana pinmuxing
arm/tegra: device tree support for ventana board
arch/arm/boot/dts/tegra-ventana.dts | 32 ++++++++++++++
arch/arm/mach-tegra/Kconfig | 6 +++
arch/arm/mach-tegra/Makefile | 1 +
arch/arm/mach-tegra/Makefile.boot | 1 +
arch/arm/mach-tegra/board-dt.c | 5 ++-
arch/arm/mach-tegra/board-seaboard-pinmux.c | 63 ++++++++++++++++++++++++---
6 files changed, 101 insertions(+), 7 deletions(-)
create mode 100644 arch/arm/boot/dts/tegra-ventana.dts
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH v7 0/3] Add support for tegra2 based ventana board
2011-10-03 13:18 Peter De Schrijver
@ 2011-10-07 18:00 ` Stephen Warren
0 siblings, 0 replies; 5+ messages in thread
From: Stephen Warren @ 2011-10-07 18:00 UTC (permalink / raw)
To: Peter De Schrijver, Peter De Schrijver
Cc: Russell King, Erik Gilling, linux-kernel, linux-tegra,
Colin Cross, Olof Johansson, linux-arm-kernel
Peter De Schrijver wrote at Monday, October 03, 2011 7:19 AM:
> This patch set adds support for the tegra2 based ventana development board.
>
> Boot tested on ventana.
With minor changes to the command-line in tegra-ventana.dts, to put the
root fs on an SD card, and using mainline U-Boot with the Ventana patch
series I wrote,
Tested-by: Stephen Warren <swarren@nvidia.com>
I have a couple of queries in patch 3 that I'll post separately.
--
nvpublic
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-07 18:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-03 13:17 [PATCH v7 0/3] Add support for tegra2 based ventana board Peter De Schrijver
2011-10-03 13:17 ` [[PATCH v7] 1/3] arm/tegra: prepare Seaboard pinmux code for derived boards Peter De Schrijver
2011-10-03 13:19 ` [PATCH v7 0/3] Add support for tegra2 based ventana board Peter De Schrijver
2011-10-03 13:18 Peter De Schrijver
2011-10-07 18:00 ` Stephen Warren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®