linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PATCH: add mv64x60 GPP IO pin/IRQ register definitions
@ 2005-02-23 20:59 James Chapman
  2005-02-23 22:26 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: James Chapman @ 2005-02-23 20:59 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 103 bytes --]

Add mv64x60 GPP IO pin/IRQ register definitions

Signed-off-by: James Chapman <jchapman@katalix.com>



[-- Attachment #2: mv64x60_gpp_defs.patch --]
[-- Type: text/plain, Size: 2400 bytes --]

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/02/23 16:14:11+00:00 jchapman@katalix.com 
#   Add mv64x60 GPP IO pin/IRQ register definitions.
# 
# include/asm-ppc/mv64x60_defs.h
#   2005/02/23 16:14:03+00:00 jchapman@katalix.com +41 -0
#   Add mv64x60 GPP IO pin/IRQ register definitions.
# 
diff -Nru a/include/asm-ppc/mv64x60_defs.h b/include/asm-ppc/mv64x60_defs.h
--- a/include/asm-ppc/mv64x60_defs.h	2005-02-23 16:14:56 +00:00
+++ b/include/asm-ppc/mv64x60_defs.h	2005-02-23 16:14:56 +00:00
@@ -43,6 +43,10 @@
 #define	MV64x60_IRQ_TIMER_2_3			9
 #define	MV64x60_IRQ_TIMER_4_5			10
 #define	MV64x60_IRQ_TIMER_6_7			11
+#define MV64x60_IRQ_P1_GPP_0_7			24
+#define MV64x60_IRQ_P1_GPP_8_15			25
+#define MV64x60_IRQ_P1_GPP_16_23		26
+#define MV64x60_IRQ_P1_GPP_24_31		27
 #define MV64x60_IRQ_DOORBELL			28
 #define	MV64x60_IRQ_ETH_0			32
 #define	MV64x60_IRQ_ETH_1			33
@@ -53,11 +57,48 @@
 #define	MV64x60_IRQ_MPSC_0			40
 #define	MV64x60_IRQ_MPSC_1			42
 #define	MV64x60_IRQ_COMM			43
+#define MV64x60_IRQ_P0_GPP_0_7			56
+#define MV64x60_IRQ_P0_GPP_8_15			57
+#define MV64x60_IRQ_P0_GPP_16_23		58
+#define MV64x60_IRQ_P0_GPP_24_31		59
 
 #define	MV64360_IRQ_PCI0			12
 #define	MV64360_IRQ_SRAM_PAR_ERR		13
 #define	MV64360_IRQ_PCI1			16
 #define	MV64360_IRQ_SDMA_1			38
+
+#define MV64x60_IRQ_GPP0			64
+#define MV64x60_IRQ_GPP1			65
+#define MV64x60_IRQ_GPP2			66
+#define MV64x60_IRQ_GPP3			67
+#define MV64x60_IRQ_GPP4			68
+#define MV64x60_IRQ_GPP5			69
+#define MV64x60_IRQ_GPP6			70
+#define MV64x60_IRQ_GPP7			71
+#define MV64x60_IRQ_GPP8			72
+#define MV64x60_IRQ_GPP9			73
+#define MV64x60_IRQ_GPP10			74
+#define MV64x60_IRQ_GPP11			75
+#define MV64x60_IRQ_GPP12			76
+#define MV64x60_IRQ_GPP13			77
+#define MV64x60_IRQ_GPP14			78
+#define MV64x60_IRQ_GPP15			79
+#define MV64x60_IRQ_GPP16			80
+#define MV64x60_IRQ_GPP17			81
+#define MV64x60_IRQ_GPP18			82
+#define MV64x60_IRQ_GPP19			83
+#define MV64x60_IRQ_GPP20			84
+#define MV64x60_IRQ_GPP21			85
+#define MV64x60_IRQ_GPP22			86
+#define MV64x60_IRQ_GPP23			87
+#define MV64x60_IRQ_GPP24			88
+#define MV64x60_IRQ_GPP25			89
+#define MV64x60_IRQ_GPP26			90
+#define MV64x60_IRQ_GPP27			91
+#define MV64x60_IRQ_GPP28			92
+#define MV64x60_IRQ_GPP29			93
+#define MV64x60_IRQ_GPP30			94
+#define MV64x60_IRQ_GPP31			95
 
 /* Offsets for register blocks */
 #define	GT64260_ENET_PHY_ADDR			0x2000

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

* Re: PATCH: add mv64x60 GPP IO pin/IRQ register definitions
  2005-02-23 20:59 PATCH: add mv64x60 GPP IO pin/IRQ register definitions James Chapman
@ 2005-02-23 22:26 ` Tom Rini
  2005-02-24  9:37   ` James Chapman
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2005-02-23 22:26 UTC (permalink / raw)
  To: James Chapman; +Cc: linuxppc-embedded

On Wed, Feb 23, 2005 at 08:59:14PM +0000, James Chapman wrote:

> Add mv64x60 GPP IO pin/IRQ register definitions

[snip]
>  #define	MV64x60_IRQ_TIMER_6_7			11
> +#define MV64x60_IRQ_P1_GPP_0_7			24

Please use consistent spacing.  Thanks.

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PATCH: add mv64x60 GPP IO pin/IRQ register definitions
  2005-02-23 22:26 ` Tom Rini
@ 2005-02-24  9:37   ` James Chapman
  0 siblings, 0 replies; 3+ messages in thread
From: James Chapman @ 2005-02-24  9:37 UTC (permalink / raw)
  To: Tom Rini; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

New version with whitespace fixed is attached. My mv64360 pic patch must 
be applied first.

Tom Rini wrote:
> On Wed, Feb 23, 2005 at 08:59:14PM +0000, James Chapman wrote:
> 
> 
>>Add mv64x60 GPP IO pin/IRQ register definitions
> 
> 
> [snip]
> 
>> #define	MV64x60_IRQ_TIMER_6_7			11
>>+#define MV64x60_IRQ_P1_GPP_0_7			24
> 
> 
> Please use consistent spacing.  Thanks.
> 

[-- Attachment #2: mv64x60_gpp_defs.patch --]
[-- Type: text/plain, Size: 2400 bytes --]

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/02/23 16:14:11+00:00 jchapman@katalix.com 
#   Add mv64x60 GPP IO pin/IRQ register definitions.
# 
# include/asm-ppc/mv64x60_defs.h
#   2005/02/23 16:14:03+00:00 jchapman@katalix.com +41 -0
#   Add mv64x60 GPP IO pin/IRQ register definitions.
# 
diff -Nru a/include/asm-ppc/mv64x60_defs.h b/include/asm-ppc/mv64x60_defs.h
--- a/include/asm-ppc/mv64x60_defs.h	2005-02-23 16:14:56 +00:00
+++ b/include/asm-ppc/mv64x60_defs.h	2005-02-23 16:14:56 +00:00
@@ -43,6 +43,10 @@
 #define	MV64x60_IRQ_TIMER_2_3			9
 #define	MV64x60_IRQ_TIMER_4_5			10
 #define	MV64x60_IRQ_TIMER_6_7			11
+#define	MV64x60_IRQ_P1_GPP_0_7			24
+#define	MV64x60_IRQ_P1_GPP_8_15			25
+#define	MV64x60_IRQ_P1_GPP_16_23		26
+#define	MV64x60_IRQ_P1_GPP_24_31		27
 #define	MV64x60_IRQ_DOORBELL			28
 #define	MV64x60_IRQ_ETH_0			32
 #define	MV64x60_IRQ_ETH_1			33
@@ -53,11 +57,48 @@
 #define	MV64x60_IRQ_MPSC_0			40
 #define	MV64x60_IRQ_MPSC_1			42
 #define	MV64x60_IRQ_COMM			43
+#define	MV64x60_IRQ_P0_GPP_0_7			56
+#define	MV64x60_IRQ_P0_GPP_8_15			57
+#define	MV64x60_IRQ_P0_GPP_16_23		58
+#define	MV64x60_IRQ_P0_GPP_24_31		59
 
 #define	MV64360_IRQ_PCI0			12
 #define	MV64360_IRQ_SRAM_PAR_ERR		13
 #define	MV64360_IRQ_PCI1			16
 #define	MV64360_IRQ_SDMA_1			38
+
+#define	MV64x60_IRQ_GPP0			64
+#define	MV64x60_IRQ_GPP1			65
+#define	MV64x60_IRQ_GPP2			66
+#define	MV64x60_IRQ_GPP3			67
+#define	MV64x60_IRQ_GPP4			68
+#define	MV64x60_IRQ_GPP5			69
+#define	MV64x60_IRQ_GPP6			70
+#define	MV64x60_IRQ_GPP7			71
+#define	MV64x60_IRQ_GPP8			72
+#define	MV64x60_IRQ_GPP9			73
+#define	MV64x60_IRQ_GPP10			74
+#define	MV64x60_IRQ_GPP11			75
+#define	MV64x60_IRQ_GPP12			76
+#define	MV64x60_IRQ_GPP13			77
+#define	MV64x60_IRQ_GPP14			78
+#define	MV64x60_IRQ_GPP15			79
+#define	MV64x60_IRQ_GPP16			80
+#define	MV64x60_IRQ_GPP17			81
+#define	MV64x60_IRQ_GPP18			82
+#define	MV64x60_IRQ_GPP19			83
+#define	MV64x60_IRQ_GPP20			84
+#define	MV64x60_IRQ_GPP21			85
+#define	MV64x60_IRQ_GPP22			86
+#define	MV64x60_IRQ_GPP23			87
+#define	MV64x60_IRQ_GPP24			88
+#define	MV64x60_IRQ_GPP25			89
+#define	MV64x60_IRQ_GPP26			90
+#define	MV64x60_IRQ_GPP27			91
+#define	MV64x60_IRQ_GPP28			92
+#define	MV64x60_IRQ_GPP29			93
+#define	MV64x60_IRQ_GPP30			94
+#define	MV64x60_IRQ_GPP31			95
 
 /* Offsets for register blocks */
 #define	GT64260_ENET_PHY_ADDR			0x2000

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

end of thread, other threads:[~2005-02-24  9:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-23 20:59 PATCH: add mv64x60 GPP IO pin/IRQ register definitions James Chapman
2005-02-23 22:26 ` Tom Rini
2005-02-24  9:37   ` James Chapman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).