Skip to content

Commit

Permalink
Merge remote-tracking branches 'spi/topic/qup', 'spi/topic/rockchip',…
Browse files Browse the repository at this point in the history
… 'spi/topic/rspi', 'spi/topic/s3c64xx' and 'spi/topic/sc18is602' into spi-next
  • Loading branch information
Mark Brown committed Apr 11, 2015
6 parents 8afba18 + 612762e + 76b17e6 + c9bc3e8 + 0744ea2 + b4e2754 commit 165f228
Show file tree
Hide file tree
Showing 7 changed files with 468 additions and 46 deletions.
8 changes: 8 additions & 0 deletions Documentation/devicetree/bindings/spi/qcom,spi-qup.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ Optional properties:
nodes. If unspecified, a single SPI device without a chip
select can be used.

- dmas: Two DMA channel specifiers following the convention outlined
in bindings/dma/dma.txt
- dma-names: Names for the dma channels, if present. There must be at
least one channel named "tx" for transmit and named "rx" for
receive.

SPI slave nodes must be children of the SPI master node and can contain
properties described in Documentation/devicetree/bindings/spi/spi-bus.txt
Expand All @@ -51,6 +56,9 @@ Example:
clocks = <&gcc GCC_BLSP2_QUP2_SPI_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
clock-names = "core", "iface";

dmas = <&blsp1_bam 13>, <&blsp1_bam 12>;
dma-names = "rx", "tx";

pinctrl-names = "default";
pinctrl-0 = <&spi8_default>;

Expand Down
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/spi/spi-rockchip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Optional Properties:
- dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
Documentation/devicetree/bindings/dma/dma.txt
- dma-names: DMA request names should include "tx" and "rx" if present.
- rx-sample-delay-ns: nanoseconds to delay after the SCLK edge before sampling
Rx data (may need to be fine tuned for high capacitance lines).
No delay (0) by default.


Example:
Expand All @@ -33,6 +36,7 @@ Example:
reg = <0xff110000 0x1000>;
dmas = <&pdma1 11>, <&pdma1 12>;
dma-names = "tx", "rx";
rx-sample-delay-ns = <10>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
Expand Down
Loading

0 comments on commit 165f228

Please sign in to comment.