Skip to contentSkip to conversation

Add initial i.MX8MQ support

PATCH Applied Philipp Zabel 5 participants 11 messages Mar 20, 2020 – Jun 16, 2020

Subsystems (5)
lore
Share & tools
lore

Philipp Zabel

author maintainer
#0 lore raw

v6 cover Add initial i.MX8MQ support

With the i.MX8MQ decoders in active use and the i.MX8MM power domain support still up in the air, I think it makes sense to merge i.MX8MQ Hantro support now and accept that i.MX8MM may or may not require different bindings.

Patch 4 depends on [2] for the MAINTAINERS change.

Changes since v5 [1]:
- Drop merged patches
- Drop i.MX8MM bindings
- Change example node name to video-codec
- Convert i.MX8MQ bindings to YAML
- Drop i.MX8MM support
- Rebase onto media/master
- Enable h.264 and VP8 decoding
- Enable post-processing

[1] https://lore.kernel.org/linux-media/[email protected]
[2] https://lore.kernel.org/linux-media/[email protected]

regards
Philipp

Philipp Zabel (4):
media: dt-bindings: Document i.MX8MQ VPU bindings
media: hantro: add initial i.MX8MQ support
arm64: dts: imx8mq: enable Hantro G1/G2 VPU
media: MAINTAINERS: add myself to co-maintain Hantro G1/G2 for i.MX8MQ

 .../bindings/media/nxp,imx8mq-vpu.yaml        |  77 ++++++
 MAINTAINERS                                   |   2 +
 arch/arm64/boot/dts/freescale/imx8mq.dtsi     |  27 +++
 drivers/staging/media/hantro/Kconfig          |  16 +-
 drivers/staging/media/hantro/Makefile         |   3 +
 drivers/staging/media/hantro/hantro_drv.c     |   3 +
 drivers/staging/media/hantro/hantro_hw.h      |   1 +
 drivers/staging/media/hantro/imx8m_vpu_hw.c   | 220 ++++++++++++++++++
 8 files changed, 345 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml
 create mode 100644 drivers/staging/media/hantro/imx8m_vpu_hw.c
Signature · 1 line
2.20.1
author maintainer
#1 lore raw

PATCH v6 1/4 media: dt-bindings: Document i.MX8MQ VPU bindings

Add devicetree binding documentation for the Hantro G1/G2 VPU on i.MX8MQ.

---
Changes since v5:
- Drop i.MX8MM bindings
- Change example node name to video-codec
- Convert to YAML

---
 .../bindings/media/nxp,imx8mq-vpu.yaml        | 77 +++++++++++++++++++
 1 file changed, 77 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml
Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml new file +77 -0
new file mode 100644
index 000000000000..a2d1cd77c1e2
@@ -0,0 +1,77 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/media/nxp,imx8mq-vpu.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: Hantro G1/G2 VPU codecs implemented on i.MX8MQ SoCs
+
+maintainers:
+  - Philipp Zabel <[email protected]>
+
+description:
+  Hantro G1/G2 video decode accelerators present on i.MX8MQ SoCs.
+
+properties:
+  compatible:
+    const: nxp,imx8mq-vpu
+
+  reg:
+    maxItems: 3
+
+  reg-names:
+    items:
+      - const: g1
+      - const: g2
+      - const: ctrl
+
+  interrupts:
+    maxItems: 2
+
+  interrupt-names:
+    items:
+      - const: g1
+      - const: g2
+
+  clocks:
+    maxItems: 3
+
+  clock-names:
+    items:
+      - const: g1
+      - const: g2
+      - const: bus
+
+  power-domains:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - reg-names
+  - interrupts
+  - interrupt-names
+  - clocks
+  - clock-names
+
+examples:
+  - |
+        #include <dt-bindings/clock/imx8mq-clock.h>
+        #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+        vpu: video-codec@38300000 {
+                compatible = "nxp,imx8mq-vpu";
+                reg = <0x38300000 0x10000>,
+                      <0x38310000 0x10000>,
+                      <0x38320000 0x10000>;
+                reg-names = "g1", "g2", "ctrl";
+                interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
+                             <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+                interrupt-names = "g1", "g2";
+                clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>,
+                         <&clk IMX8MQ_CLK_VPU_G2_ROOT>,
+                         <&clk IMX8MQ_CLK_VPU_DEC_ROOT>;
+                clock-names = "g1", "g2", "bus";
+                power-domains = <&pgc_vpu>;
+        };
Signature · 1 line
2.20.1
maintainer Reviewed-by on v6 1/4
#2 lore raw

