From: Wolfgang Grandegger <wg@grandegger.com>
To: Scott Wood <scottwood@freescale.com>
Cc: linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org
Subject: Re: [PATCH v2 4/5] powerpc: NAND: FSL UPM: document new bindings
Date: Tue, 24 Mar 2009 19:59:04 +0100 [thread overview]
Message-ID: <49C92D78.7010907@grandegger.com> (raw)
In-Reply-To: <20090319170530.GA2744@ld0162-tx32.am.freescale.net>
Scott Wood wrote:
> On Thu, Mar 19, 2009 at 04:16:07PM +0100, Wolfgang Grandegger wrote:
>> +Optional properties:
>> +- fsl,upm-mar-offset : use the UPM machine address register to drive a
>> + custom chip select logic using the specified
>> + offset.
>
> Your example uses the name fsl,upm-mar-chip-offset instead.
I need to fix the documentation then.
>> +- chip-offset : address offset between chips for multi-chip support.
>
> How is this different from fsl,upm-mar-offset?
Well, after a closer look, it's the same, hardware-wise. The offset sets
the corresponding address lines, which are used to select the chip. As
it is currently, "chip-offset" is used for:
chip->IO_ADDR_R = chip->IO_ADDR_W =
fun->upm.io_addr + fun->chip_offset * chip_nr;
and "upm-mar-chip-offset" to set the address lines through the MAR
register when running the command or address patterns:
mar += fun->upm_mar_chip_offset * fun->chip_nr;
I'm going to remove "upm_mar_chip_offset" and use "chip_offset" instead,
also for the U-Boot version. Thanks for pointing that out.
Wolfgang.
prev parent reply other threads:[~2009-03-24 18:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-19 15:16 [PATCH v2 0/5] NAND: Multi-chip support for FSL-UPM for TQM8548 modules Wolfgang Grandegger
2009-03-19 15:16 ` Wolfgang Grandegger
2009-03-19 15:16 ` [PATCH v2 1/5] NAND: FSL-UPM: add multi chip support Wolfgang Grandegger
2009-03-19 15:16 ` Wolfgang Grandegger
2009-03-19 15:16 ` [PATCH v2 2/5] NAND: FSL-UPM: add support for selecting chips via MAR Wolfgang Grandegger
2009-03-19 15:16 ` Wolfgang Grandegger
2009-03-19 15:16 ` [PATCH v2 3/5] NAND: FSL-UPM: Add wait flags to support board/chip specific delays Wolfgang Grandegger
2009-03-19 15:16 ` Wolfgang Grandegger
2009-03-19 15:16 ` [PATCH v2 4/5] powerpc: NAND: FSL UPM: document new bindings Wolfgang Grandegger
2009-03-19 15:16 ` Wolfgang Grandegger
2009-03-19 15:16 ` [PATCH v2 5/5] powerpc/85xx: TQM8548: Update DTS file for multi-chip support Wolfgang Grandegger
2009-03-19 15:16 ` Wolfgang Grandegger
2009-03-19 17:05 ` [PATCH v2 4/5] powerpc: NAND: FSL UPM: document new bindings Scott Wood
2009-03-24 18:59 ` Wolfgang Grandegger [this message]
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=49C92D78.7010907@grandegger.com \
--to=wg@grandegger.com \
--cc=linux-mtd@lists.infradead.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=scottwood@freescale.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.