[PATCH V1 4/5] spi: Add Freescale QuadSpi driver
b32955 at freescale.com
Thu Aug 22 22:14:38 EDT 2013
于 2013年08月23日 03:21, Brian Norris 写道:
> Can this controller support more than one chip? If so, then the nor-size
> property makes even less sense. See below.
this controller can supports two same chips at the same time.
>> > +- clocks : The clocks needed by the QuadSPI controller
>> > +- clock-names : the name of the clocks
>> > +
>> > +Optional properties:
>> > +- fsl,nor-size : The NOR size used by the QuadSPI mapping.
> Why does the size of the NOR flash need to be in the controller's device
> node? Shouldn't this be detected at run-time if possible? Or at least
yes, i can parse out the NOR size by the DT node.
I can remove this DT property in the next version.
> included as a property of m25p80, if absolutely required?
the m25p80 has already contains the NOR size by: sector_size * n_sectors.
but as a spi driver , there is no API i can use to get the NOR size.
More information about the linux-mtd