Re: [PATCH v6 1/4] media: dt-bindings: Document i.MX8MQ VPU bindings

Quoted 8 lines · Philipp Zabel

Add devicetree binding documentation for the Hantro G1/G2 VPU on i.MX8MQ.

---
Changes since v5:
- Drop i.MX8MM bindings
- Change example node name to video-codec
- Convert to YAML

Quoted 5 lines
---
 .../bindings/media/nxp,imx8mq-vpu.yaml        | 77 +++++++++++++++++++
 1 file changed, 77 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml
author maintainer
#3 lore raw

PATCH v6 2/4 media: hantro: add initial i.MX8MQ support

In reply to Philipp Zabel

This enables h.264, MPEG-2, and VP8 decoding on the Hantro G1 on i.MX8MQ, with post-processing support.

---
Changes since v5:
- Rebase onto media/master
- Enable h.264 and VP8 decoding
- Enable post-processing

---
 drivers/staging/media/hantro/Kconfig        |  16 +-
 drivers/staging/media/hantro/Makefile       |   3 +
 drivers/staging/media/hantro/hantro_drv.c   |   3 +
 drivers/staging/media/hantro/hantro_hw.h    |   1 +
 drivers/staging/media/hantro/imx8m_vpu_hw.c | 220 ++++++++++++++++++++
 5 files changed, 239 insertions(+), 4 deletions(-)
 create mode 100644 drivers/staging/media/hantro/imx8m_vpu_hw.c
drivers/staging/media/hantro/Kconfig +12 -4
index de77fe6554e7..99aed9a5b0b9 100644
@@ -1,19 +1,27 @@
 # SPDX-License-Identifier: GPL-2.0
 config VIDEO_HANTRO
 	tristate "Hantro VPU driver"
-	depends on ARCH_ROCKCHIP || COMPILE_TEST
+	depends on ARCH_MXC || ARCH_ROCKCHIP || COMPILE_TEST
 	depends on VIDEO_DEV && VIDEO_V4L2 && MEDIA_CONTROLLER
 	depends on MEDIA_CONTROLLER_REQUEST_API
 	select VIDEOBUF2_DMA_CONTIG
 	select VIDEOBUF2_VMALLOC
 	select V4L2_MEM2MEM_DEV
 	help
-	  Support for the Hantro IP based Video Processing Unit present on
-	  Rockchip SoC, which accelerates video and image encoding and
-	  decoding.
+	  Support for the Hantro IP based Video Processing Units present on
+	  Rockchip and NXP i.MX8M SoCs, which accelerate video and image
+	  encoding and decoding.
 	  To compile this driver as a module, choose M here: the module
 	  will be called hantro-vpu.
 
+config VIDEO_HANTRO_IMX8M
+	bool "Hantro VPU i.MX8M support"
+	depends on VIDEO_HANTRO
+	depends on ARCH_MXC || COMPILE_TEST
+	default y
+	help
+	  Enable support for i.MX8M SoCs.
+
 config VIDEO_HANTRO_ROCKCHIP
 	bool "Hantro VPU Rockchip support"
 	depends on VIDEO_HANTRO
drivers/staging/media/hantro/Makefile +3 -0
index 496b30c3c396..68c29a9c4946 100644
@@ -16,6 +16,9 @@ hantro-vpu-y += \
 		hantro_mpeg2.o \
 		hantro_vp8.o
 
