Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: Add DT bindings for Synquacer

This patch adds documentation for Device-Tree bindings for the
Socionext Synquacer spi driver.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Masahisa Kojima and committed by
Mark Brown
6d72a49f 6acf0ed5

+27
+27
Documentation/devicetree/bindings/spi/spi-synquacer.txt
··· 1 + * Socionext Synquacer HS-SPI bindings 2 + 3 + Required Properties: 4 + - compatible: should be "socionext,synquacer-spi" 5 + - reg: physical base address of the controller and length of memory mapped 6 + region. 7 + - interrupts: should contain the "spi_rx", "spi_tx" and "spi_fault" interrupts. 8 + - clocks: core clock iHCLK. Optional rate clock iPCLK (default is iHCLK) 9 + - clock-names: Shall be "iHCLK" and "iPCLK" respectively 10 + 11 + Optional Properties: 12 + - socionext,use-rtm: boolean, if required to use "retimed clock" for RX 13 + - socionext,set-aces: boolean, if same active clock edges field to be set. 14 + 15 + Example: 16 + 17 + spi0: spi@ff110000 { 18 + compatible = "socionext,synquacer-spi"; 19 + reg = <0xff110000 0x1000>; 20 + interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, 21 + <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, 22 + <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>; 23 + clocks = <&clk_hsspi>; 24 + clock-names = "iHCLK"; 25 + socionext,use-rtm; 26 + socionext,set-aces; 27 + };