Skip to contentSkip to conversation

ARM: ks8695: add board support for the OpenGear boards based on the KS8695

PATCH New gerg at snapgear.com 3 participants 8 messages Sep 7, 2012 – Sep 13, 2012

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

PATCH 1/1 ARM: ks8695: add board support for the OpenGear boards based on the KS8695

From: Greg Ungerer <[email protected]>

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
---
 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
arch/arm/mach-ks8695/Kconfig +39 -0
index f6b737e..a545976 100644
@@ -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
arch/arm/mach-ks8695/Makefile +5 -0
index 9673c0c..50980e6 100644
@@ -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
arch/arm/mach-ks8695/board-og.c new file +199 -0

199 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 ARM: ks8695: add board support for the OpenGear boards based on the KS8695

Quoted 8 lines · gerg at snapgear.com

From: Greg Ungerer <[email protected]>

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:

Quoted 7 lines
    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

---

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.

MAINTAINERS +6 -0
index fdc0119..f7b8d14 100644
@@ -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 <[email protected]>
+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 <[email protected]>
 L:	linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)
#2 lore raw

PATCH 1/1 ARM: ks8695: add board support for the OpenGear boards based on the KS8695

Hi Arnd,

Quoted 18 lines · Arnd Bergmann
Quoted 8 lines · gerg at snapgear.com

From: Greg Ungerer <[email protected]>

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:

Quoted 7 lines
     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
Quoted 8 lines

---

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.

Quoted 9 lines

Arnd

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

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

Quoted 7 lines
MAINTAINERS +0 -0
index fdc0119..f7b8d14 100644
@@ -913,6 +913,12 @@ W:	http://www.digriz.org.uk/ts78xx/kernel
  S:	Maintained
  F:	arch/arm/mach-orion5x/ts78xx-*

MAINTAINERS W: http://www.digriz.org.uk/ts78xx/kernel · line 924

Quoted 10 lines
MAINTAINERS +6 -0
 
+ARM/MICREL KS8695 ARCHITECTURE
+M:	Greg Ungerer <[email protected]>
+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 <[email protected]>
  L:	linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)

Regards
Greg

Signature · 5 lines
------------------------------------------------------------------------
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
#3 lore raw

PATCH 1/1 ARM: ks8695: add board support for the OpenGear boards based on the KS8695

Quoted 11 lines · Greg Ungerer
Quoted 9 lines

Arnd

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

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

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

#4 lore raw

PATCH 1/1 ARM: ks8695: add board support for the OpenGear boards based on the KS8695

Hi Olof,

Quoted 11 lines · Olof Johansson
Quoted 10 lines · Greg Ungerer
Quoted 9 lines

Arnd

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

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

Quoted 8 lines
Quoted 1 line

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

Signature · 5 lines
------------------------------------------------------------------------
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
#5 lore raw

PATCH 1/1 ARM: ks8695: add board support for the OpenGear boards based on the KS8695

In reply to Arnd Bergmann

Hi,

Quoted 15 lines · Arnd Bergmann
Quoted 14 lines · gerg at snapgear.com

From: Greg Ungerer <[email protected]>

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
Quoted 3 lines
Quoted 1 line

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

#6 lore raw

PATCH 1/1 ARM: ks8695: add board support for the OpenGear boards based on the KS8695

Hi Olof,

Quoted 18 lines · Olof Johansson
Quoted 17 lines · Arnd Bergmann
Quoted 15 lines · gerg at snapgear.com

From: Greg Ungerer <[email protected]>

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
Quoted 7 lines
Quoted 1 line

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.

Quoted 3 lines

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

Signature · 5 lines
------------------------------------------------------------------------
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
#7 lore raw

PATCH 1/1 ARM: ks8695: add board support for the OpenGear boards based on the KS8695

In reply to Olof Johansson

Hi Olof,

Quoted 18 lines · Olof Johansson
Quoted 17 lines · Arnd Bergmann
Quoted 15 lines · gerg at snapgear.com

From: Greg Ungerer <[email protected]>

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
Quoted 7 lines
Quoted 1 line

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