[RFC] Adding MTD to device tree
Segher Boessenkool
segher at kernel.crashing.org
Sun Aug 13 04:48:20 EST 2006
>>> I would prefer to call them something different in the device tree.
>>> The name 'mtd' is very specific to Linux, but the device tree
>>> is a more generic concept.
>
> "Memory type devices" are specific to Linux? Doubt it. :-)
The name "mtd" is.
> In fact, device type "flash" sounds too restrictive.
But we can't call it "memory", that one is taken already.
>> 'm with your suggestion for device_type and model, but not
>> compatable. "physmap"? What kind of device is that? A
>
> Directly mapped NOR flash or ROM I think.
So use "flash" and "rom" as device_type (and as name, heh).
>> appropriate. Physmap is the name of another linux driver.
>
> And the role of the "compatible" prop is exactly to help OS in
> selecting
> the driver.
But it *cannot* do that by just naming the driver. Not every OS
calls this driver "physmap", you know.
Segher
More information about the Linuxppc-dev
mailing list