Re: [PATCH V1 4/5] spi: Add Freescale QuadSpi driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

yes.

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.

thanks
Huang Shijie





--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux