All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: ks8695: add board support for the OpenGear boards based on the KS8695
@ 2012-09-07  5:35 gerg at snapgear.com
  2012-09-07 12:21 ` Arnd Bergmann
  0 siblings, 1 reply; 8+ messages in thread
From: gerg at snapgear.com @ 2012-09-07  5:35 UTC (permalink / raw)
  To: linux-arm-kernel

From: Greg Ungerer <gerg@uclinux.org>

A number of boards produced by OpenGear and based on the Micrel KS8695 SoC.
Add board support to the KS8695 kernel code to support them.

The following machine type entries will need to be added back into the
mach-types file with these in mainline:

    cm4008      MACH_CM4008       CM4008       624
    cm41xx      MACH_CM41XX       CM41XX       672
    cm4002      MACH_CM4002       CM4002       876
    im42xx      MACH_IM42XX       IM42XX       1105
    im4004      MACH_IM4004       IM4004       1400

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---
 arch/arm/mach-ks8695/Kconfig    |   39 ++++++++
 arch/arm/mach-ks8695/Makefile   |    5 +
 arch/arm/mach-ks8695/board-og.c |  199 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 243 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-ks8695/board-og.c

diff --git a/arch/arm/mach-ks8695/Kconfig b/arch/arm/mach-ks8695/Kconfig
index f6b737e..a545976 100644
--- a/arch/arm/mach-ks8695/Kconfig
+++ b/arch/arm/mach-ks8695/Kconfig
@@ -43,6 +43,45 @@ config MACH_SE4200
 	  Internet Router.
 	  See http://www.securecomputing.com for more details.
 
+config MACH_CM4002
+	bool "OpenGear CM4002"
+	help
+	  Say 'Y' here if you want your kernel to support the OpenGear
+	  CM4002 Secure Access Server. See http://www.opengear.com for
+	  more details.
+
+config MACH_CM4008
+	bool "OpenGear CM4008"
+	select MIGHT_HAVE_PCI
+	help
+	  Say 'Y' here if you want your kernel to support the OpenGear
+	  CM4008 Console Server. See http://www.opengear.com for more
+	  details.
+
+config MACH_CM41xx
+	bool "OpenGear CM41xx"
+	select MIGHT_HAVE_PCI
+	help
+	  Say 'Y' here if you want your kernel to support the OpenGear
+	  CM4016 or CM4048 Console Servers. See http://www.opengear.com for
+	  more details.
+
+config MACH_IM4004
+	bool "OpenGear IM4004"
+	select MIGHT_HAVE_PCI
+	help
+	  Say 'Y' here if you want your kernel to support the OpenGear
+	  IM4004 Secure Access Server. See http://www.opengear.com for
+	  more details.
+
+config MACH_IM42xx
+	bool "OpenGear IM42xx"
+	select MIGHT_HAVE_PCI
+	help
+	  Say 'Y' here if you want your kernel to support the OpenGear
+	  IM4216 or IM4248 Console Servers. See http://www.opengear.com for
+	  more details.
+
 endmenu
 
 endif
diff --git a/arch/arm/mach-ks8695/Makefile b/arch/arm/mach-ks8695/Makefile
index 9673c0c..50980e6 100644
--- a/arch/arm/mach-ks8695/Makefile
+++ b/arch/arm/mach-ks8695/Makefile
@@ -21,3 +21,8 @@ obj-$(CONFIG_MACH_ACS5K)	+= board-acs5k.o
 obj-$(CONFIG_MACH_LITE300)	+= board-sg.o
 obj-$(CONFIG_MACH_SG310)	+= board-sg.o
 obj-$(CONFIG_MACH_SE4200)	+= board-sg.o
+obj-$(CONFIG_MACH_CM4002)	+= board-og.o
+obj-$(CONFIG_MACH_CM4008)	+= board-og.o
+obj-$(CONFIG_MACH_CM41xx)	+= board-og.o
+obj-$(CONFIG_MACH_IM4004)	+= board-og.o
+obj-$(CONFIG_MACH_IM42xx)	+= board-og.o
diff --git a/arch/arm/mach-ks8695/board-og.c b/arch/arm/mach-ks8695/board-og.c
new file mode 100644
index 0000000..1623ba4
--- /dev/null
+++ b/arch/arm/mach-ks8695/board-og.c
@@ -0,0 +1,199 @@
+/*
+ * board-og.c -- support for the OpenGear KS8695 based boards.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/init.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/serial_8250.h>
+#include <linux/gpio.h>
+#include <linux/irq.h>
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+#include <mach/devices.h>
+#include <mach/regs-gpio.h>
+#include <mach/gpio-ks8695.h>
+#include "generic.h"
+
+static int og_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
+{
+	if (machine_is_im4004() && (slot == 8))
+		return KS8695_IRQ_EXTERN1;
+	return KS8695_IRQ_EXTERN0;
+}
+
+static struct ks8695_pci_cfg __initdata og_pci = {
+	.mode		= KS8695_MODE_PCI,
+	.map_irq	= og_pci_map_irq,
+};
+
+static void __init og_register_pci(void)
+{
+	/* Initialize the GPIO lines for interrupt mode */
+	ks8695_gpio_interrupt(KS8695_GPIO_0, IRQ_TYPE_LEVEL_LOW);
+
+	/* Cardbus Slot */
+	if (machine_is_im4004())
+		ks8695_gpio_interrupt(KS8695_GPIO_1, IRQ_TYPE_LEVEL_LOW);
+
+	ks8695_init_pci(&og_pci);
+}
+
+/*
+ * The PCI bus reset is driven by a dedicated GPIO line. Toggle it here
+ * and bring the PCI bus out of reset.
+ */
+static void __init og_pci_bus_reset(void)
+{
+	unsigned int rstline = 1;
+
+	/* Some boards use a different GPIO as the PCI reset line */
+	if (machine_is_im4004())
+		rstline = 2;
+	else if (machine_is_im42xx())
+		rstline = 0;
+
+	gpio_request(rstline, "PCI reset");
+	gpio_direction_output(rstline, 0);
+
+	/* Drive a reset on the PCI reset line */
+	gpio_set_value(rstline, 1);
+	gpio_set_value(rstline, 0);
+	mdelay(100);
+	gpio_set_value(rstline, 1);
+	mdelay(100);
+}
+
+/*
+ * Direct connect serial ports (non-PCI that is).
+ */
+#define	S8250_PHYS	0x03800000
+#define	S8250_VIRT	0xf4000000
+#define	S8250_SIZE	0x00100000
+
+static struct __initdata map_desc og_io_desc[] = {
+	{
+		.virtual	= S8250_VIRT,
+		.pfn		= __phys_to_pfn(S8250_PHYS),
+		.length		= S8250_SIZE,
+		.type		= MT_DEVICE,
+	}
+};
+
+static struct resource og_uart_resources[] = {
+	{
+		.start		= S8250_VIRT,
+		.end		= S8250_VIRT + S8250_SIZE,
+		.flags		= IORESOURCE_MEM
+	},
+};
+
+static struct plat_serial8250_port og_uart_data[] = {
+	{
+		.mapbase	= S8250_VIRT,
+		.membase	= (char *) S8250_VIRT,
+		.irq		= 3,
+		.flags		= UPF_BOOT_AUTOCONF | UPF_SKIP_TEST,
+		.iotype		= UPIO_MEM,
+		.regshift	= 2,
+		.uartclk	= 115200 * 16,
+	},
+	{ },
+};
+
+static struct platform_device og_uart = {
+	.name			= "serial8250",
+	.id			= 0,
+	.dev.platform_data	= og_uart_data,
+	.num_resources		= 1,
+	.resource		= og_uart_resources
+};
+
+static struct platform_device *og_devices[] __initdata = {
+	&og_uart
+};
+
+static void __init og_init(void)
+{
+	ks8695_register_gpios();
+
+	if (machine_is_cm4002()) {
+		ks8695_gpio_interrupt(KS8695_GPIO_1, IRQ_TYPE_LEVEL_HIGH);
+		iotable_init(og_io_desc, ARRAY_SIZE(og_io_desc));
+		platform_add_devices(og_devices, ARRAY_SIZE(og_devices));
+	} else {
+		og_pci_bus_reset();
+		og_register_pci();
+	}
+
+	ks8695_add_device_lan();
+	ks8695_add_device_wan();
+}
+
+#ifdef CONFIG_MACH_CM4002
+MACHINE_START(CM4002, "OpenGear/CM4002")
+	/* OpenGear Inc. */
+	.atag_offset	= 0x100,
+	.map_io		= ks8695_map_io,
+	.init_irq	= ks8695_init_irq,
+	.init_machine	= og_init,
+	.timer		= &ks8695_timer,
+	.restart        = ks8695_restart,
+MACHINE_END
+#endif
+
+#ifdef CONFIG_MACH_CM4008
+MACHINE_START(CM4008, "OpenGear/CM4008")
+	/* OpenGear Inc. */
+	.atag_offset	= 0x100,
+	.map_io		= ks8695_map_io,
+	.init_irq	= ks8695_init_irq,
+	.init_machine	= og_init,
+	.timer		= &ks8695_timer,
+	.restart        = ks8695_restart,
+MACHINE_END
+#endif
+
+#ifdef CONFIG_MACH_CM41xx
+MACHINE_START(CM41XX, "OpenGear/CM41xx")
+	/* OpenGear Inc. */
+	.atag_offset	= 0x100,
+	.map_io		= ks8695_map_io,
+	.init_irq	= ks8695_init_irq,
+	.init_machine	= og_init,
+	.timer		= &ks8695_timer,
+	.restart        = ks8695_restart,
+MACHINE_END
+#endif
+
+#ifdef CONFIG_MACH_IM4004
+MACHINE_START(IM4004, "OpenGear/IM4004")
+	/* OpenGear Inc. */
+	.atag_offset	= 0x100,
+	.map_io		= ks8695_map_io,
+	.init_irq	= ks8695_init_irq,
+	.init_machine	= og_init,
+	.timer		= &ks8695_timer,
+	.restart        = ks8695_restart,
+MACHINE_END
+#endif
+
+#ifdef CONFIG_MACH_IM42xx
+MACHINE_START(IM42XX, "OpenGear/IM42xx")
+	/* OpenGear Inc. */
+	.atag_offset	= 0x100,
+	.map_io		= ks8695_map_io,
+	.init_irq	= ks8695_init_irq,
+	.init_machine	= og_init,
+	.timer		= &ks8695_timer,
+	.restart        = ks8695_restart,
+MACHINE_END
+#endif
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH] ARM: ks8695: add board support for the OpenGear boards based on the KS8695
  2012-09-07  5:35 [PATCH] ARM: ks8695: add board support for the OpenGear boards based on the KS8695 gerg at snapgear.com
@ 2012-09-07 12:21 ` Arnd Bergmann
  2012-09-07 14:11   ` Greg Ungerer
  2012-09-08  3:20   ` Olof Johansson
  0 siblings, 2 replies; 8+ messages in thread
