Re: [RFC] Adding MTD to device tree
From: Segher Boessenkool <hidden>
Date: 2006-08-12 18:48:20
quoted
quoted
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.
quoted
'm with your suggestion for device_type and model, but not compatable. "physmap"? What kind of device is that? ADirectly mapped NOR flash or ROM I think.
So use "flash" and "rom" as device_type (and as name, heh).
quoted
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