提交 09a5ae80 编写于 作者: S Sachin Kamat 提交者: Mark Brown

spi: samsung: Update binding documentation

Samsung SPI driver uses generic DMA bindings. Update the documentation
accordingly.
Signed-off-by: NSachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 7171511e
...@@ -18,14 +18,11 @@ Required SoC Specific Properties: ...@@ -18,14 +18,11 @@ Required SoC Specific Properties:
- interrupts: The interrupt number to the cpu. The interrupt specifier format - interrupts: The interrupt number to the cpu. The interrupt specifier format
depends on the interrupt controller. depends on the interrupt controller.
[PRELIMINARY: the dma channel allocation will change once there are - dmas : Two or more DMA channel specifiers following the convention outlined
official DMA bindings] in bindings/dma/dma.txt
- tx-dma-channel: The dma channel specifier for tx operations. The format of - dma-names: Names for the dma channels. There must be at least one channel
the dma specifier depends on the dma controller. named "tx" for transmit and named "rx" for receive.
- rx-dma-channel: The dma channel specifier for rx operations. The format of
the dma specifier depends on the dma controller.
Required Board Specific Properties: Required Board Specific Properties:
...@@ -74,8 +71,11 @@ Example: ...@@ -74,8 +71,11 @@ Example:
compatible = "samsung,exynos4210-spi"; compatible = "samsung,exynos4210-spi";
reg = <0x12d20000 0x100>; reg = <0x12d20000 0x100>;
interrupts = <0 66 0>; interrupts = <0 66 0>;
tx-dma-channel = <&pdma0 5>; dmas = <&pdma0 5
rx-dma-channel = <&pdma0 4>; &pdma0 4>;
dma-names = "tx", "rx";
#address-cells = <1>;
#size-cells = <0>;
}; };
- Board Specific Portion: - Board Specific Portion:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册