diff mbox series

[2/3] arm64: dts: meson-gx: add video decoder entry

Message ID 20190726124639.7713-3-mjourdan@baylibre.com (mailing list archive)
State Mainlined
Commit 1f11d61182aeb97473490ce5d781d5f083ba33a1
Headers show
Series arm64: dts: meson: add the video decoder nodes | expand

Commit Message

Maxime Jourdan July 26, 2019, 12:46 p.m. UTC
Add the base video decoder node compatible with the meson vdec driver,
for GX* chips.

Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Neil Armstrong July 29, 2019, 1:05 p.m. UTC | #1
On 26/07/2019 14:46, Maxime Jourdan wrote:
> Add the base video decoder node compatible with the meson vdec driver,
> for GX* chips.
> 
> Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>
> ---
>  arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
> index 74d03fc706be..86e26ed551e0 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
> @@ -437,6 +437,20 @@
>  			};
>  		};
>  
> +		vdec: video-codec@c8820000 {
> +			compatible = "amlogic,gx-vdec";
> +			reg = <0x0 0xc8820000 0x0 0x10000>,
> +			      <0x0 0xc110a580 0x0 0xe4>;
> +			reg-names = "dos", "esparser";
> +
> +			interrupts = <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
> +				     <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
> +			interrupt-names = "vdec", "esparser";
> +
> +			amlogic,ao-sysctrl = <&sysctrl_AO>;
> +			amlogic,canvas = <&canvas>;
> +		};
> +
>  		periphs: periphs@c8834000 {
>  			compatible = "simple-bus";
>  			reg = <0x0 0xc8834000 0x0 0x2000>;
> 

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
index 74d03fc706be..86e26ed551e0 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
@@ -437,6 +437,20 @@ 
 			};
 		};
 
+		vdec: video-codec@c8820000 {
+			compatible = "amlogic,gx-vdec";
+			reg = <0x0 0xc8820000 0x0 0x10000>,
+			      <0x0 0xc110a580 0x0 0xe4>;
+			reg-names = "dos", "esparser";
+
+			interrupts = <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
+				     <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
+			interrupt-names = "vdec", "esparser";
+
+			amlogic,ao-sysctrl = <&sysctrl_AO>;
+			amlogic,canvas = <&canvas>;
+		};
+
 		periphs: periphs@c8834000 {
 			compatible = "simple-bus";
 			reg = <0x0 0xc8834000 0x0 0x2000>;