2016-11-23 11:05:33

by Changming Huang

[permalink] [raw]
Subject: [PATCH] arm/dts: ls1021a: Add dma-coherent property to usb3 node

This sets dma ops as coherent for usb 3.0 platform device

Signed-off-by: Changming Huang <[email protected]>
Signed-off-by: Rajesh Bhagat <[email protected]>
---
arch/arm/boot/dts/ls1021a.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 368e219..81fb4d9 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -627,6 +627,7 @@
dr_mode = "host";
snps,quirk-frame-length-adjustment = <0x20>;
snps,dis_rxdet_inp3_quirk;
+ dma-coherent;
};

pcie@3400000 {
--
1.7.9.5


2016-12-14 11:19:35

by Changming Huang

[permalink] [raw]
Subject: RE: [PATCH] arm/dts: ls1021a: Add dma-coherent property to usb3 node


> -----Original Message-----
> From: Changming Huang [mailto:[email protected]]
> Sent: Wednesday, November 23, 2016 3:15 PM
> To: [email protected]; [email protected]; [email protected]
> Cc: [email protected]; [email protected]; linux-
> [email protected]; Jerry Huang <[email protected]>; Rajesh
> Bhagat <[email protected]>
> Subject: [PATCH] arm/dts: ls1021a: Add dma-coherent property to usb3 node
>
> This sets dma ops as coherent for usb 3.0 platform device
>
> Signed-off-by: Changming Huang <[email protected]>
> Signed-off-by: Rajesh Bhagat <[email protected]>
> ---
> arch/arm/boot/dts/ls1021a.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
> index 368e219..81fb4d9 100644
> --- a/arch/arm/boot/dts/ls1021a.dtsi
> +++ b/arch/arm/boot/dts/ls1021a.dtsi
> @@ -627,6 +627,7 @@
> dr_mode = "host";
> snps,quirk-frame-length-adjustment = <0x20>;
> snps,dis_rxdet_inp3_quirk;
> + dma-coherent;
> };
>
> pcie@3400000 {
> --
How about this property for usb? Any comment for it?