From: Segher Boessenkool <segher@kernel.crashing.org>
To: David Gibson <dwg@au1.ibm.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Document and implement an improved flash device binding
Date: Fri, 7 Sep 2007 15:58:39 +0200 [thread overview]
Message-ID: <58aa17750f64df739b86abeff2616d55@kernel.crashing.org> (raw)
In-Reply-To: <20070907010449.GL26079@localhost.localdomain>
>>>> Let's have bank-width optional instead, it's more natural
>>>> that way for the common case of just one chip. Or, you can
>>>> say that either is optional.
>>>
>>> No, I'm disinclined to do that since bank-width is the primary bit of
>>> information that the driver needs.
>>
>> Bzzzzt. That's not what the device tree is about; it should
>> describe the hardware, it shouldn't be just a config file for
>> the current Linux drivers.
>
> Yes, yes, so you've said many times.
Glad you noticed :-)
> But where there are multiple ways of encoding exactly the same
> information, I don't see that we can't use driver convenience as a
> deciding factor.
But a driver that supports interleaving needs _both_ those pieces
of information, and a driver that doesn't needs the device-width
only.
Sure, the current MTD driver will use some heuristics to guess
the device width, but an interface via which it can get it from
the device tree will have to be added anyway.
Segher
prev parent reply other threads:[~2007-09-07 13:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-29 6:13 Document and implement an improved flash device binding David Gibson
2007-08-29 8:43 ` Domen Puncer
2007-08-30 1:18 ` David Gibson
2007-09-03 10:23 ` Segher Boessenkool
2007-09-05 2:59 ` David Gibson
2007-09-06 13:28 ` Segher Boessenkool
2007-09-07 1:04 ` David Gibson
2007-09-07 13:58 ` Segher Boessenkool [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=58aa17750f64df739b86abeff2616d55@kernel.crashing.org \
--to=segher@kernel.crashing.org \
--cc=dwg@au1.ibm.com \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).