linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: imx8mm: specify dma-ranges
@ 2021-05-04  8:20 Lucas Stach
  2021-05-04  8:20 ` [PATCH 2/2] arm64: dts: imx8mn: " Lucas Stach
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Lucas Stach @ 2021-05-04  8:20 UTC (permalink / raw)
  To: Shawn Guo
  Cc: NXP Linux Team, linux-arm-kernel, Fabio Estevam,
	Frieder Schrempf, kernel, patchwork-lst

DMA addressing capabilities on i.MX8MM are limited by the interconnect,
same as on i.MX8MQ. Add dma-ranges to the the peripheral bus to let
the kernel know about this.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
index 6bf1d15ba16a..5bdc730f6132 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
@@ -261,6 +261,7 @@ soc@0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges = <0x0 0x0 0x0 0x3e000000>;
+		dma-ranges = <0x40000000 0x0 0x40000000 0xc0000000>;
 		nvmem-cells = <&imx8mm_uid>;
 		nvmem-cell-names = "soc_unique_id";
 
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-05-23  2:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04  8:20 [PATCH 1/2] arm64: dts: imx8mm: specify dma-ranges Lucas Stach
2021-05-04  8:20 ` [PATCH 2/2] arm64: dts: imx8mn: " Lucas Stach
2021-05-04  9:06   ` Frieder Schrempf
2021-05-04  9:05 ` [PATCH 1/2] arm64: dts: imx8mm: " Frieder Schrempf
2021-05-05 11:36 ` Adam Ford
2021-05-05 11:54   ` Lucas Stach
2021-05-05 12:08     ` Adam Ford
2021-05-23  2:32 ` Shawn Guo

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).