Skip to contentSkip to conversation

arm64: dts: hikey: Add DMA entries for Bluetooth UART

PATCH RESEND Applied John Stultz 3 participants 3 messages Jan 23, 2019 – Feb 1, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 arm64: dts: hikey: Add DMA entries for Bluetooth UART

Add dma0 references for bluetooth uart to enable dma for bt transfers.

Cc Manivannan Sadhasivam <[email protected]>
Cc Ryan Grachek <[email protected]>
Cc Wei Xu <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/hisilicon/hi6220.dtsi +2 -0
index aec9e37..fa15a08 100644
@@ -319,6 +319,8 @@
 			clock-names = "uartclk", "apb_pclk";
 			pinctrl-names = "default";
 			pinctrl-0 = <&uart1_pmx_func &uart1_cfg_func1 &uart1_cfg_func2>;
+			dmas = <&dma0 8 &dma0 9>;
+			dma-names = "rx", "tx";
 			status = "disabled";
 		};
 
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · John Stultz

Add dma0 references for bluetooth uart to enable dma for bt transfers.

Cc Manivannan Sadhasivam <[email protected]>
Cc Ryan Grachek <[email protected]>
Cc Wei Xu <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>

Thanks,
Mani

Quoted 20 lines
---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/hisilicon/hi6220.dtsi +2 -0
index aec9e37..fa15a08 100644
@@ -319,6 +319,8 @@
 			clock-names = "uartclk", "apb_pclk";
 			pinctrl-names = "default";
 			pinctrl-0 = <&uart1_pmx_func &uart1_cfg_func1 &uart1_cfg_func2>;
+			dmas = <&dma0 8 &dma0 9>;
+			dma-names = "rx", "tx";
 			status = "disabled";
 		};
 
Signature · 1 line
2.7.4
maintainer Applied
#2 lore raw
In reply to John Stultz

Hi John,

Quoted 11 lines · John Stultz

Add dma0 references for bluetooth uart to enable dma for bt transfers.

Cc Manivannan Sadhasivam <[email protected]>
Cc Ryan Grachek <[email protected]>
Cc Wei Xu <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>

Applied to the hisilicon soc dt tree.
Thanks!

Best Regards,
Wei

Quoted 18 lines
---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/hisilicon/hi6220.dtsi +2 -0
index aec9e37..fa15a08 100644
@@ -319,6 +319,8 @@
 			clock-names = "uartclk", "apb_pclk";
 			pinctrl-names = "default";
 			pinctrl-0 = <&uart1_pmx_func &uart1_cfg_func1 &uart1_cfg_func2>;
+			dmas = <&dma0 8 &dma0 9>;
+			dma-names = "rx", "tx";
 			status = "disabled";
 		};