From: Arnd Bergmann @ 2012-09-07 12:21 UTC (permalink / raw)
  To: linux-arm-kernel

On Friday 07 September 2012, gerg at snapgear.com wrote:
> From: Greg Ungerer <gerg@uclinux.org>
> 
> A number of boards produced by OpenGear and based on the Micrel KS8695 SoC.
> Add board support to the KS8695 kernel code to support them.
> 
> The following machine type entries will need to be added back into the
> mach-types file with these in mainline:
> 
>     cm4008      MACH_CM4008       CM4008       624
>     cm41xx      MACH_CM41XX       CM41XX       672
>     cm4002      MACH_CM4002       CM4002       876
>     im42xx      MACH_IM42XX       IM42XX       1105
>     im4004      MACH_IM4004       IM4004       1400
> 
> Signed-off-by: Greg Ungerer <gerg@uclinux.org>

Acked-by: Arnd Bergmann <arnd@arndb.de>
---

Hi Greg,

Both ks8695 patches look good to me, I think we can apply them to the
arm-soc tree right away. If you agree, I'd also like to apply the
patch below to list you as a contact for the platform. If you prefer,
we can also list it as Maintained.

	Arnd

8<----
ARM: ks8695: add maintainers entry

Greg Ungerer has hardware for this platform and is testing it
regularly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/MAINTAINERS b/MAINTAINERS
index fdc0119..f7b8d14 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -913,6 +913,12 @@ W:	http://www.digriz.org.uk/ts78xx/kernel
 S:	Maintained
 F:	arch/arm/mach-orion5x/ts78xx-*
 