+hantro-vpu-$(CONFIG_VIDEO_HANTRO_IMX8M) += \
+		imx8m_vpu_hw.o
+
 hantro-vpu-$(CONFIG_VIDEO_HANTRO_ROCKCHIP) += \
 		rk3288_vpu_hw.o \
 		rk3399_vpu_hw.o
drivers/staging/media/hantro/hantro_drv.c +3 -0
index bd204da6c669..c990accc0777 100644
@@ -479,6 +479,9 @@ static const struct of_device_id of_hantro_match[] = {
 	{ .compatible = "rockchip,rk3399-vpu", .data = &rk3399_vpu_variant, },
 	{ .compatible = "rockchip,rk3328-vpu", .data = &rk3328_vpu_variant, },
 	{ .compatible = "rockchip,rk3288-vpu", .data = &rk3288_vpu_variant, },
+#endif
+#ifdef CONFIG_VIDEO_HANTRO_IMX8M
+	{ .compatible = "nxp,imx8mq-vpu", .data = &imx8mq_vpu_variant, },
 #endif
 	{ /* sentinel */ }
 };
drivers/staging/media/hantro/hantro_hw.h +1 -0
index 435f30ae89fd..4053d8710e04 100644
@@ -155,6 +155,7 @@ enum hantro_enc_fmt {
 extern const struct hantro_variant rk3399_vpu_variant;
 extern const struct hantro_variant rk3328_vpu_variant;
 extern const struct hantro_variant rk3288_vpu_variant;
+extern const struct hantro_variant imx8mq_vpu_variant;
 
 extern const struct hantro_postproc_regs hantro_g1_postproc_regs;
 
drivers/staging/media/hantro/imx8m_vpu_hw.c new file +220 -0

220 lines not on this page · raw message

Signature · 1 line
2.20.1
author maintainer
#4 lore raw

PATCH v6 3/4 arm64: dts: imx8mq: enable Hantro G1/G2 VPU

In reply to Philipp Zabel

Add the i.MX8MQ VPU module which comprises Hantro G1 and G2 video decoder cores and a reset/control block.

Hook up the bus clock to the VPU power domain to enable handshakes, and configure the core clocks to 600 MHz and the bus clock to 800 MHz by default.

---
New in v6.

---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +27 -0
index 6a1e83922c71..98e464ecb68a 100644
@@ -666,6 +666,7 @@
 					pgc_vpu: power-domain@6 {
 						#power-domain-cells = <0>;
 						reg = <IMX8M_POWER_DOMAIN_VPU>;
+						clocks = <&clk IMX8MQ_CLK_VPU_DEC_ROOT>;
 					};
 
 					pgc_disp: power-domain@7 {
@@ -1130,6 +1131,32 @@
 			status = "disabled";
 		};
 
+		vpu: video-codec@38300000 {
+			compatible = "nxp,imx8mq-vpu";
+			reg = <0x38300000 0x10000>,
+			      <0x38310000 0x10000>,
+			      <0x38320000 0x10000>;
+			reg-names = "g1", "g2", "ctrl";
+			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "g1", "g2";
+			clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>,
+				 <&clk IMX8MQ_CLK_VPU_G2_ROOT>,
+				 <&clk IMX8MQ_CLK_VPU_DEC_ROOT>;
+			clock-names = "g1", "g2", "bus";
+			assigned-clocks = <&clk IMX8MQ_CLK_VPU_G1>,
+					  <&clk IMX8MQ_CLK_VPU_G2>,
+					  <&clk IMX8MQ_CLK_VPU_BUS>,
+					  <&clk IMX8MQ_VPU_PLL_BYPASS>;
+			assigned-clock-parents = <&clk IMX8MQ_VPU_PLL_OUT>,
+						 <&clk IMX8MQ_VPU_PLL_OUT>,
+						 <&clk IMX8MQ_SYS1_PLL_800M>,
+						 <&clk IMX8MQ_VPU_PLL>;
+			assigned-clock-rates = <600000000>, <600000000>,
+					       <800000000>, <0>;
+			power-domains = <&pgc_vpu>;
+		};
+
 		pcie0: pcie@33800000 {
 			compatible = "fsl,imx8mq-pcie";
 			reg = <0x33800000 0x400000>,
Signature · 1 line
2.20.1
author maintainer
#5 lore raw

Re: [PATCH v6 3/4] arm64: dts: imx8mq: enable Hantro G1/G2 VPU

Hi Shawn,

Quoted 8 lines · Philipp Zabel

Add the i.MX8MQ VPU module which comprises Hantro G1 and G2 video decoder cores and a reset/control block.

Hook up the bus clock to the VPU power domain to enable handshakes, and configure the core clocks to 600 MHz and the bus clock to 800 MHz by default.

could you pick up this patch? The driver and binding parts have been merged in media/master.

regards
Philipp

Quoted 51 lines

---
New in v6.

---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +27 -0
index 6a1e83922c71..98e464ecb68a 100644
@@ -666,6 +666,7 @@
 					pgc_vpu: power-domain@6 {
 						#power-domain-cells = <0>;
 						reg = <IMX8M_POWER_DOMAIN_VPU>;
+						clocks = <&clk IMX8MQ_CLK_VPU_DEC_ROOT>;
 					};
 
 					pgc_disp: power-domain@7 {
@@ -1130,6 +1131,32 @@
 			status = "disabled";
 		};
 
+		vpu: video-codec@38300000 {
+			compatible = "nxp,imx8mq-vpu";
+			reg = <0x38300000 0x10000>,
+			      <0x38310000 0x10000>,
+			      <0x38320000 0x10000>;
+			reg-names = "g1", "g2", "ctrl";
+			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "g1", "g2";
+			clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>,
+				 <&clk IMX8MQ_CLK_VPU_G2_ROOT>,
+				 <&clk IMX8MQ_CLK_VPU_DEC_ROOT>;
+			clock-names = "g1", "g2", "bus";
+			assigned-clocks = <&clk IMX8MQ_CLK_VPU_G1>,
+					  <&clk IMX8MQ_CLK_VPU_G2>,
+					  <&clk IMX8MQ_CLK_VPU_BUS>,
+					  <&clk IMX8MQ_VPU_PLL_BYPASS>;
+			assigned-clock-parents = <&clk IMX8MQ_VPU_PLL_OUT>,
+						 <&clk IMX8MQ_VPU_PLL_OUT>,
+						 <&clk IMX8MQ_SYS1_PLL_800M>,
+						 <&clk IMX8MQ_VPU_PLL>;
+			assigned-clock-rates = <600000000>, <600000000>,
+					       <800000000>, <0>;
+			power-domains = <&pgc_vpu>;
+		};
+
 		pcie0: pcie@33800000 {
 			compatible = "fsl,imx8mq-pcie";
 			reg = <0x33800000 0x400000>,
Reviewed-by Tested-by
#6 lore raw

Re: [PATCH v6 3/4] arm64: dts: imx8mq: enable Hantro G1/G2 VPU

Quoted 6 lines · Philipp Zabel

Hi Shawn,

Quoted 3 lines · Philipp Zabel

Add the i.MX8MQ VPU module which comprises Hantro G1 and G2 video decoder cores and a reset/control block.

Quoted 9 lines
Quoted 5 lines

Hook up the bus clock to the VPU power domain to enable handshakes, and configure the core clocks to 600 MHz and the bus clock to 800 MHz by default.

could you pick up this patch? The driver and binding parts have been merged in media/master.

It looks good and it matches the downstream device tree.

Thanks,
Ezequiel

Quoted 54 lines

regards
Philipp

Quoted 51 lines

---
New in v6.

---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +27 -0
index 6a1e83922c71..98e464ecb68a 100644
@@ -666,6 +666,7 @@
 					pgc_vpu: power-domain@6 {
 						#power-domain-cells = <0>;
 						reg = <IMX8M_POWER_DOMAIN_VPU>;
+						clocks = <&clk IMX8MQ_CLK_VPU_DEC_ROOT>;
 					};
 
 					pgc_disp: power-domain@7 {
@@ -1130,6 +1131,32 @@
 			status = "disabled";
 		};
 
+		vpu: video-codec@38300000 {
+			compatible = "nxp,imx8mq-vpu";
+			reg = <0x38300000 0x10000>,
+			      <0x38310000 0x10000>,
+			      <0x38320000 0x10000>;
+			reg-names = "g1", "g2", "ctrl";
+			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "g1", "g2";
+			clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>,
+				 <&clk IMX8MQ_CLK_VPU_G2_ROOT>,
+				 <&clk IMX8MQ_CLK_VPU_DEC_ROOT>;
+			clock-names = "g1", "g2", "bus";
+			assigned-clocks = <&clk IMX8MQ_CLK_VPU_G1>,
+					  <&clk IMX8MQ_CLK_VPU_G2>,
+					  <&clk IMX8MQ_CLK_VPU_BUS>,
+					  <&clk IMX8MQ_VPU_PLL_BYPASS>;
+			assigned-clock-parents = <&clk IMX8MQ_VPU_PLL_OUT>,
+						 <&clk IMX8MQ_VPU_PLL_OUT>,
+						 <&clk IMX8MQ_SYS1_PLL_800M>,
+						 <&clk IMX8MQ_VPU_PLL>;
+			assigned-clock-rates = <600000000>, <600000000>,
+					       <800000000>, <0>;
+			power-domains = <&pgc_vpu>;
+		};
+
 		pcie0: pcie@33800000 {
 			compatible = "fsl,imx8mq-pcie";
 			reg = <0x33800000 0x400000>,
#7 lore raw

Re: [PATCH v6 3/4] arm64: dts: imx8mq: enable Hantro G1/G2 VPU

Hello Shawn,

Gentle ping.

Thanks a lot!
Ezequiel

Quoted 82 lines · Ezequiel Garcia
Quoted 6 lines · Philipp Zabel

Hi Shawn,

Quoted 3 lines · Philipp Zabel

Add the i.MX8MQ VPU module which comprises Hantro G1 and G2 video decoder cores and a reset/control block.

Quoted 9 lines
Quoted 5 lines

Hook up the bus clock to the VPU power domain to enable handshakes, and configure the core clocks to 600 MHz and the bus clock to 800 MHz by default.

could you pick up this patch? The driver and binding parts have been merged in media/master.

It looks good and it matches the downstream device tree.

Thanks,
Ezequiel

Quoted 54 lines

regards
Philipp

Quoted 51 lines

---
New in v6.

---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +27 -0
index 6a1e83922c71..98e464ecb68a 100644
@@ -666,6 +666,7 @@
                                    pgc_vpu: power-domain@6 {
                                            #power-domain-cells = <0>;
                                            reg = <IMX8M_POWER_DOMAIN_VPU>;
+                                           clocks = <&clk IMX8MQ_CLK_VPU_DEC_ROOT>;
                                    };
 
                                    pgc_disp: power-domain@7 {
@@ -1130,6 +1131,32 @@
                    status = "disabled";
            };
 
+           vpu: video-codec@38300000 {
+                   compatible = "nxp,imx8mq-vpu";
+                   reg = <0x38300000 0x10000>,
+                         <0x38310000 0x10000>,
+                         <0x38320000 0x10000>;
+                   reg-names = "g1", "g2", "ctrl";
+                   interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
+                                <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+                   interrupt-names = "g1", "g2";
+                   clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>,
+                            <&clk IMX8MQ_CLK_VPU_G2_ROOT>,
+                            <&clk IMX8MQ_CLK_VPU_DEC_ROOT>;
+                   clock-names = "g1", "g2", "bus";
+                   assigned-clocks = <&clk IMX8MQ_CLK_VPU_G1>,
+                                     <&clk IMX8MQ_CLK_VPU_G2>,
+                                     <&clk IMX8MQ_CLK_VPU_BUS>,
+                                     <&clk IMX8MQ_VPU_PLL_BYPASS>;
+                   assigned-clock-parents = <&clk IMX8MQ_VPU_PLL_OUT>,
+                                            <&clk IMX8MQ_VPU_PLL_OUT>,
+                                            <&clk IMX8MQ_SYS1_PLL_800M>,
+                                            <&clk IMX8MQ_VPU_PLL>;
+                   assigned-clock-rates = <600000000>, <600000000>,
+                                          <800000000>, <0>;
+                   power-domains = <&pgc_vpu>;
+           };
+
            pcie0: pcie@33800000 {
                    compatible = "fsl,imx8mq-pcie";
                    reg = <0x33800000 0x400000>,
Applied
#8 lore raw

Re: [PATCH v6 3/4] arm64: dts: imx8mq: enable Hantro G1/G2 VPU

In reply to Philipp Zabel
Quoted 8 lines · Philipp Zabel

Add the i.MX8MQ VPU module which comprises Hantro G1 and G2 video decoder cores and a reset/control block.

Hook up the bus clock to the VPU power domain to enable handshakes, and configure the core clocks to 600 MHz and the bus clock to 800 MHz by default.

Applied, thanks.

author maintainer
#9 lore raw

PATCH v6 4/4 media: MAINTAINERS: add myself to co-maintain Hantro G1/G2 for i.MX8MQ

In reply to Philipp Zabel

Add path and co-maintainer entry for i.MX8MQ device tree bindings.

---
New in v6.

---
 MAINTAINERS | 2 ++
 1 file changed, 2 insertions(+)
MAINTAINERS +2 -0
index 46c95dc8ab5f..2b8b3e7f3df3 100644
@@ -14314,10 +14314,12 @@ F:	Documentation/devicetree/bindings/media/rockchip-rga.txt
 
 HANTRO VPU CODEC DRIVER
 M:	Ezequiel Garcia <[email protected]>
+M:	Philipp Zabel <[email protected]>
 L:	[email protected]
 L:	[email protected]
 S:	Maintained
 F:	drivers/staging/media/hantro/
+F:	Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml
 F:	Documentation/devicetree/bindings/media/rockchip-vpu.yaml
 
 ROCKER DRIVER
Signature · 1 line
2.20.1
Reviewed-by on the v6 series
#10 lore raw
In reply to Philipp Zabel

Hi Philipp,

Tested on the EVK, looks great.

Quoted 7 lines · Philipp Zabel

With the i.MX8MQ decoders in active use and the i.MX8MM power domain support still up in the air, I think it makes sense to merge i.MX8MQ Hantro support now and accept that i.MX8MM may or may not require different bindings.

Patch 4 depends on [2] for the MAINTAINERS change.

Thanks a lot for stepping up and helping to maintain the driver!

For all patches:

Quoted 34 lines

Changes since v5 [1]:
- Drop merged patches
- Drop i.MX8MM bindings
- Change example node name to video-codec
- Convert i.MX8MQ bindings to YAML
- Drop i.MX8MM support
- Rebase onto media/master
- Enable h.264 and VP8 decoding
- Enable post-processing

[1] https://lore.kernel.org/linux-media/[email protected]
[2] https://lore.kernel.org/linux-media/[email protected]

regards
Philipp

Philipp Zabel (4):
media: dt-bindings: Document i.MX8MQ VPU bindings
media: hantro: add initial i.MX8MQ support
arm64: dts: imx8mq: enable Hantro G1/G2 VPU
media: MAINTAINERS: add myself to co-maintain Hantro G1/G2 for i.MX8MQ

 .../bindings/media/nxp,imx8mq-vpu.yaml        |  77 ++++++
 MAINTAINERS                                   |   2 +
 arch/arm64/boot/dts/freescale/imx8mq.dtsi     |  27 +++
 drivers/staging/media/hantro/Kconfig          |  16 +-
 drivers/staging/media/hantro/Makefile         |   3 +
 drivers/staging/media/hantro/hantro_drv.c     |   3 +
 drivers/staging/media/hantro/hantro_hw.h      |   1 +
 drivers/staging/media/hantro/imx8m_vpu_hw.c   | 220 ++++++++++++++++++
 8 files changed, 345 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml
 create mode 100644 drivers/staging/media/hantro/imx8m_vpu_hw.c