diff options
author | Doug Anderson <dianders@chromium.org> | 2014-09-03 16:44:27 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-04 18:54:15 -0400 |
commit | 6e3be9bbeaa841eb65fa7570e0c542b2c1483fca (patch) | |
tree | 95e748c6b1a2f2aa6d14e0a75c050035e86df4ed /Documentation/devicetree/bindings/spi | |
parent | 62946172c81578477fcbb26478aebaa31353488d (diff) |
spi/rockchip: Mark DMA as optional
The Rockchip SPI controller works fine without DMA (aside from a few
warnings). The DMA property even implies this, saying:
DMA request names should include "tx" and "rx" if present.
Officially mark the properties as optional.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-rockchip.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.txt b/Documentation/devicetree/bindings/spi/spi-rockchip.txt index 7bab35575817..467dec441c62 100644 --- a/Documentation/devicetree/bindings/spi/spi-rockchip.txt +++ b/Documentation/devicetree/bindings/spi/spi-rockchip.txt | |||
@@ -16,11 +16,15 @@ Required Properties: | |||
16 | - clocks: Must contain an entry for each entry in clock-names. | 16 | - clocks: Must contain an entry for each entry in clock-names. |
17 | - clock-names: Shall be "spiclk" for the transfer-clock, and "apb_pclk" for | 17 | - clock-names: Shall be "spiclk" for the transfer-clock, and "apb_pclk" for |
18 | the peripheral clock. | 18 | the peripheral clock. |
19 | - #address-cells: should be 1. | ||
20 | - #size-cells: should be 0. | ||
21 | |||
22 | Optional Properties: | ||
23 | |||
19 | - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, | 24 | - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, |
20 | Documentation/devicetree/bindings/dma/dma.txt | 25 | Documentation/devicetree/bindings/dma/dma.txt |
21 | - dma-names: DMA request names should include "tx" and "rx" if present. | 26 | - dma-names: DMA request names should include "tx" and "rx" if present. |
22 | - #address-cells: should be 1. | 27 | |
23 | - #size-cells: should be 0. | ||
24 | 28 | ||
25 | Example: | 29 | Example: |
26 | 30 | ||