+ARM/MICREL KS8695 ARCHITECTURE
+M:	Greg Ungerer <gerg@uclinux.org>
+L:	linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)
+F:	arch/arm/mach-ks8695
+S:	Odd Fixes
+
 ARM/MIOA701 MACHINE SUPPORT
 M:	Robert Jarzmik <robert.jarzmik@free.fr>
 L:	linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH] ARM: ks8695: add board support for the OpenGear boards based on the KS8695
  2012-09-07 12:21 ` Arnd Bergmann
@ 2012-09-07 14:11   ` Greg Ungerer
  2012-09-07 21:56     ` Olof Johansson
  2012-09-08  3:20   ` Olof Johansson
  1 sibling, 1 reply; 8+ messages in thread
From: Greg Ungerer @ 2012-09-07 14:11 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Arnd,

On 09/07/2012 10:21 PM, Arnd Bergmann wrote:
> On Friday 07 September 2012, gerg at snapgear.com wrote:
>> From: Greg Ungerer <gerg@uclinux.org>
>>
>> A number of boards produced by OpenGear and based on the Micrel KS8695 SoC.
>> Add board support to the KS8695 kernel code to support them.
>>
>> The following machine type entries will need to be added back into the
>> mach-types file with these in mainline:
>>
>>      cm4008      MACH_CM4008       CM4008       624
>>      cm41xx      MACH_CM41XX       CM41XX       672
>>      cm4002      MACH_CM4002       CM4002       876
>>      im42xx      MACH_IM42XX       IM42XX       1105
>>      im4004      MACH_IM4004       IM4004       1400
>>
>> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
> ---
>
> Hi Greg,
>
> Both ks8695 patches look good to me, I think we can apply them to the
> arm-soc tree right away. If you agree, I'd also like to apply the
> patch below to list you as a contact for the platform. If you prefer,
> we can also list it as Maintained.

