[linux,dev-5.2] ARM: dts: aspeed: swift: Enable video engine and USB hub devices
diff mbox series

Message ID 1562945738-7432-1-git-send-email-eajames@linux.ibm.com
State New
Headers show
Series
  • [linux,dev-5.2] ARM: dts: aspeed: swift: Enable video engine and USB hub devices
Related show

Commit Message

Eddie James July 12, 2019, 3:35 p.m. UTC
These devices are necessary for IpKVM to function, so enable them on
Swift.

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

Comments

Andrew Jeffery July 15, 2019, 2:26 a.m. UTC | #1
On Sat, 13 Jul 2019, at 01:18, Eddie James wrote:
> These devices are necessary for IpKVM to function, so enable them on
> Swift.
> 
> Signed-off-by: Eddie James <eajames@linux.ibm.com>

Acked-by: Andrew Jeffery <andrew@aj.id.au>

> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-swift.dts | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts 
> b/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
> index caac895..bdf3fb9 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-swift.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 {
> @@ -963,4 +970,13 @@
>  	status = "okay";
>  };
>  
> +&vhub {
> +	status = "okay";
> +};
> +
> +&video {
> +	status = "okay";
> +	memory-region = <&video_engine_memory>;
> +};
> +
>  #include "ibm-power9-dual.dtsi"
> -- 
> 1.8.3.1
> 
>

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts b/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
index caac895..bdf3fb9 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-swift.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 {
@@ -963,4 +970,13 @@ 
 	status = "okay";
 };
 
+&vhub {
+	status = "okay";
+};
+
+&video {
+	status = "okay";
+	memory-region = <&video_engine_memory>;
+};
+
 #include "ibm-power9-dual.dtsi"