Skip to contentSkip to conversation

ARM: clps711x: Remove board support for CEIVA

PATCH New Alexander Shiyan 3 participants 7 messages Aug 21, 2012 – Sep 28, 2012

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

PATCH 1/4 ARM: clps711x: Remove board support for CEIVA

The current kernel does not fit in the CEIVA ROM. Also, some functional has already been removed due migrate from 2.6 to 3.0, and it seems that no one uses this platform. So, remove support for this board and modules specific only to this board.

---
 arch/arm/mach-clps711x/Kconfig                 |    6 -
 arch/arm/mach-clps711x/Makefile                |    1 -
 arch/arm/mach-clps711x/ceiva.c                 |   64 --
 arch/arm/mach-clps711x/include/mach/hardware.h |   48 --
 arch/arm/tools/mach-types                      |    1 -
 drivers/video/Kconfig                          |   12 -
 drivers/video/Makefile                         |    1 -
 drivers/video/epson1355fb.c                    |  749 ------------------------
 include/video/epson1355.h                      |   64 --
 9 files changed, 0 insertions(+), 946 deletions(-)
 delete mode 100644 arch/arm/mach-clps711x/ceiva.c
 delete mode 100644 drivers/video/epson1355fb.c
 delete mode 100644 include/video/epson1355.h
arch/arm/mach-clps711x/Kconfig +0 -6
index ea036d6..e613536 100644
@@ -16,12 +16,6 @@ config ARCH_CDB89712
 	  The board includes 2 serial ports, Ethernet, IRDA, and expansion
 	  headers.  It comes with 16 MB SDRAM and 8 MB flash ROM.
 
-config ARCH_CEIVA
-	bool "CEIVA"
-	help
-	  Say Y here if you intend to run this kernel on the Ceiva/Polaroid
-	  PhotoMax Digital Picture Frame.
-
 config ARCH_CLEP7312
 	bool "CLEP7312"
 	help
arch/arm/mach-clps711x/Makefile +0 -1
index f2f0256..aed9eb6 100644
@@ -9,7 +9,6 @@ obj-m			:=
 obj-n			:=
 obj-			:=
 
-obj-$(CONFIG_ARCH_CEIVA) += ceiva.o
 obj-$(CONFIG_ARCH_AUTCPU12) += autcpu12.o
 obj-$(CONFIG_ARCH_CDB89712) += cdb89712.o
 obj-$(CONFIG_ARCH_CLEP7312) += clep7312.o
arch/arm/mach-clps711x/ceiva.c deleted +0 -64

64 lines not on this page · raw message

arch/arm/mach-clps711x/include/mach/hardware.h +0 -48

58 lines not on this page · raw message

arch/arm/tools/mach-types +0 -1
index 2997e56..ae87c5e 100644
@@ -66,7 +66,6 @@ iq80321			ARCH_IQ80321		IQ80321			169
 ks8695			ARCH_KS8695		KS8695			180
 karo			ARCH_KARO		KARO			190
 smdk2410		ARCH_SMDK2410		SMDK2410		193
-ceiva			ARCH_CEIVA		CEIVA			200
 voiceblue		MACH_VOICEBLUE		VOICEBLUE		218
 h5400			ARCH_H5400		H5400			220
 omap_innovator		MACH_OMAP_INNOVATOR	OMAP_INNOVATOR		234
drivers/video/Kconfig +0 -12
index 0217f74..8c17adb 100644
@@ -979,18 +979,6 @@ config FB_PVR2
 	  (<file:drivers/video/pvr2fb.c>). Please see the file
 	  <file:Documentation/fb/pvr2fb.txt>.
 
-config FB_EPSON1355
-	bool "Epson 1355 framebuffer support"
-	depends on (FB = y) && ARCH_CEIVA
-	select FB_CFB_FILLRECT
-	select FB_CFB_COPYAREA
-	select FB_CFB_IMAGEBLIT
-	help
-	  Build in support for the SED1355 Epson Research Embedded RAMDAC
-	  LCD/CRT Controller (since redesignated as the S1D13505) as a
-	  framebuffer.  Product specs at
-	  <http://vdc.epson.com/>.
-
 config FB_S1D13XXX
 	tristate "Epson S1D13XXX framebuffer support"
 	depends on FB
drivers/video/Makefile +0 -1
index ee8dafb..1940359 100644
@@ -94,7 +94,6 @@ obj-$(CONFIG_FB_G364)             += g364fb.o
 obj-$(CONFIG_FB_EP93XX)		  += ep93xx-fb.o
 obj-$(CONFIG_FB_SA1100)           += sa1100fb.o
 obj-$(CONFIG_FB_HIT)              += hitfb.o
