Skip to contentSkip to conversation

TI: DaVinci: Adding GIO addresses to header file

PATCH New s-paulraj at ti.com 3 participants 4 messages Sep 12, 2009 – Sep 22, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TI: DaVinci: Adding GIO addresses to header file

From: Sandeep Paulraj <[email protected]>

This patch adds GIO definitions to the hardware.h
header file

---
 include/asm-arm/arch-davinci/hardware.h |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
include/asm-arm/arch-davinci/hardware.h +23 -0
index 313b3f3..3d31d24 100644
@@ -181,6 +181,29 @@ void davinci_errata_workarounds(void);
 
 #define PSC_SILVER_BULLET		(0x01c41a20)
 
+/* GIO registers */
+#define GIO_BINTEN		0x01C67008
+#define GIO_DIR01		0x01C67010
+#define GIO_OUT_DATA01		0x01C67014
+#define GIO_SET_DATA01		0x01C67018
+#define GIO_CLR_DATA01		0x01C6701C
+#define GIO_SET_RIS_TRIG01	0x01C67024
+
+#define GIO_DIR23		0x01C67038
+#define GIO_OUT_DATA23		0x01C6703c
+#define GIO_SET_DATA23		0x01C67040
+#define GIO_CLR_DATA23		0x01C67044
+
+#define GIO_DIR45		0x01C67060
+#define GIO_OUT_DATA45		0x01C67064
+#define GIO_SET_DATA45		0x01C67068
+#define GIO_CLR_DATA45		0x01C6706C
+
+#define GIO_DIR06		0x01C67088
+#define GIO_OUT_DATA06		0x01C6708C
+#define GIO_SET_DATA06		0x01C67090
+#define GIO_CLR_DATA06		0x01C67094
+
 /* Miscellania... */
 #define VBPR				(0x20000020)
 
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 TI: DaVinci: Adding GIO addresses to header file

Quoted 4 lines

From: Sandeep Paulraj <[email protected]>

Quoted 8 lines

This patch adds GIO definitions to the hardware.h
header file

---
 include/asm-arm/arch-davinci/hardware.h |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

Pushed to u-boot-ti

#2 lore raw

PATCH 1/1 TI: DaVinci: Adding GIO addresses to header file

Dear "Paulraj, Sandeep",

Quoted 7 lines · In message <[email protected]> you…
Quoted 7 lines

From: Sandeep Paulraj <[email protected]>

This patch adds GIO definitions to the hardware.h
header file

Quoted 6 lines
Quoted 5 lines
---
 include/asm-arm/arch-davinci/hardware.h |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

Pushed to u-boot-ti

Sorry, I just NAKed that patch.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is a good thing for an uneducated man to read books of quotations.
                        - Sir Winston Churchill _My Early Life_ ch. 9
#3 lore raw

PATCH 1/1 TI: DaVinci: Adding GIO addresses to header file

In reply to s-paulraj at ti.com

Dear s-paulraj at ti.com,

Quoted 6 lines · In message <[email protected]> you wrote:

From: Sandeep Paulraj <[email protected]>

This patch adds GIO definitions to the hardware.h
header file

NAK. Please do not add such address lists. Please use C structures to describe the hardware mapping.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Never call a man a fool.  Borrow from him.