Patch looks good. I am fine with marking it is maintained as well.


> 	Arnd
>
> 8<----
> ARM: ks8695: add maintainers entry
>
> Greg Ungerer has hardware for this platform and is testing it
> regularly.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Greg Ungerer <gerg@uclinux.org>


> diff --git a/MAINTAINERS b/MAINTAINERS
> index fdc0119..f7b8d14 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -913,6 +913,12 @@ W:	http://www.digriz.org.uk/ts78xx/kernel
>   S:	Maintained
>   F:	arch/arm/mach-orion5x/ts78xx-*
>
> +ARM/MICREL KS8695 ARCHITECTURE
> +M:	Greg Ungerer <gerg@uclinux.org>
> +L:	linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)
> +F:	arch/arm/mach-ks8695
> +S:	Odd Fixes
> +
>   ARM/MIOA701 MACHINE SUPPORT
>   M:	Robert Jarzmik <robert.jarzmik@free.fr>
>   L:	linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)

Regards
Greg


-- 
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg at snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close,                            FAX:         +61 7 3891 3630
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] ARM: ks8695: add board support for the OpenGear boards based on the KS8695
  2012-09-07 14:11   ` Greg Ungerer
@ 2012-09-07 21:56     ` Olof Johansson
  2012-09-09  4:38       ` Greg Ungerer
  0 siblings, 1 reply; 8+ messages in thread
From: Olof Johansson @ 2012-09-07 21:56 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Sep 08, 2012 at 12:11:55AM +1000, Greg Ungerer wrote:
> >	Arnd
> >
> >8<----
> >ARM: ks8695: add maintainers entry
> >
> >Greg Ungerer has hardware for this platform and is testing it
> >regularly.
> >
> >Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 
> Acked-by: Greg Ungerer <gerg@uclinux.org>

Great, applied to next/maintainers.

Greg, do you want to collect a repo that you send pull requests for,
or just ack and send patches for us to apply? The former is preferred
by us in case there's a significant patch volume, for lower traffic
platforms we can apply patches from email though though.


-Olof

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] ARM: ks8695: add board support for the OpenGear boards based on the KS8695
  2012-09-07 12:21 ` Arnd Bergmann
  2012-09-07 14:11   ` Greg Ungerer
@ 2012-09-08  3:20   ` Olof Johansson
  2012-09-09  4:40     ` Greg Ungerer
  2012-09-13  6:40     ` Greg Ungerer
  1 sibling, 2 replies; 8+ messages in thread