-obj-$(CONFIG_FB_EPSON1355)	  += epson1355fb.o
 obj-$(CONFIG_FB_ATMEL)		  += atmel_lcdfb.o
 obj-$(CONFIG_FB_PVR2)             += pvr2fb.o
 obj-$(CONFIG_FB_VOODOO1)          += sstfb.o
drivers/video/epson1355fb.c deleted +0 -749

749 lines not on this page · raw message

include/video/epson1355.h deleted +0 -64

64 lines not on this page · raw message

Signature · 1 line
1.7.8.6
#1 lore raw

PATCH 2/4 ARM: clps711x: Fix register definitions

This patch contain some fixes:
- Fixes the address of register PORTE.
- Corrects name for DAIDR0 register.
- Removes unused definition for SYNCIO_CFGLEN.
- Fixes definition SYNCIO_FRMLEN.

---
 arch/arm/mach-clps711x/include/mach/clps711x.h |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
arch/arm/mach-clps711x/include/mach/clps711x.h +4 -5
index 1dd806f..c82e21c 100644
@@ -31,8 +31,8 @@
 #define PBDDR		(0x0041)
 #define PCDDR		(0x0042)
 #define PDDDR		(0x0043)
-#define PEDR		(0x0080)
-#define PEDDR		(0x00c0)
+#define PEDR		(0x0083)
+#define PEDDR		(0x00c3)
 #define SYSCON1		(0x0100)
 #define SYSFLG1		(0x0140)
 #define MEMCFG1		(0x0180)
@@ -77,7 +77,7 @@
 #define KBDEOI		(0x1700)
 
 #define DAIR		(0x2000)
-#define DAIR0		(0x2040)
+#define DAIDR0		(0x2040)
 #define DAIDR1		(0x2080)
 #define DAIDR2		(0x20c0)
 #define DAISR		(0x2100)
@@ -191,8 +191,7 @@
 #define UBRLCR_WRDLEN8		(3 << 17)
 #define UBRLCR_WRDLEN_MASK	(3 << 17)
 
-#define SYNCIO_FRMLEN(x)	(((x) & 0x3f) << 7)
-#define SYNCIO_CFGLEN(x)	((x) & 0x7f)
+#define SYNCIO_FRMLEN(x)	(((x) & 0x1f) << 8)
 #define SYNCIO_SMCKEN		(1 << 13)
 #define SYNCIO_TXFRMEN		(1 << 14)
 
Signature · 1 line
1.7.8.6
#2 lore raw

PATCH 3/4 ARM: clps711x: Fix lowlevel debug-macro

In reply to Alexander Shiyan

CTS signal can not be used for the port and tied to any logic state. In this case we have an infinite loop waiting for the signal. For fix this problem, checking CTS removed, waiting for the signal "busy" was postponed after the byte write to the port.

---
 arch/arm/mach-clps711x/include/mach/debug-macro.S |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
arch/arm/mach-clps711x/include/mach/debug-macro.S +1 -7
index 118b3d9..cb3684f 100644
@@ -28,17 +28,11 @@
 		.endm
 
 		.macro	waituart,rd,rx
