public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Divyanshu Verma <dverma@broadcom.com>
Cc: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: Regarding NAND driver based on PrimeCell Static Memory Controller (PL350 series)
Date: Mon, 14 Jul 2008 07:26:43 -0700	[thread overview]
Message-ID: <1216045603.27455.25.camel@shinybook.infradead.org> (raw)
In-Reply-To: <E06E3B7BBC07864CADE892DAF1EB0FBD095146C0@NT-SJCA-0752.brcm.ad.broadcom.com>

On Mon, 2008-07-14 at 03:33 -0700, Divyanshu Verma wrote:
> I am trying to implement a NAND driver for our SOC. The problem I am
> facing is that, our NAND controller does not allow me to have access to
> hardware specific control line. In other words, I cannot follow the
> mechanism given on http://www.linux-mtd.infradead.org/ for NAND driver
> as I cannot write  "my_nand_hwcontrol"  function. The H/w guys say that
> all this is taken care in the controller itself.
> 
> I then decided to identify the NAND Chip as a MTD_BLOCK device, so that
> I  will not require any Hwcontrol function. Now for doing so, is it
> possible to write a kernel module for NAND which can use functions
> exported by mtd/mtd_blkdevs.c ?

It sounds like it isn't 'NAND' at all, as far as you're concerned. It's
a disk drive of some form. Usually these things present themselves as
IDE, so you'd use the IDE driver. If it has its own 'special' interface
then you probably want a dedicated block driver for it; nothing to do
with the MTD subsystem at all.

-- 
dwmw2

  reply	other threads:[~2008-07-14 14:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-11 13:34 [PATCH][MIPS] MTX-1 flash partition setup move to platform devices registration Yoichi Yuasa
2008-07-11 13:50 ` Florian Fainelli
2008-07-11 14:10 ` Ralf Baechle
2008-07-11 17:39   ` David Woodhouse
2008-07-14 10:33     ` Regarding NAND driver based on PrimeCell Static Memory Controller (PL350 series) Divyanshu Verma
2008-07-14 14:26       ` David Woodhouse [this message]
2008-08-26  8:29         ` Divyanshu Verma
2008-07-14 20:33       ` Vitaly Wool
2008-07-14 11:47     ` [PATCH][MIPS] MTX-1 flash partition setup move to platform devices registration Ralf Baechle

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=1216045603.27455.25.camel@shinybook.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=dverma@broadcom.com \
    --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