linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: imx8mq: specify dma-ranges
@ 2019-02-08 18:53 Lucas Stach
  2019-02-11  5:44 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2019-02-08 18:53 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Fabio Estevam, patchwork-lst, NXP Linux Team,
	Pengutronix Kernel Team, linux-arm-kernel

The peripheral bus on the i.MX8MQ is still limited to 32bits, so
we need to declare the usable range for device DMA operations, as
the DRAM will extend across the 32bit boundary if more than 3GB
are installed.

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

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 23d967213030..e3977339cd56 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -146,6 +146,7 @@
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges = <0x0 0x0 0x0 0x3e000000>;
+		dma-ranges = <0x40000000 0x0 0x40000000 0xc0000000>;
 
 		bus@30000000 { /* AIPS1 */
 			compatible = "fsl,imx8mq-aips-bus", "simple-bus";
-- 
2.20.1


_______________________________________________
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] 2+ messages in thread

* Re: [PATCH] arm64: dts: imx8mq: specify dma-ranges
  2019-02-08 18:53 [PATCH] arm64: dts: imx8mq: specify dma-ranges Lucas Stach
@ 2019-02-11  5:44 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2019-02-11  5:44 UTC (permalink / raw)
  To: Lucas Stach
  Cc: Fabio Estevam, patchwork-lst, NXP Linux Team,
	Pengutronix Kernel Team, linux-arm-kernel

On Fri, Feb 08, 2019 at 07:53:49PM +0100, Lucas Stach wrote:
> The peripheral bus on the i.MX8MQ is still limited to 32bits, so
> we need to declare the usable range for device DMA operations, as
> the DRAM will extend across the 32bit boundary if more than 3GB
> are installed.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>

Applied, thanks.

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

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

end of thread, other threads:[~2019-02-11  5:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08 18:53 [PATCH] arm64: dts: imx8mq: specify dma-ranges Lucas Stach
2019-02-11  5:44 ` 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).