forked from Minki/linux
2c01a3d6b3
- add new property "atmel,fifo-size" - change "cs-gpios" to optional for SPI controller version >= 2. Please be aware that the VERSION register can not be used to guess the size of FIFOs. Indeed, for a given hardware version, the SPI controller can be integrated on Atmel SoCs with different FIFO sizes. Also the "atmel,fifo-size" property is optional as older SPI controllers don't embed FIFO at all. Besides, the FIFO size can not be read or guessed from other registers: When designing the FIFO feature, no dedicated registers were added to store this size. Unused spaces in the I/O register range are limited and better reserved for future usages. Instead, the FIFO size of each peripheral is documented in the programmer datasheet. Finally, on a given SoC, there can be several instances of the SPI controller with different FIFO sizes. This explain why we'd rather use a dedicated DT property than use the "compatible" property. For instance, sama5d2x SoCs come with some SPI controllers, the ones inside Flexcoms, integrating 32 data FIFOs whereas other SPI controllers use 16 data FIFOs. All these SPI controllers share the same IP version. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
brcm,bcm2835-spi.txt | ||
efm32-spi.txt | ||
fsl-imx-cspi.txt | ||
fsl-spi.txt | ||
mxs-spi.txt | ||
nvidia,tegra20-sflash.txt | ||
nvidia,tegra20-slink.txt | ||
nvidia,tegra114-spi.txt | ||
omap-spi.txt | ||
qcom,spi-qup.txt | ||
sh-hspi.txt | ||
sh-msiof.txt | ||
snps,dw-apb-ssi.txt | ||
spi_altera.txt | ||
spi_atmel.txt | ||
spi_oc_tiny.txt | ||
spi_pl022.txt | ||
spi-bus.txt | ||
spi-cadence.txt | ||
spi-davinci.txt | ||
spi-dw.txt | ||
spi-fsl-dspi.txt | ||
spi-gpio.txt | ||
spi-img-spfi.txt | ||
spi-meson.txt | ||
spi-octeon.txt | ||
spi-orion.txt | ||
spi-rockchip.txt | ||
spi-rspi.txt | ||
spi-samsung.txt | ||
spi-sc18is602.txt | ||
spi-sirf.txt | ||
spi-st-ssc.txt | ||
spi-sun4i.txt | ||
spi-sun6i.txt | ||
spi-xtensa-xtfpga.txt | ||
ti_qspi.txt |