* [PATCH 1/3] add UART IRQ number for EV64120
@ 2006-10-01 10:35 Yoichi Yuasa
2006-10-01 10:43 ` [PATCH 2/3] rename SERIAL_PORT_DEFNS " Yoichi Yuasa
2006-10-01 19:44 ` [PATCH 1/3] add UART IRQ number for EV64120 Ralf Baechle
0 siblings, 2 replies; 5+ messages in thread
From: Yoichi Yuasa @ 2006-10-01 10:35 UTC (permalink / raw)
To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips
Hi Ralf,
This patch has added UART IRQ number for EV64120.
Yoichi
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
diff -pruN -X mips/Documentation/dontdiff mips-orig/include/asm-mips/mach-ev64120/mach-gt64120.h mips/include/asm-mips/mach-ev64120/mach-gt64120.h
--- mips-orig/include/asm-mips/mach-ev64120/mach-gt64120.h 2006-10-01 16:12:37.741496250 +0900
+++ mips/include/asm-mips/mach-ev64120/mach-gt64120.h 2006-10-01 16:14:24.228151250 +0900
@@ -42,6 +42,7 @@ extern unsigned long gt64120_base;
#define EV64120_UART0_REGS_BASE (KSEG1ADDR(EV64120_COM1_BASE_ADDR))
#define EV64120_UART1_REGS_BASE (KSEG1ADDR(EV64120_COM2_BASE_ADDR))
#define EV64120_BASE_BAUD ( 3686400 / 16 )
+#define EV64120_UART_IRQ 6
/*
* PCI interrupts will come in on either the INTA or INTD interrups lines,
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/3] rename SERIAL_PORT_DEFNS for EV64120
2006-10-01 10:35 [PATCH 1/3] add UART IRQ number for EV64120 Yoichi Yuasa
@ 2006-10-01 10:43 ` Yoichi Yuasa
2006-10-01 10:47 ` [PATCH 3/3] remove unused galileo-boars header files Yoichi Yuasa
2006-10-01 19:44 ` [PATCH 1/3] add UART IRQ number for EV64120 Ralf Baechle
1 sibling, 1 reply; 5+ messages in thread
From: Yoichi Yuasa @ 2006-10-01 10:43 UTC (permalink / raw)
To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips
Hi Ralf,
This patch has renamed serial ports definition for EV64120.
Yoichi
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
diff -pruN -X mips/Documentation/dontdiff mips-orig/include/asm-mips/serial.h mips/include/asm-mips/serial.h
--- mips-orig/include/asm-mips/serial.h 2006-10-01 16:12:38.497543500 +0900
+++ mips/include/asm-mips/serial.h 2006-10-01 16:30:18.963818500 +0900
@@ -55,19 +55,18 @@
* Galileo EV64120 evaluation board
*/
#ifdef CONFIG_MIPS_EV64120
-#include <asm/galileo-boards/ev96100.h>
-#include <asm/galileo-boards/ev96100int.h>
-#define EV96100_SERIAL_PORT_DEFNS \
- { .baud_base = EV96100_BASE_BAUD, .irq = EV96100INT_UART_0, \
+#include <mach-gt64120.h>
+#define EV64120_SERIAL_PORT_DEFNS \
+ { .baud_base = EV64120_BASE_BAUD, .irq = EV64120_UART_IRQ, \
.flags = STD_COM_FLAGS, \
- .iomem_base = EV96100_UART0_REGS_BASE, .iomem_reg_shift = 2, \
+ .iomem_base = EV64120_UART0_REGS_BASE, .iomem_reg_shift = 2, \
.io_type = SERIAL_IO_MEM }, \
- { .baud_base = EV96100_BASE_BAUD, .irq = EV96100INT_UART_0, \
+ { .baud_base = EV64120_BASE_BAUD, .irq = EV64120_UART_IRQ, \
.flags = STD_COM_FLAGS, \
- .iomem_base = EV96100_UART1_REGS_BASE, .iomem_reg_shift = 2, \
+ .iomem_base = EV64120_UART1_REGS_BASE, .iomem_reg_shift = 2, \
.io_type = SERIAL_IO_MEM },
#else
-#define EV96100_SERIAL_PORT_DEFNS
+#define EV64120_SERIAL_PORT_DEFNS
#endif
#ifdef CONFIG_MIPS_ITE8172
@@ -239,7 +238,7 @@
#define SERIAL_PORT_DFNS \
DDB5477_SERIAL_PORT_DEFNS \
- EV96100_SERIAL_PORT_DEFNS \
+ EV64120_SERIAL_PORT_DEFNS \
IP32_SERIAL_PORT_DEFNS \
ITE_SERIAL_PORT_DEFNS \
IVR_SERIAL_PORT_DEFNS \
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 3/3] remove unused galileo-boars header files
2006-10-01 10:43 ` [PATCH 2/3] rename SERIAL_PORT_DEFNS " Yoichi Yuasa
@ 2006-10-01 10:47 ` Yoichi Yuasa
0 siblings, 0 replies; 5+ messages in thread
From: Yoichi Yuasa @ 2006-10-01 10:47 UTC (permalink / raw)
To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips
Hi Ralf,
This patch has removed unused galileo-boards header files.
Yoichi
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
diff -pruN -X mips/Documentation/dontdiff mips-orig/include/asm-mips/galileo-boards/ev96100.h mips/include/asm-mips/galileo-boards/ev96100.h
--- mips-orig/include/asm-mips/galileo-boards/ev96100.h 2006-10-01 16:12:37.713494500 +0900
+++ mips/include/asm-mips/galileo-boards/ev96100.h 1970-01-01 09:00:00.000000000 +0900
@@ -1,55 +0,0 @@
-/*
- *
- */
-#ifndef _MIPS_EV96100_H
-#define _MIPS_EV96100_H
-
-#include <asm/addrspace.h>
-
-/*
- * GT64120 config space base address
- */
-#define GT64120_BASE (KSEG1ADDR(0x14000000))
-#define MIPS_GT_BASE GT64120_BASE
-
-/*
- * PCI Bus allocation
- */
-#define GT_PCI_MEM_BASE 0x12000000UL
-#define GT_PCI_MEM_SIZE 0x02000000UL
-#define GT_PCI_IO_BASE 0x10000000UL
-#define GT_PCI_IO_SIZE 0x02000000UL
-#define GT_ISA_IO_BASE PCI_IO_BASE
-
-/*
- * Duart I/O ports.
- */
-#define EV96100_COM1_BASE_ADDR (0xBD000000 + 0x20)
-#define EV96100_COM2_BASE_ADDR (0xBD000000 + 0x00)
-
-
-/*
- * EV96100 interrupt controller register base.
- */
-#define EV96100_ICTRL_REGS_BASE (KSEG1ADDR(0x1f000000))
-
-/*
- * EV96100 UART register base.
- */
-#define EV96100_UART0_REGS_BASE EV96100_COM1_BASE_ADDR
-#define EV96100_UART1_REGS_BASE EV96100_COM2_BASE_ADDR
-#define EV96100_BASE_BAUD ( 3686400 / 16 )
-
-
-/*
- * Because of an error/peculiarity in the Galileo chip, we need to swap the
- * bytes when running bigendian.
- */
-#define __GT_READ(ofs) \
- (*(volatile u32 *)(GT64120_BASE+(ofs)))
-#define __GT_WRITE(ofs, data) \
- do { *(volatile u32 *)(GT64120_BASE+(ofs)) = (data); } while (0)
-#define GT_READ(ofs) le32_to_cpu(__GT_READ(ofs))
-#define GT_WRITE(ofs, data) __GT_WRITE(ofs, cpu_to_le32(data))
-
-#endif /* !(_MIPS_EV96100_H) */
diff -pruN -X mips/Documentation/dontdiff mips-orig/include/asm-mips/galileo-boards/ev96100int.h mips/include/asm-mips/galileo-boards/ev96100int.h
--- mips-orig/include/asm-mips/galileo-boards/ev96100int.h 2006-10-01 16:12:37.713494500 +0900
+++ mips/include/asm-mips/galileo-boards/ev96100int.h 1970-01-01 09:00:00.000000000 +0900
@@ -1,12 +0,0 @@
-/*
- *
- */
-#ifndef _MIPS_EV96100INT_H
-#define _MIPS_EV96100INT_H
-
-#define EV96100INT_UART_0 6 /* IP 6 */
-#define EV96100INT_TIMER 7 /* IP 7 */
-
-extern void ev96100int_init(void);
-
-#endif /* !(_MIPS_EV96100_H) */
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] add UART IRQ number for EV64120
2006-10-01 10:35 [PATCH 1/3] add UART IRQ number for EV64120 Yoichi Yuasa
2006-10-01 10:43 ` [PATCH 2/3] rename SERIAL_PORT_DEFNS " Yoichi Yuasa
@ 2006-10-01 19:44 ` Ralf Baechle
2006-10-02 2:59 ` Yoichi Yuasa
1 sibling, 1 reply; 5+ messages in thread
From: Ralf Baechle @ 2006-10-01 19:44 UTC (permalink / raw)
To: Yoichi Yuasa; +Cc: linux-mips
All three applied.
That said I'm wondering if anybody is still using the EV64120 or if it
would make another candidate for deletion.
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] add UART IRQ number for EV64120
2006-10-01 19:44 ` [PATCH 1/3] add UART IRQ number for EV64120 Ralf Baechle
@ 2006-10-02 2:59 ` Yoichi Yuasa
0 siblings, 0 replies; 5+ messages in thread
From: Yoichi Yuasa @ 2006-10-02 2:59 UTC (permalink / raw)
To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips
Hi Ralf,
On Sun, 1 Oct 2006 20:44:09 +0100
Ralf Baechle <ralf@linux-mips.org> wrote:
> All three applied.
Thanks.
> That said I'm wondering if anybody is still using the EV64120 or if it
> would make another candidate for deletion.
I agree, if you add EV64120 to the deletion list.
Yoichi
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-10-02 2:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-01 10:35 [PATCH 1/3] add UART IRQ number for EV64120 Yoichi Yuasa
2006-10-01 10:43 ` [PATCH 2/3] rename SERIAL_PORT_DEFNS " Yoichi Yuasa
2006-10-01 10:47 ` [PATCH 3/3] remove unused galileo-boars header files Yoichi Yuasa
2006-10-01 19:44 ` [PATCH 1/3] add UART IRQ number for EV64120 Ralf Baechle
2006-10-02 2:59 ` Yoichi Yuasa
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.