-1001:		ldr	\rd, [\rx, #0x0140]	@ SYSFLGx
-		tst	\rd, #1 << 11		@ UBUSYx
-		bne	1001b
 		.endm
 
 		.macro	busyuart,rd,rx
-		tst	\rx, #0x1000		@ UART2 does not have CTS here
-		bne	1002f
 1001:		ldr	\rd, [\rx, #0x0140]	@ SYSFLGx
-		tst	\rd, #1 << 8		@ CTS
+		tst	\rd, #1 << 11		@ UBUSYx
 		bne	1001b
-1002:
 		.endm
 
Signature · 1 line
1.7.8.6
#3 lore raw

PATCH 4/4 ARM: clps711x: Added simple clock framework

In reply to Alexander Shiyan

Modern CPUs from CLPS711X-line can operate at frequencies other than 73 MHz. This patch adds simple clock framework for handling all possible CPU rates.

---
 arch/arm/Kconfig                            |    2 +
 arch/arm/mach-clps711x/common.c             |   89 ++++++++++++++++++++++-----
 arch/arm/mach-clps711x/include/mach/timex.h |   23 +-------
 3 files changed, 76 insertions(+), 38 deletions(-)
arch/arm/Kconfig +2 -0
index 6d6e18f..2b23202 100644
@@ -384,6 +384,8 @@ config ARCH_CLPS711X
 	bool "Cirrus Logic CLPS711x/EP721x/EP731x-based"
 	select CPU_ARM720T
 	select ARCH_USES_GETTIMEOFFSET
+	select COMMON_CLK
+	select CLKDEV_LOOKUP
 	select NEED_MACH_MEMORY_H
 	help
 	  Support for Cirrus Logic 711x/721x/731x based boards.
arch/arm/mach-clps711x/common.c +73 -16

120 lines not on this page · raw message

arch/arm/mach-clps711x/include/mach/timex.h +1 -22
index ac8823c..de6fd19 100644
@@ -1,23 +1,2 @@
-/*
- *  arch/arm/mach-clps711x/include/mach/timex.h
- *
- *  Prospector 720T architecture timex specifications
- *
- *  Copyright (C) 2000 Deep Blue Solutions Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
-
+/* Bogus value */
 #define CLOCK_TICK_RATE 512000
Signature · 1 line
1.7.8.6
#4 lore raw

PATCH 1/4 ARM: clps711x: Remove board support for CEIVA

In reply to Alexander Shiyan
Quoted 6 lines · Alexander Shiyan

The current kernel does not fit in the CEIVA ROM. Also, some functional has already been removed due migrate from 2.6 to 3.0, and it seems that no one uses this platform. So, remove support for this board and modules specific only to this board.

I got curious about this machine and found some ten year old emails and a howto from Colin Cross about this machine. Since he's still actively working on ARM Linux, maybe he has some final words to say about this platform before it gets removed.

Otherwise, no objections.

Arnd

Quoted 13 lines
 arch/arm/mach-clps711x/Kconfig                 |    6 -
 arch/arm/mach-clps711x/Makefile                |    1 -
 arch/arm/mach-clps711x/ceiva.c                 |   64 --
 arch/arm/mach-clps711x/include/mach/hardware.h |   48 --
 arch/arm/tools/mach-types                      |    1 -
 drivers/video/Kconfig                          |   12 -
 drivers/video/Makefile                         |    1 -
 drivers/video/epson1355fb.c                    |  749 ------------------------
 include/video/epson1355.h                      |   64 --
 9 files changed, 0 insertions(+), 946 deletions(-)
 delete mode 100644 arch/arm/mach-clps711x/ceiva.c
 delete mode 100644 drivers/video/epson1355fb.c
 delete mode 100644 include/video/epson1355.h
#5 lore raw

PATCH 1/4 ARM: clps711x: Remove board support for CEIVA

Quoted 6 lines · Arnd Bergmann
Quoted 5 lines · Alexander Shiyan

The current kernel does not fit in the CEIVA ROM. Also, some functional has already been removed due migrate from 2.6 to 3.0, and it seems that no one uses this platform. So, remove support for this board and modules specific only to this board.

Quoted 8 lines
Quoted 1 line

I got curious about this machine and found some ten year old emails and a howto from Colin Cross about this machine. Since he's still actively working on ARM Linux, maybe he has some final words to say about this platform before it gets removed.

Otherwise, no objections.

That was my first embedded linux hobby project, and I haven't touched it in ten years, although I probably have one in a box somewhere. I have no objection to removing it.

#6 lore raw

PATCH 1/4 ARM: clps711x: Remove board support for CEIVA

In reply to Alexander Shiyan
Quoted 6 lines · Alexander Shiyan

The current kernel does not fit in the CEIVA ROM. Also, some functional has already been removed due migrate from 2.6 to 3.0, and it seems that no one uses this platform. So, remove support for this board and modules specific only to this board.

Sorry, this fell through the cracks at first.

Quoted 5 lines
 arch/arm/mach-clps711x/Kconfig                 |    6 -
 arch/arm/mach-clps711x/Makefile                |    1 -
 arch/arm/mach-clps711x/ceiva.c                 |   64 --
 arch/arm/mach-clps711x/include/mach/hardware.h |   48 --
 arch/arm/tools/mach-types                      |    1 -
Quoted 8 lines
 drivers/video/Kconfig                          |   12 -
 drivers/video/Makefile                         |    1 -
 drivers/video/epson1355fb.c                    |  749 ------------------------
 include/video/epson1355.h                      |   64 --
 9 files changed, 0 insertions(+), 946 deletions(-)
 delete mode 100644 arch/arm/mach-clps711x/ceiva.c
 delete mode 100644 drivers/video/epson1355fb.c
 delete mode 100644 include/video/epson1355.h

I've added Florian to Cc as the drivers/video maintainer, since you are removing the epson1355fb driver along with its last user, and he might have objections. Florian, I hope it's ok to merge this through arm-soc, if not please let me know and I'll revert this.

I've applied the series to the next/cleanup2 branch in arm-soc now for the next 3.7 merge window.

Arnd