Skip to contentSkip to conversation

ARM: tegra: Add Toshiba AC100 support

PATCH New Marc Dietrich 2 participants 4 messages Mar 7, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v2 cover ARM: tegra: Add Toshiba AC100 support

These patches add initial support for the Toshiba AC100 / Dynabook AZ netbook. The code will not be able to boot the machine as the proprietary bootloader uses a different machine type (V1 bl: tegra_generic, V2 bl: harmony). Support for u-boot is being worked on.

The patches are intended for 2.6.40. Depending on the review (and community progress), I hope to be able to submit more hardware support patches.

Marc Dietrich (2):
Add initial support for the Toshiba AC100/Dynabook AZ netbook Add PAZ00 to tegra_defconfig

 arch/arm/configs/tegra_defconfig         |    1 +
 arch/arm/mach-tegra/Kconfig              |    5 +
 arch/arm/mach-tegra/Makefile             |    3 +
 arch/arm/mach-tegra/board-paz00-pinmux.c |  157 ++++++++++++++++++++++++++++++
 arch/arm/mach-tegra/board-paz00.c        |  128 ++++++++++++++++++++++++
 arch/arm/mach-tegra/board-paz00.h        |   29 ++++++
 6 files changed, 323 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-tegra/board-paz00-pinmux.c
 create mode 100644 arch/arm/mach-tegra/board-paz00.c
 create mode 100644 arch/arm/mach-tegra/board-paz00.h
#1 lore raw

PATCH v2 1/2 Add initial support for the Toshiba AC100/Dynabook AZ netbook

This patch adds the config infrastructure, the pinmux and basic board setup code for PAZ00 (name of board inside the AC100/AZ).

---
 arch/arm/mach-tegra/Kconfig              |    5 +
 arch/arm/mach-tegra/Makefile             |    3 +
 arch/arm/mach-tegra/board-paz00-pinmux.c |  157 ++++++++++++++++++++++++++++++
 arch/arm/mach-tegra/board-paz00.c        |  128 ++++++++++++++++++++++++
 arch/arm/mach-tegra/board-paz00.h        |   29 ++++++
 5 files changed, 322 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-tegra/board-paz00-pinmux.c
 create mode 100644 arch/arm/mach-tegra/board-paz00.c
 create mode 100644 arch/arm/mach-tegra/board-paz00.h
arch/arm/mach-tegra/Kconfig +5 -0
index b94e52d..8df6499 100644
@@ -33,6 +33,11 @@ config MACH_KAEN
        help
          Support for the Kaen version of Seaboard
 
+config MACH_PAZ00
+       bool "Paz00 board"
+       help
+         Support for the Toshiba AC100/Dynabook AZ netbook
+
 config MACH_SEABOARD
        bool "Seaboard board"
        help
arch/arm/mach-tegra/Makefile +3 -0
index 9bf39fa..673651f 100644
@@ -22,6 +22,9 @@ obj-${CONFIG_MACH_HARMONY}              += board-harmony.o
 obj-${CONFIG_MACH_HARMONY}              += board-harmony-pinmux.o
 obj-${CONFIG_MACH_HARMONY}              += board-harmony-pcie.o
 
+obj-${CONFIG_MACH_PAZ00}		+= board-paz00.o
+obj-${CONFIG_MACH_PAZ00}		+= board-paz00-pinmux.o
+
 obj-${CONFIG_MACH_SEABOARD}             += board-seaboard.o
 obj-${CONFIG_MACH_SEABOARD}             += board-seaboard-pinmux.o
 
arch/arm/mach-tegra/board-paz00-pinmux.c new file +157 -0

157 lines not on this page · raw message

arch/arm/mach-tegra/board-paz00.c new file +128 -0

128 lines not on this page · raw message

arch/arm/mach-tegra/board-paz00.h new file +29 -0
new file mode 100644
index 0000000..da193ca
@@ -0,0 +1,29 @@
+/*
+ * arch/arm/mach-tegra/board-paz00.h
+ *
+ * Copyright (C) 2010 Marc Dietrich <[email protected]>
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#ifndef _MACH_TEGRA_BOARD_PAZ00_H
+#define _MACH_TEGRA_BOARD_PAZ00_H
+
+#define TEGRA_GPIO_SD1_CD               TEGRA_GPIO_PV5
+#define TEGRA_GPIO_SD1_WP               TEGRA_GPIO_PH1
+#define TEGRA_GPIO_SD1_POWER            TEGRA_GPIO_PT3
+#define TEGRA_GPIO_SD4_CD               TEGRA_GPIO_PH2
+#define TEGRA_GPIO_SD4_WP               TEGRA_GPIO_PH3
+#define TEGRA_GPIO_SD4_POWER            TEGRA_GPIO_PI6
+
+void paz00_pinmux_init(void);
+
+#endif
Signature · 1 line
1.7.1
#3 lore raw

PATCH v2 2/2 Add PAZ00 to tegra_defconfig

In reply to Marc Dietrich

Subject says it all, this one adds PAZ00 to tegra_defconfig.

---
 arch/arm/configs/tegra_defconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/configs/tegra_defconfig +1 -0
index 7a9267e..3fcf6f5 100644
@@ -21,6 +21,7 @@ CONFIG_MODULE_FORCE_UNLOAD=y
 # CONFIG_IOSCHED_CFQ is not set
 CONFIG_ARCH_TEGRA=y
 CONFIG_MACH_HARMONY=y
+CONFIG_MACH_PAZ00=y
 CONFIG_TEGRA_DEBUG_UARTD=y
 CONFIG_ARM_ERRATA_742230=y
 CONFIG_NO_HZ=y
Signature · 1 line
1.7.1
#2 lore raw

PATCH v2 1/2 Add initial support for the Toshiba AC100/Dynabook AZ netbook

In reply to Marc Dietrich
Quoted 4 lines · Marc Dietrich

This patch adds the config infrastructure, the pinmux and basic board setup code for PAZ00 (name of board inside the AC100/AZ).

Thanks, looks good. Picked up in boards-for-next for .39, I don't see a reason to not merge it earlier than .40.

I sqashed the config change in with my defconfig update.

-Olof