[6/6] arm64: dts: allwinner: h6: Add Video Engine node
diff mbox series

Message ID 20190128205504.11225-7-jernej.skrabec@siol.net
State New
Headers show
Series
  • H6 Cedrus support
Related show

Commit Message

Jernej Skrabec Jan. 28, 2019, 8:55 p.m. UTC
This adds the Video engine node for H6. It can use whole DRAM range so
there is no need for reserved memory node.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Paul Kocialkowski March 19, 2019, 8:50 a.m. UTC | #1
Hi,

Le lundi 28 janvier 2019 à 21:55 +0100, Jernej Skrabec a écrit :
> This adds the Video engine node for H6. It can use whole DRAM range so
> there is no need for reserved memory node.

Looks like the patch adding SRAM support made it through but this one
didn't. It looks ready to be picked up though.

Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>

Cheers,

Paul

> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
> ---
>  arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
> index 247dc0a5ce89..de4b7a1f1012 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
> @@ -146,6 +146,17 @@
>  			};
>  		};
>  
> +		video-codec@1c0e000 {
> +			compatible = "allwinner,sun50i-h6-video-engine";
> +			reg = <0x01c0e000 0x2000>;
> +			clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>,
> +				 <&ccu CLK_MBUS_VE>;
> +			clock-names = "ahb", "mod", "ram";
> +			resets = <&ccu RST_BUS_VE>;
> +			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
> +			allwinner,sram = <&ve_sram 1>;
> +		};
> +
>  		syscon: syscon@3000000 {
>  			compatible = "allwinner,sun50i-h6-system-control",
>  				     "allwinner,sun50i-a64-system-control";
> -- 
> 2.20.1
>
Maxime Ripard March 19, 2019, 9:49 a.m. UTC | #2
On Tue, Mar 19, 2019 at 09:50:24AM +0100, Paul Kocialkowski wrote:
> Le lundi 28 janvier 2019 à 21:55 +0100, Jernej Skrabec a écrit :
> > This adds the Video engine node for H6. It can use whole DRAM range so
> > there is no need for reserved memory node.
>
> Looks like the patch adding SRAM support made it through but this one
> didn't. It looks ready to be picked up though.
>
> Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>

Merged, thanks

Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
index 247dc0a5ce89..de4b7a1f1012 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
@@ -146,6 +146,17 @@ 
 			};
 		};
 
+		video-codec@1c0e000 {
+			compatible = "allwinner,sun50i-h6-video-engine";
+			reg = <0x01c0e000 0x2000>;
+			clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>,
+				 <&ccu CLK_MBUS_VE>;
+			clock-names = "ahb", "mod", "ram";
+			resets = <&ccu RST_BUS_VE>;
+			interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
+			allwinner,sram = <&ve_sram 1>;
+		};
+
 		syscon: syscon@3000000 {
 			compatible = "allwinner,sun50i-h6-system-control",
 				     "allwinner,sun50i-a64-system-control";