linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: ti: k3-am65-main: Add DMA entries for main_spi0
@ 2020-03-12  9:28 Vignesh Raghavendra
  2020-03-12  9:28 ` [PATCH 2/2] arm64: dts: ti: k3-am65-mcu: Add DMA entries for ADC Vignesh Raghavendra
  0 siblings, 1 reply; 3+ messages in thread
From: Vignesh Raghavendra @ 2020-03-12  9:28 UTC (permalink / raw)
  To: Tero Kristo, Nishanth Menon
  Cc: Rob Herring, linux-arm-kernel, devicetree, linux-kernel,
	Vignesh Raghavendra

Add DMA entry for main_spi0, that has SPI flash connected, for better
throughput and reduced CPU load.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
index e5df20a2d2f9..0ff291ef2950 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
@@ -189,6 +189,8 @@ main_spi0: spi@2100000 {
 		power-domains = <&k3_pds 137 TI_SCI_PD_EXCLUSIVE>;
 		#address-cells = <1>;
 		#size-cells = <0>;
+		dmas = <&main_udmap 0xc500>, <&main_udmap 0x4500>;
+		dma-names = "tx0", "rx0";
 	};
 
 	main_spi1: spi@2110000 {
-- 
2.25.1


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

end of thread, other threads:[~2020-03-20  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12  9:28 [PATCH 1/2] arm64: dts: ti: k3-am65-main: Add DMA entries for main_spi0 Vignesh Raghavendra
2020-03-12  9:28 ` [PATCH 2/2] arm64: dts: ti: k3-am65-mcu: Add DMA entries for ADC Vignesh Raghavendra
2020-03-20  9:07   ` Tero Kristo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).