summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2019-04-02 04:42:29 +0200
committerJoel Stanley <joel@jms.id.au>2019-06-20 09:07:26 +0200
commit6084110a0e9c4bff75970f3d68091ceff9e2c2c7 (patch)
tree5581da079b112d33d4ba84f4a4a253e1f2634982 /arch/arm
parentARM: dts: aspeed: Add Inspur fp5280g2 BMC machine (diff)
downloadlinux-6084110a0e9c4bff75970f3d68091ceff9e2c2c7.tar.xz
linux-6084110a0e9c4bff75970f3d68091ceff9e2c2c7.zip
ARM: dts: aspeed: Enable video engine on romulus and wtherspoon
Enable the video engine and add it's optional reserved memory region. Use 32MB for the reserved memory since the video engine could need up to two 1920x1200@32bpp source buffers. Source buffers: 2 * 1920 * 1200 * 4 = 18432000 bytes In addition, the V4L2 subsystem will allocate any number of compression buffers, each at most 1/8th the size of the source buffer. Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts12
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts12
2 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
index 8aba8b47d35d..9628ecb879cf 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
@@ -42,6 +42,13 @@
compatible = "shared-dma-pool";
reusable;
};
+
+ video_engine_memory: jpegbuffer {
+ size = <0x02000000>; /* 32M */
+ alignment = <0x01000000>;
+ compatible = "shared-dma-pool";
+ reusable;
+ };
};
leds {
@@ -305,4 +312,9 @@
status = "okay";
};
+&video {
+ status = "okay";
+ memory-region = <&video_engine_memory>;
+};
+
#include "ibm-power9-dual.dtsi"
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 85b9e4042864..31ea34e14c79 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 {
@@ -641,4 +648,9 @@
status = "okay";
};
+&video {
+ status = "okay";
+ memory-region = <&video_engine_memory>;
+};
+
#include "ibm-power9-dual.dtsi"