From: Ben Gardiner <bengardiner@nanometrics.ca> To: Sekhar Nori <nsekhar@ti.com>, davinci-linux-open-source@linux.davincidsp.com Cc: James Nuss <jamesnuss@nanometrics.ca>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] ARM: davinci: da850, omapl138: introduce new board-omapl138-heliosv1 Date: Thu, 18 Aug 2011 17:50:51 -0400 [thread overview] Message-ID: <f31e949dcaac301b40a0f6c0b611e84f57636ef0.1313702401.git.bengardiner@nanometrics.ca> (raw) In-Reply-To: <cover.1313702401.git.bengardiner@nanometrics.ca> In-Reply-To: <cover.1313702401.git.bengardiner@nanometrics.ca> Add support for the Nanometrics Helios Platform V1 Hardware. Initially support includes only serial console and watchdog support. Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Reviewed-by: James Nuss <jamesnuss@nanometrics.ca> --- arch/arm/mach-davinci/Kconfig | 9 ++++ arch/arm/mach-davinci/Makefile | 1 + arch/arm/mach-davinci/board-omapl138-heliosv1.c | 51 +++++++++++++++++++++++ 3 files changed, 61 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-davinci/board-omapl138-heliosv1.c diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index c0deaca..21a8ce9 100644 --- a/arch/arm/mach-davinci/Kconfig +++ b/arch/arm/mach-davinci/Kconfig @@ -224,6 +224,15 @@ config MACH_OMAPL138_HAWKBOARD Information of this board may be found at http://www.hawkboard.org/ +config MACH_HELIOS_V1 + bool "Nanometrics OMAPL-138 Helios V1 platform" + depends on ARCH_DAVINCI_DA850 + help + Say Y here to select the Nanometrics OMAPL-138 Helios V1 platform. + This is a development system based on the DA850 EVM baseboard. + It is the first Helios hardware platform upon which other platforms in the + Helios product family are based. + config DAVINCI_MUX bool "DAVINCI multiplexing support" depends on ARCH_DAVINCI diff --git a/arch/arm/mach-davinci/Makefile b/arch/arm/mach-davinci/Makefile index 9a01441..96d74c9 100644 --- a/arch/arm/mach-davinci/Makefile +++ b/arch/arm/mach-davinci/Makefile @@ -36,6 +36,7 @@ obj-$(CONFIG_MACH_DAVINCI_DA850_EVM) += board-da850-evm.o obj-$(CONFIG_MACH_TNETV107X) += board-tnetv107x-evm.o obj-$(CONFIG_MACH_MITYOMAPL138) += board-mityomapl138.o obj-$(CONFIG_MACH_OMAPL138_HAWKBOARD) += board-omapl138-hawk.o +obj-$(CONFIG_MACH_HELIOS_V1) += board-omapl138-heliosv1.o # Power Management obj-$(CONFIG_CPU_FREQ) += cpufreq.o diff --git a/arch/arm/mach-davinci/board-omapl138-heliosv1.c b/arch/arm/mach-davinci/board-omapl138-heliosv1.c new file mode 100644 index 0000000..73cc0a9 --- /dev/null +++ b/arch/arm/mach-davinci/board-omapl138-heliosv1.c @@ -0,0 +1,51 @@ +/* + * Nanometrics OMAPL-138 Helios V1 platform. + * + * Copyright (C) 2011 Nanometrics Inc. + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of + * any kind, whether express or implied. + */ + +#include <linux/kernel.h> +#include <linux/init.h> +#include <linux/console.h> +#include <linux/gpio.h> + +#include <asm/mach-types.h> +#include <asm/mach/arch.h> + +#include <mach/cp_intc.h> +#include <mach/da8xx.h> +#include <mach/da850-reference.h> + +static __init void helios_v1_init(void) +{ + int ret; + + da850_reference_serial_init(); + + ret = da8xx_register_watchdog(); + if (ret) + pr_warning("%s: watchdog registration failed: %d\n", + __func__, ret); +} + +#ifdef CONFIG_SERIAL_8250_CONSOLE +static int __init helios_v1_console_init(void) +{ + if (!machine_is_helios_v1()) + return 0; + + return da850_reference_add_preferred_console(); +} +console_initcall(helios_v1_console_init); +#endif + +MACHINE_START(HELIOS_V1, "Nanometrics OMAPL-138 Helios V1 platform") + .boot_params = DA850_REFERENCE_BOOT_PARAMS, + .map_io = da850_reference_map_io, + .init_irq = cp_intc_init, + .timer = &davinci_timer, + .init_machine = helios_v1_init, +MACHINE_END -- 1.7.4.1
WARNING: multiple messages have this Message-ID (diff)
From: bengardiner@nanometrics.ca (Ben Gardiner) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 5/5] ARM: davinci: da850, omapl138: introduce new board-omapl138-heliosv1 Date: Thu, 18 Aug 2011 17:50:51 -0400 [thread overview] Message-ID: <f31e949dcaac301b40a0f6c0b611e84f57636ef0.1313702401.git.bengardiner@nanometrics.ca> (raw) In-Reply-To: <cover.1313702401.git.bengardiner@nanometrics.ca> Add support for the Nanometrics Helios Platform V1 Hardware. Initially support includes only serial console and watchdog support. Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Reviewed-by: James Nuss <jamesnuss@nanometrics.ca> --- arch/arm/mach-davinci/Kconfig | 9 ++++ arch/arm/mach-davinci/Makefile | 1 + arch/arm/mach-davinci/board-omapl138-heliosv1.c | 51 +++++++++++++++++++++++ 3 files changed, 61 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-davinci/board-omapl138-heliosv1.c diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index c0deaca..21a8ce9 100644 --- a/arch/arm/mach-davinci/Kconfig +++ b/arch/arm/mach-davinci/Kconfig @@ -224,6 +224,15 @@ config MACH_OMAPL138_HAWKBOARD Information of this board may be found at http://www.hawkboard.org/ +config MACH_HELIOS_V1 + bool "Nanometrics OMAPL-138 Helios V1 platform" + depends on ARCH_DAVINCI_DA850 + help + Say Y here to select the Nanometrics OMAPL-138 Helios V1 platform. + This is a development system based on the DA850 EVM baseboard. + It is the first Helios hardware platform upon which other platforms in the + Helios product family are based. + config DAVINCI_MUX bool "DAVINCI multiplexing support" depends on ARCH_DAVINCI diff --git a/arch/arm/mach-davinci/Makefile b/arch/arm/mach-davinci/Makefile index 9a01441..96d74c9 100644 --- a/arch/arm/mach-davinci/Makefile +++ b/arch/arm/mach-davinci/Makefile @@ -36,6 +36,7 @@ obj-$(CONFIG_MACH_DAVINCI_DA850_EVM) += board-da850-evm.o obj-$(CONFIG_MACH_TNETV107X) += board-tnetv107x-evm.o obj-$(CONFIG_MACH_MITYOMAPL138) += board-mityomapl138.o obj-$(CONFIG_MACH_OMAPL138_HAWKBOARD) += board-omapl138-hawk.o +obj-$(CONFIG_MACH_HELIOS_V1) += board-omapl138-heliosv1.o # Power Management obj-$(CONFIG_CPU_FREQ) += cpufreq.o diff --git a/arch/arm/mach-davinci/board-omapl138-heliosv1.c b/arch/arm/mach-davinci/board-omapl138-heliosv1.c new file mode 100644 index 0000000..73cc0a9 --- /dev/null +++ b/arch/arm/mach-davinci/board-omapl138-heliosv1.c @@ -0,0 +1,51 @@ +/* + * Nanometrics OMAPL-138 Helios V1 platform. + * + * Copyright (C) 2011 Nanometrics Inc. + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of + * any kind, whether express or implied. + */ + +#include <linux/kernel.h> +#include <linux/init.h> +#include <linux/console.h> +#include <linux/gpio.h> + +#include <asm/mach-types.h> +#include <asm/mach/arch.h> + +#include <mach/cp_intc.h> +#include <mach/da8xx.h> +#include <mach/da850-reference.h> + +static __init void helios_v1_init(void) +{ + int ret; + + da850_reference_serial_init(); + + ret = da8xx_register_watchdog(); + if (ret) + pr_warning("%s: watchdog registration failed: %d\n", + __func__, ret); +} + +#ifdef CONFIG_SERIAL_8250_CONSOLE +static int __init helios_v1_console_init(void) +{ + if (!machine_is_helios_v1()) + return 0; + + return da850_reference_add_preferred_console(); +} +console_initcall(helios_v1_console_init); +#endif + +MACHINE_START(HELIOS_V1, "Nanometrics OMAPL-138 Helios V1 platform") + .boot_params = DA850_REFERENCE_BOOT_PARAMS, + .map_io = da850_reference_map_io, + .init_irq = cp_intc_init, + .timer = &davinci_timer, + .init_machine = helios_v1_init, +MACHINE_END -- 1.7.4.1
next prev parent reply other threads:[~2011-08-18 21:51 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-18 21:50 [PATCH 0/5] ARM: davinci: introduce new board heliosv1 Ben Gardiner 2011-08-18 21:50 ` Ben Gardiner 2011-08-18 21:50 ` [PATCH 1/5] ARM: davinci: da850, omapl138: introduce shared da850 reference components Ben Gardiner 2011-08-18 21:50 ` Ben Gardiner 2011-08-18 21:55 ` Felipe Balbi 2011-08-18 21:55 ` Felipe Balbi 2011-08-18 21:50 ` [PATCH 2/5] ARM: davinci: da850, omapl138: share boot_params Ben Gardiner 2011-08-18 21:50 ` Ben Gardiner 2011-08-18 21:56 ` Felipe Balbi 2011-08-18 21:56 ` Felipe Balbi 2011-08-18 21:50 ` [PATCH 3/5] ARM: davinci: da850, omapl138: share the preferred console registration Ben Gardiner 2011-08-18 21:50 ` Ben Gardiner 2011-08-18 21:50 ` [PATCH 4/5] ARM: davinci: da850, omapl138: share the davinci_uart_config Ben Gardiner 2011-08-18 21:50 ` Ben Gardiner 2011-08-18 21:57 ` Felipe Balbi 2011-08-18 21:57 ` Felipe Balbi 2011-08-18 21:50 ` Ben Gardiner [this message] 2011-08-18 21:50 ` [PATCH 5/5] ARM: davinci: da850, omapl138: introduce new board-omapl138-heliosv1 Ben Gardiner 2011-08-18 22:02 ` Felipe Balbi 2011-08-18 22:02 ` Felipe Balbi
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=f31e949dcaac301b40a0f6c0b611e84f57636ef0.1313702401.git.bengardiner@nanometrics.ca \ --to=bengardiner@nanometrics.ca \ --cc=davinci-linux-open-source@linux.davincidsp.com \ --cc=jamesnuss@nanometrics.ca \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=nsekhar@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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.