Re: [linux-sunxi] [PATCH 6/6] arm64: dts: allwinner: h6: Add Video Engine node
From: Paul Kocialkowski
Date: Tue Mar 19 2019 - 04:50:32 EST
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@xxxxxxxxxxx>
Cheers,
Paul
> Signed-off-by: Jernej Skrabec <jernej.skrabec@xxxxxxxx>
> ---
> 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
>
--
Paul Kocialkowski, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com