lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170321070818.3247-1-guodong.xu@linaro.org>
Date:   Tue, 21 Mar 2017 15:08:18 +0800
From:   Guodong Xu <guodong.xu@...aro.org>
To:     xuwei5@...ilicon.com, robh+dt@...nel.org, mark.rutland@....com,
        catalin.marinas@....com, will.deacon@....com
Cc:     devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org,
        Wang Xiaoyin <hw.wangxiaoyin@...ilicon.com>,
        Antonio Borneo <borneo.antonio@...il.com>,
        Zhong Kaihua <zhongkaihua@...wei.com>,
        Guodong Xu <guodong.xu@...aro.org>
Subject: [PATCH] arm64: dts: hi6220: enable DMA in spi0

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

Enable DMA in spi0.

Cc: Antonio Borneo <borneo.antonio@...il.com>
Signed-off-by: Zhong Kaihua <zhongkaihua@...wei.com>
Signed-off-by: Guodong Xu <guodong.xu@...aro.org>
Signed-off-by: Wang Xiaoyin <hw.wangxiaoyin@...ilicon.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