public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Simon Posnjak <simon.posnjak@cetrtapot.si>
To: linux-mtd@lists.infradead.org
Subject: IO_ADDR_R and IO_ADDR_W
Date: Wed, 25 May 2005 16:50:04 +0200	[thread overview]
Message-ID: <4294909C.8070307@cetrtapot.si> (raw)

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

                 reply	other threads:[~2005-05-25 14:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4294909C.8070307@cetrtapot.si \
    --to=simon.posnjak@cetrtapot.si \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox