linux/Documentation/devicetree/bindings/spi
Cyrille Pitchen 2c01a3d6b3 spi: atmel: update DT bindings documentation
- 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>
2015-06-16 13:08:18 +01:00
..
brcm,bcm2835-spi.txt doc: fix misspellings with 'codespell' tool 2013-05-28 12:02:12 +02:00
efm32-spi.txt spi: efm32: correct namespacing of location property 2014-07-11 13:39:36 +01:00
fsl-imx-cspi.txt spi: fsl-imx-cspi: add explicit compatible strings and required clock properties 2015-03-05 17:07:06 +00:00
fsl-spi.txt spi: fsl-espi: Configure FSL eSPI CSBEF and CSAFT 2014-04-16 22:04:07 +01:00
mxs-spi.txt spi: mxs-spi: move to use generic DMA helper 2013-04-04 21:22:44 +08:00
nvidia,tegra20-sflash.txt ARM: tegra: document use of standard DMA DT bindings 2013-12-11 16:42:23 -07:00
nvidia,tegra20-slink.txt ARM: tegra: document use of standard DMA DT bindings 2013-12-11 16:42:23 -07:00
nvidia,tegra114-spi.txt Documentation: DT bindings: add more Tegra chip compatible strings 2015-02-03 20:37:31 -06:00
omap-spi.txt ARM: OMAP: devicetree: fix SPI node compatible property syntax items 2013-11-14 10:43:19 -08:00
qcom,spi-qup.txt spi: qup: Add DMA capabilities 2015-03-07 11:21:20 +00:00
sh-hspi.txt spi: sh-spi: Improve bindings 2014-03-11 10:38:41 +00:00
sh-msiof.txt spi: sh-msiof: Configure MSIOF sync signal timing in device tree 2014-12-24 12:31:17 +00:00
snps,dw-apb-ssi.txt spi: dw-mmio: add devicetree support 2014-07-03 19:44:04 +01:00
spi_altera.txt dts: Deprecate ALTR as a vendor prefix 2013-08-29 12:58:55 -07:00
spi_atmel.txt spi: atmel: update DT bindings documentation 2015-06-16 13:08:18 +01:00
spi_oc_tiny.txt
spi_pl022.txt spi: pl022: use generic DMA slave configuration if possible 2013-03-12 17:56:08 +01:00
spi-bus.txt Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial into next 2014-06-04 08:50:34 -07:00
spi-cadence.txt spi: Add devicetree bindings documentation for Cadence SPI 2014-04-14 21:00:31 +01:00
spi-davinci.txt spi: davinci: add support for adding delay between word's transmissions 2014-09-16 10:31:35 -07:00
spi-dw.txt spi: dw: document device tree binding 2014-04-24 18:01:05 +01:00
spi-fsl-dspi.txt spi: fsl-dspi: Add cs-sck delays 2015-04-06 18:12:22 +01:00
spi-gpio.txt spi: spi-gpio: Add dt support for a single device with no chip select 2014-11-04 19:57:25 +00:00
spi-img-spfi.txt spi: img-spfi: Control CS lines with GPIO 2015-04-08 21:04:51 +01:00
spi-meson.txt spi: meson: Add device tree bindings documentation for SPIFC 2014-11-24 18:54:47 +00:00
spi-octeon.txt spi: Add SPI master controller for OCTEON SOCs. 2012-08-22 23:46:38 +02:00
spi-orion.txt spi: orion: support armada extended baud rates 2014-10-01 19:21:51 +01:00
spi-rockchip.txt spi/rockchip: Add device tree property to configure Rx Sample Delay 2015-03-26 17:42:21 -07:00
spi-rspi.txt spi: rspi: Add support for new R-Car Gen2 SoCs 2014-08-28 15:33:17 +01:00
spi-samsung.txt spi: s3c64xx: add support for exynos7 SPI controller 2014-11-26 19:00:34 +00:00
spi-sc18is602.txt spi: Master driver for NXP SC18IS602/603 2012-08-22 19:34:51 +01:00
spi-sirf.txt spi: sirf: add missed devicetree binding document 2015-01-12 12:30:46 +00:00
spi-st-ssc.txt spi: st: Provide Device Tree binding documentation 2014-12-22 18:16:57 +00:00
spi-sun4i.txt spi: sunxi: Add Allwinner A10 SPI controller driver 2014-02-23 11:14:46 +09:00
spi-sun6i.txt spi: sunxi: Add Allwinner A31 SPI controller driver 2014-02-05 14:58:36 +00:00
spi-xtensa-xtfpga.txt spi/xtensa-xtfpga: add DT binding documentation 2014-03-13 09:12:45 +00:00
ti_qspi.txt spi/qspi: update binding information 2013-12-19 13:33:50 +00:00