From: Olof Johansson @ 2012-09-08  3:20 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Fri, Sep 7, 2012 at 5:21 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Friday 07 September 2012, gerg at snapgear.com wrote:
>> From: Greg Ungerer <gerg@uclinux.org>
>>
>> A number of boards produced by OpenGear and based on the Micrel KS8695 SoC.
>> Add board support to the KS8695 kernel code to support them.
>>
>> The following machine type entries will need to be added back into the
>> mach-types file with these in mainline:
>>
>>     cm4008      MACH_CM4008       CM4008       624
>>     cm41xx      MACH_CM41XX       CM41XX       672
>>     cm4002      MACH_CM4002       CM4002       876
>>     im42xx      MACH_IM42XX       IM42XX       1105
>>     im4004      MACH_IM4004       IM4004       1400
>>
>> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>


Both patches applied to a ks8695/boards branch, part of next/boards in arm-soc.

Greg, you should submit separate patch to add the machine types to
Russell's patch tracker. We are of course looking forward to efforts
to move these platforms to device tree, since we want to avoid adding
non-dt boards from here on out.


-Olof

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] ARM: ks8695: add board support for the OpenGear boards based on the KS8695
  2012-09-07 21:56     ` Olof Johansson
@ 2012-09-09  4:38       ` Greg Ungerer
  0 siblings, 0 replies; 8+ messages in thread
From: Greg Ungerer @ 2012-09-09  4:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof,

On 09/08/2012 07:56 AM, Olof Johansson wrote:
> On Sat, Sep 08, 2012 at 12:11:55AM +1000, Greg Ungerer wrote:
>>> 	Arnd
>>>
>>> 8<----
>>> ARM: ks8695: add maintainers entry
>>>
>>> Greg Ungerer has hardware for this platform and is testing it
>>> regularly.
>>>
>>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>>
>> Acked-by: Greg Ungerer <gerg@uclinux.org>
>
> Great, applied to next/maintainers.
>
> Greg, do you want to collect a repo that you send pull requests for,
> or just ack and send patches for us to apply? The former is preferred
> by us in case there's a significant patch volume, for lower traffic
> platforms we can apply patches from email though though.

I'll create a new git repository on kernel.org along with my others
there.

Regards
Greg


