All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eddie James <eajames@linux.ibm.com>
To: openbmc@lists.ozlabs.org
Cc: joel@jms.id.au, jae.hyun.yoo@linux.intel.com,
	Eddie James <eajames@linux.ibm.com>
Subject: [PATCH dev-5.0 v3 6/7] ARM: dts: witherspoon: Enable video engine
Date: Mon,  1 Apr 2019 15:23:49 -0500	[thread overview]
Message-ID: <1554150230-24335-7-git-send-email-eajames@linux.ibm.com> (raw)
In-Reply-To: <1554150230-24335-1-git-send-email-eajames@linux.ibm.com>

Enable the video engine and add it's optional reserved memory region.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 1cdc96d..e09863c 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -33,6 +33,13 @@
 			compatible = "shared-dma-pool";
 			reusable;
 		};
+
+		video_engine_memory: jpegbuffer {
+			size = <0x02000000>;	/* 32MM */
+			alignment = <0x01000000>;
+			compatible = "shared-dma-pool";
+			reusable;
+		};
 	};
 
 	gpio-keys {
@@ -664,4 +671,9 @@
 	status = "okay";
 };
 
+&video {
+	status = "okay";
+	memory-region = <&video_engine_memory>;
+};
+
 #include "ibm-power9-dual.dtsi"
-- 
1.8.3.1

  parent reply	other threads:[~2019-04-01 20:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-01 20:23 [PATCH dev-5.0 v3 0/7] Enable video engine Eddie James
2019-04-01 20:23 ` [PATCH dev-5.0 v3 1/7] media: platform: Aspeed: Remove use of reset line Eddie James
2019-04-01 20:23 ` [PATCH dev-5.0 v3 2/7] media: platform: Aspeed: Make reserved memory optional Eddie James
2019-04-01 20:23 ` [PATCH dev-5.0 v3 3/7] media: dt-bindings: aspeed-video: Add missing memory-region property Eddie James
2019-04-01 20:23 ` [PATCH dev-5.0 v3 4/7] clk: Aspeed: Setup video engine clocking Eddie James
2019-04-01 20:48   ` Jae Hyun Yoo
2019-04-02  2:02     ` Eddie James
2019-04-01 20:23 ` [PATCH dev-5.0 v3 5/7] ARM: dts: aspeed-g5: Add video engine Eddie James
2019-04-01 20:23 ` Eddie James [this message]
2019-04-01 20:23 ` [PATCH dev-5.0 v3 7/7] ARM: dts: romulus: Enable " 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=1554150230-24335-7-git-send-email-eajames@linux.ibm.com \
    --to=eajames@linux.ibm.com \
    --cc=jae.hyun.yoo@linux.intel.com \
    --cc=joel@jms.id.au \
    --cc=openbmc@lists.ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.