Re: [RFC] Adding MTD to device tree

Segher Boessenkool
2006-08-12T18:48:31Z

>>> 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