-- 
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg at snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close,                            FAX:         +61 7 3891 3630
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] ARM: ks8695: add board support for the OpenGear boards based on the KS8695
  2012-09-08  3:20   ` Olof Johansson
@ 2012-09-09  4:40     ` Greg Ungerer
  2012-09-13  6:40     ` Greg Ungerer
  1 sibling, 0 replies; 8+ messages in thread
From: Greg Ungerer @ 2012-09-09  4:40 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof,

On 09/08/2012 01:20 PM, Olof Johansson wrote:
> On Fri, Sep 7, 2012 at 5:21 AM, Arnd Bergmann <arnd@arndb.de> wrote:
>> On Friday 07 September 2012, gerg at snapgear.com wrote:
>>> From: Greg Ungerer <gerg@uclinux.org>
>>>
>>> A number of boards produced by OpenGear and based on the Micrel KS8695 SoC.
>>> Add board support to the KS8695 kernel code to support them.
>>>
>>> The following machine type entries will need to be added back into the
>>> mach-types file with these in mainline:
>>>
>>>      cm4008      MACH_CM4008       CM4008       624
>>>      cm41xx      MACH_CM41XX       CM41XX       672
>>>      cm4002      MACH_CM4002       CM4002       876
>>>      im42xx      MACH_IM42XX       IM42XX       1105
>>>      im4004      MACH_IM4004       IM4004       1400
>>>
>>> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
>>
>> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
>
> Both patches applied to a ks8695/boards branch, part of next/boards in arm-soc.
>
> Greg, you should submit separate patch to add the machine types to
> Russell's patch tracker.

Yep, I'll create some patches for those.


> We are of course looking forward to efforts
> to move these platforms to device tree, since we want to avoid adding
> non-dt boards from here on out.

Yes that would be nice. I am not sure when I will have some time
to take that on. But hopefully sometime soon.

Regards
Greg



-- 
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg at snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close,                            FAX:         +61 7 3891 3630
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] ARM: ks8695: add board support for the OpenGear boards based on the KS8695
  2012-09-08  3:20   ` Olof Johansson
  2012-09-09  4:40     ` Greg Ungerer
@ 2012-09-13  6:40     ` Greg Ungerer
  1 sibling, 0 replies; 8+ messages in thread
From: Greg Ungerer @ 2012-09-13  6:40 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof,

On 08/09/12 13:20, Olof Johansson wrote:
> On Fri, Sep 7, 2012 at 5:21 AM, Arnd Bergmann <arnd@arndb.de> wrote:
>> On Friday 07 September 2012, gerg at snapgear.com wrote:
>>> From: Greg Ungerer <gerg@uclinux.org>
>>>
>>> A number of boards produced by OpenGear and based on the Micrel KS8695 SoC.
>>> Add board support to the KS8695 kernel code to support them.
>>>
>>> The following machine type entries will need to be added back into the
>>> mach-types file with these in mainline:
>>>
>>>      cm4008      MACH_CM4008       CM4008       624
>>>      cm41xx      MACH_CM41XX       CM41XX       672
>>>      cm4002      MACH_CM4002       CM4002       876
>>>      im42xx      MACH_IM42XX       IM42XX       1105
>>>      im4004      MACH_IM4004       IM4004       1400
>>>
>>> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
>>
>> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
>
> Both patches applied to a ks8695/boards branch, part of next/boards in arm-soc.
>
> Greg, you should submit separate patch to add the machine types to
> Russell's patch tracker.

I am looking for some guidance here. Russell nacked a separate patch
that put the board ID's back in. Do you want to drop these patches
and I roll new ones that include the mach-types update as well?
Or perhaps do this all some other way?

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg at snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close                             FAX:         +61 7 3217 5323
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-09-13  6:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-07  5:35 [PATCH] ARM: ks8695: add board support for the OpenGear boards based on the KS8695 gerg at snapgear.com
2012-09-07 12:21 ` Arnd Bergmann
2012-09-07 14:11   ` Greg Ungerer
2012-09-07 21:56     ` Olof Johansson
2012-09-09  4:38       ` Greg Ungerer
2012-09-08  3:20   ` Olof Johansson
2012-09-09  4:40     ` Greg Ungerer
2012-09-13  6:40     ` Greg Ungerer

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.