All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: hi6220: enable DMA in spi0
@ 2017-03-21  7:08 ` Guodong Xu
  0 siblings, 0 replies; 9+ messages in thread
From: Guodong Xu @ 2017-03-21  7:08 UTC (permalink / raw)
  To: xuwei5, robh+dt, mark.rutland, catalin.marinas, will.deacon
  Cc: devicetree, linux-arm-kernel, linux-kernel, Wang Xiaoyin,
	Antonio Borneo, Zhong Kaihua, Guodong Xu

From: Wang Xiaoyin <hw.wangxiaoyin@hisilicon.com>

Enable DMA in spi0.

Cc: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Zhong Kaihua <zhongkaihua@huawei.com>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Wang Xiaoyin <hw.wangxiaoyin@hisilicon.com>
---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 470461d..e40625f 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -682,7 +682,8 @@
 			reg = <0x0 0xf7106000 0x0 0x1000>;
 			interrupts = <0 50 4>;
 			bus-id = <0>;
-			enable-dma = <0>;
+			dmas =  <&dma0 0 &dma0 1>;
+			dma-names = "rx", "tx";
 			clocks = <&sys_ctrl HI6220_SPI_CLK>;
 			clock-names = "apb_pclk";
 			pinctrl-names = "default";
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-04-02 22:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-21  7:08 [PATCH] arm64: dts: hi6220: enable DMA in spi0 Guodong Xu
2017-03-21  7:08 ` Guodong Xu
2017-03-21  7:08 ` Guodong Xu
2017-03-21 19:13 ` Antonio Borneo
2017-03-21 19:13   ` Antonio Borneo
2017-03-21 19:13   ` Antonio Borneo
2017-04-02 22:31 ` kbuild test robot
2017-04-02 22:31   ` kbuild test robot
2017-04-02 22:31   ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.