From: Eddie James <eajames@linux.ibm.com>
To: linux-aspeed@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
robh+dt@kernel.org, joel@jms.id.au, andrew@aj.id.au,
eajames@linux.ibm.com
Subject: [PATCH v11 7/8] ARM: dts: Aspeed: Witherspoon: Enable XDMA engine
Date: Tue, 5 May 2020 11:58:24 -0500 [thread overview]
Message-ID: <1588697905-23444-8-git-send-email-eajames@linux.ibm.com> (raw)
In-Reply-To: <1588697905-23444-1-git-send-email-eajames@linux.ibm.com>
Add a reserved memory node for the VGA memory. Add the XDMA engine node,
enable it, and point it's memory region to the VGA memory.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index a0f99e3..85d58a6 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -27,6 +27,12 @@
reg = <0x98000000 0x04000000>; /* 64M */
};
+ vga_memory: region@9f000000 {
+ no-map;
+ compatible = "shared-dma-pool";
+ reg = <0x9f000000 0x01000000>; /* 16M */
+ };
+
gfx_memory: framebuffer {
size = <0x01000000>;
alignment = <0x01000000>;
@@ -690,4 +696,9 @@
memory-region = <&video_engine_memory>;
};
+&xdma {
+ status = "okay";
+ memory-region = <&vga_memory>;
+};
+
#include "ibm-power9-dual.dtsi"
--
1.8.3.1
next prev parent reply other threads:[~2020-05-05 16:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-05 16:58 [PATCH v11 0/8] soc: aspeed: Add XDMA engine driver Eddie James
2020-05-05 16:58 ` [PATCH v11 1/8] dt-bindings: soc: Add Aspeed XDMA Engine Eddie James
2020-05-06 19:36 ` Rob Herring
2020-05-05 16:58 ` [PATCH v11 2/8] soc: aspeed: Add XDMA Engine Driver Eddie James
2020-05-05 16:58 ` [PATCH v11 3/8] soc: aspeed: xdma: Add user interface Eddie James
2020-05-05 16:58 ` [PATCH v11 4/8] soc: aspeed: xdma: Add reset ioctl Eddie James
2020-05-05 16:58 ` [PATCH v11 5/8] ARM: dts: Aspeed: AST2600: Update XDMA engine node Eddie James
2020-05-05 16:58 ` [PATCH v11 6/8] ARM: dts: Aspeed: AST2500: " Eddie James
2020-05-05 16:58 ` Eddie James [this message]
2020-05-05 16:58 ` [PATCH v11 8/8] ARM: dts: Aspeed: Tacoma: Enable XDMA engine Eddie James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1588697905-23444-8-git-send-email-eajames@linux.ibm.com \
--to=eajames@linux.ibm.com \
--cc=andrew@aj.id.au \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).