public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* IO_ADDR_R and IO_ADDR_W
@ 2005-05-25 14:50 Simon Posnjak
  0 siblings, 0 replies; only message in thread
From: Simon Posnjak @ 2005-05-25 14:50 UTC (permalink / raw)
  To: linux-mtd

Hi,

I am writing a board specific driver. We have Toshiba TC58DVM 32 MB chip 
connected over gpio (g) port.

Pins are:

_Data:
_
 
g8  <-> I/O1
g9  <-> I/O2
g10 <-> I/O3
g11 <-> I/O4
g12 <-> I/O5
g13 <-> I/O6
g14 <-> I/O7
g15 <-> I/O8
 
_Control:
_
 
g16 <-- RY/BY
g17 --> /RE
g18 --> /CE
g19 --> CLE
g20 --> ALE
g21 --> /WE
g22 --> /WP

The g port address is 0xB0000028  (32-bit).

My questions are:

1. What address do I have to supply to IO_ADDR_R and IO_ADDR_W fields? 
The address of the g port? The g port + 1 (0xB0000029) [so that we start 
reading at g8]? Or should I provide a function that reads and writes the 
I/O pins?

2. We are using the rest of the pins for some other devices. Will my 
driver interfere with there drivers?

Thank you.

          Regards Simon

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-25 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-25 14:50 IO_ADDR_R and IO_ADDR_W Simon Posnjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox