linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] H6 Cedrus support
@ 2019-01-28 20:54 Jernej Skrabec
  2019-01-28 20:54 ` [PATCH 1/6] dt-bindings: media: cedrus: Add H6 compatible Jernej Skrabec
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Jernej Skrabec @ 2019-01-28 20:54 UTC (permalink / raw)
  To: maxime.ripard, wens
  Cc: mchehab, robh+dt, mark.rutland, linux-media, linux-arm-kernel,
	devicetree, linux-kernel, linux-sunxi

This patch series adds basic support for H6 VPU. VPU itself has some new
features like 10-bit HEVC decoding, support for AFBC output format when
decoding HEVC and IOMMU. However, none of that is currently implemented.

Please take a look.

Best regards,
Jernej

Jernej Skrabec (6):
  dt-bindings: media: cedrus: Add H6 compatible
  media: cedrus: Add a quirk for not setting DMA offset
  media: cedrus: Add support for H6
  dt-bindings: sram: sunxi: Add compatible for the H6 SRAM C1
  arm64: dts: allwinner: h6: Add support for the SRAM C1 section
  arm64: dts: allwinner: h6: Add Video Engine node

 .../devicetree/bindings/media/cedrus.txt      |  1 +
 .../devicetree/bindings/sram/sunxi-sram.txt   |  1 +
 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi  | 25 +++++++++++++++++++
 drivers/staging/media/sunxi/cedrus/cedrus.c   |  9 +++++++
 drivers/staging/media/sunxi/cedrus/cedrus.h   |  3 +++
 .../staging/media/sunxi/cedrus/cedrus_hw.c    |  3 ++-
 6 files changed, 41 insertions(+), 1 deletion(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/6] dt-bindings: media: cedrus: Add H6 compatible
  2019-01-28 20:54 [PATCH 0/6] H6 Cedrus support Jernej Skrabec
@ 2019-01-28 20:54 ` Jernej Skrabec
  2019-01-29  9:07   ` Maxime Ripard
  2019-02-25 14:27   ` Rob Herring
  2019-01-28 20:55 ` [PATCH 2/6] media: cedrus: Add a quirk for not setting DMA offset Jernej Skrabec
                   ` (4 subsequent siblings)
  5 siblings, 2 replies; 15+ messages in thread
From: Jernej Skrabec @ 2019-01-28 20:54 UTC (permalink / raw)
  To: maxime.ripard, wens
  Cc: mchehab, robh+dt, mark.rutland, linux-media, linux-arm-kernel,
	devicetree, linux-kernel, linux-sunxi

This adds a compatible for H6. H6 VPU supports 10-bit HEVC decoding and
additional AFBC output format for HEVC.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
 Documentation/devicetree/bindings/media/cedrus.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/media/cedrus.txt b/Documentation/devicetree/bindings/media/cedrus.txt
index bce0705df953..20c82fb0c343 100644
--- a/Documentation/devicetree/bindings/media/cedrus.txt
+++ b/Documentation/devicetree/bindings/media/cedrus.txt
@@ -13,6 +13,7 @@ Required properties:
 			- "allwinner,sun8i-h3-video-engine"
 			- "allwinner,sun50i-a64-video-engine"
 			- "allwinner,sun50i-h5-video-engine"
+			- "allwinner,sun50i-h6-video-engine"
 - reg			: register base and length of VE;
 - clocks		: list of clock specifiers, corresponding to entries in
 			  the clock-names property;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 2/6] media: cedrus: Add a quirk for not setting DMA offset
  2019-01-28 20:54 [PATCH 0/6] H6 Cedrus support Jernej Skrabec
  2019-01-28 20:54 ` [PATCH 1/6] dt-bindings: media: cedrus: Add H6 compatible Jernej Skrabec
@ 2019-01-28 20:55 ` Jernej Skrabec
  2019-01-29  9:07   ` Maxime Ripard
  2019-01-28 20:55 ` [PATCH 3/6] media: cedrus: Add support for H6 Jernej Skrabec
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 15+ messages in thread
From: Jernej Skrabec @ 2019-01-28 20:55 UTC (permalink / raw)
  To: maxime.ripard, wens
  Cc: mchehab, robh+dt, mark.rutland, linux-media, linux-arm-kernel,
	devicetree, linux-kernel, linux-sunxi

H6 VPU doesn't work if DMA offset is set.

Add a quirk for it.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
 drivers/staging/media/sunxi/cedrus/cedrus.h    | 3 +++
 drivers/staging/media/sunxi/cedrus/cedrus_hw.c | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.h b/drivers/staging/media/sunxi/cedrus/cedrus.h
index 4aedd24a9848..c57c04b41d2e 100644
--- a/drivers/staging/media/sunxi/cedrus/cedrus.h
+++ b/drivers/staging/media/sunxi/cedrus/cedrus.h
@@ -28,6 +28,8 @@
 
 #define CEDRUS_CAPABILITY_UNTILED	BIT(0)
 
+#define CEDRUS_QUIRK_NO_DMA_OFFSET	BIT(0)
+
 enum cedrus_codec {
 	CEDRUS_CODEC_MPEG2,
 
@@ -91,6 +93,7 @@ struct cedrus_dec_ops {
 
 struct cedrus_variant {
 	unsigned int	capabilities;
+	unsigned int	quirks;
 };
 
 struct cedrus_dev {
diff --git a/drivers/staging/media/sunxi/cedrus/cedrus_hw.c b/drivers/staging/media/sunxi/cedrus/cedrus_hw.c
index 0acf219a8c91..fbfff7c1c771 100644
--- a/drivers/staging/media/sunxi/cedrus/cedrus_hw.c
+++ b/drivers/staging/media/sunxi/cedrus/cedrus_hw.c
@@ -177,7 +177,8 @@ int cedrus_hw_probe(struct cedrus_dev *dev)
 	 */
 
 #ifdef PHYS_PFN_OFFSET
-	dev->dev->dma_pfn_offset = PHYS_PFN_OFFSET;
+	if (!(variant->quirks & CEDRUS_QUIRK_NO_DMA_OFFSET))
+		dev->dev->dma_pfn_offset = PHYS_PFN_OFFSET;
 #endif
 
 	ret = of_reserved_mem_device_init(dev->dev);
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 3/6] media: cedrus: Add support for H6
  2019-01-28 20:54 [PATCH 0/6] H6 Cedrus support Jernej Skrabec
  2019-01-28 20:54 ` [PATCH 1/6] dt-bindings: media: cedrus: Add H6 compatible Jernej Skrabec
  2019-01-28 20:55 ` [PATCH 2/6] media: cedrus: Add a quirk for not setting DMA offset Jernej Skrabec
@ 2019-01-28 20:55 ` Jernej Skrabec
  2019-01-29  9:08   ` Maxime Ripard
  2019-01-28 20:55 ` [PATCH 4/6] dt-bindings: sram: sunxi: Add compatible for the H6 SRAM C1 Jernej Skrabec
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 15+ messages in thread
From: Jernej Skrabec @ 2019-01-28 20:55 UTC (permalink / raw)
  To: maxime.ripard, wens
  Cc: mchehab, robh+dt, mark.rutland, linux-media, linux-arm-kernel,
	devicetree, linux-kernel, linux-sunxi

H6 has improved VPU. It supports 10-bit HEVC decoding and AFBC output
format for HEVC.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
 drivers/staging/media/sunxi/cedrus/cedrus.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b/drivers/staging/media/sunxi/cedrus/cedrus.c
index ff11cbeba205..b98add3cdedd 100644
--- a/drivers/staging/media/sunxi/cedrus/cedrus.c
+++ b/drivers/staging/media/sunxi/cedrus/cedrus.c
@@ -396,6 +396,11 @@ static const struct cedrus_variant sun50i_h5_cedrus_variant = {
 	.capabilities	= CEDRUS_CAPABILITY_UNTILED,
 };
 
+static const struct cedrus_variant sun50i_h6_cedrus_variant = {
+	.capabilities	= CEDRUS_CAPABILITY_UNTILED,
+	.quirks		= CEDRUS_QUIRK_NO_DMA_OFFSET,
+};
+
 static const struct of_device_id cedrus_dt_match[] = {
 	{
 		.compatible = "allwinner,sun4i-a10-video-engine",
@@ -425,6 +430,10 @@ static const struct of_device_id cedrus_dt_match[] = {
 		.compatible = "allwinner,sun50i-h5-video-engine",
 		.data = &sun50i_h5_cedrus_variant,
 	},
+	{
+		.compatible = "allwinner,sun50i-h6-video-engine",
+		.data = &sun50i_h6_cedrus_variant,
+	},
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, cedrus_dt_match);
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 4/6] dt-bindings: sram: sunxi: Add compatible for the H6 SRAM C1
  2019-01-28 20:54 [PATCH 0/6] H6 Cedrus support Jernej Skrabec
                   ` (2 preceding siblings ...)
  2019-01-28 20:55 ` [PATCH 3/6] media: cedrus: Add support for H6 Jernej Skrabec
@ 2019-01-28 20:55 ` Jernej Skrabec
  2019-01-29  9:08   ` Maxime Ripard
  2019-01-28 20:55 ` [PATCH 5/6] arm64: dts: allwinner: h6: Add support for the SRAM C1 section Jernej Skrabec
  2019-01-28 20:55 ` [PATCH 6/6] arm64: dts: allwinner: h6: Add Video Engine node Jernej Skrabec
  5 siblings, 1 reply; 15+ messages in thread
From: Jernej Skrabec @ 2019-01-28 20:55 UTC (permalink / raw)
  To: maxime.ripard, wens
  Cc: mchehab, robh+dt, mark.rutland, linux-media, linux-arm-kernel,
	devicetree, linux-kernel, linux-sunxi

This introduces a new compatible for the H6 SRAM C1 section, that is
compatible with the SRAM C1 section as found on the A10.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
 Documentation/devicetree/bindings/sram/sunxi-sram.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/sram/sunxi-sram.txt b/Documentation/devicetree/bindings/sram/sunxi-sram.txt
index ab5a70bb9a64..380246a805f2 100644
--- a/Documentation/devicetree/bindings/sram/sunxi-sram.txt
+++ b/Documentation/devicetree/bindings/sram/sunxi-sram.txt
@@ -63,6 +63,7 @@ The valid sections compatible for H5 are:
 
 The valid sections compatible for H6 are:
     - allwinner,sun50i-h6-sram-c, allwinner,sun50i-a64-sram-c
+    - allwinner,sun50i-h6-sram-c1, allwinner,sun4i-a10-sram-c1
 
 The valid sections compatible for F1C100s are:
     - allwinner,suniv-f1c100s-sram-d, allwinner,sun4i-a10-sram-d
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 5/6] arm64: dts: allwinner: h6: Add support for the SRAM C1 section
  2019-01-28 20:54 [PATCH 0/6] H6 Cedrus support Jernej Skrabec
                   ` (3 preceding siblings ...)
  2019-01-28 20:55 ` [PATCH 4/6] dt-bindings: sram: sunxi: Add compatible for the H6 SRAM C1 Jernej Skrabec
@ 2019-01-28 20:55 ` Jernej Skrabec
  2019-01-29  9:08   ` Maxime Ripard
  2019-01-28 20:55 ` [PATCH 6/6] arm64: dts: allwinner: h6: Add Video Engine node Jernej Skrabec
  5 siblings, 1 reply; 15+ messages in thread
From: Jernej Skrabec @ 2019-01-28 20:55 UTC (permalink / raw)
  To: maxime.ripard, wens
  Cc: mchehab, robh+dt, mark.rutland, linux-media, linux-arm-kernel,
	devicetree, linux-kernel, linux-sunxi

Add a node for H6 SRAM C1 section.

Manual calls it VE SRAM, but for consistency with older SoCs, SRAM C1
name is used.

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

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
index d93a7add67e7..247dc0a5ce89 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
@@ -167,6 +167,20 @@
 					reg = <0x0000 0x1e000>;
 				};
 			};
+
+			sram_c1: sram@1a00000 {
+				compatible = "mmio-sram";
+				reg = <0x01a00000 0x200000>;
+				#address-cells = <1>;
+				#size-cells = <1>;
+				ranges = <0 0x01a00000 0x200000>;
+
+				ve_sram: sram-section@0 {
+					compatible = "allwinner,sun50i-h6-sram-c1",
+						     "allwinner,sun4i-a10-sram-c1";
+					reg = <0x000000 0x200000>;
+				};
+			};
 		};
 
 		ccu: clock@3001000 {
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 6/6] arm64: dts: allwinner: h6: Add Video Engine node
  2019-01-28 20:54 [PATCH 0/6] H6 Cedrus support Jernej Skrabec
                   ` (4 preceding siblings ...)
  2019-01-28 20:55 ` [PATCH 5/6] arm64: dts: allwinner: h6: Add support for the SRAM C1 section Jernej Skrabec
@ 2019-01-28 20:55 ` Jernej Skrabec
  2019-03-19  8:50   ` [linux-sunxi] " Paul Kocialkowski
  5 siblings, 1 reply; 15+ messages in thread
From: Jernej Skrabec @ 2019-01-28 20:55 UTC (permalink / raw)
  To: maxime.ripard, wens
  Cc: mchehab, robh+dt, mark.rutland, linux-media, linux-arm-kernel,
	devicetree, linux-kernel, linux-sunxi

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(+)

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


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCH 1/6] dt-bindings: media: cedrus: Add H6 compatible
  2019-01-28 20:54 ` [PATCH 1/6] dt-bindings: media: cedrus: Add H6 compatible Jernej Skrabec
@ 2019-01-29  9:07   ` Maxime Ripard
  2019-02-25 14:27   ` Rob Herring
  1 sibling, 0 replies; 15+ messages in thread
From: Maxime Ripard @ 2019-01-29  9:07 UTC (permalink / raw)
  To: Jernej Skrabec
  Cc: wens, mchehab, robh+dt, mark.rutland, linux-media,
	linux-arm-kernel, devicetree, linux-kernel, linux-sunxi

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

On Mon, Jan 28, 2019 at 09:54:59PM +0100, Jernej Skrabec wrote:
> This adds a compatible for H6. H6 VPU supports 10-bit HEVC decoding and
> additional AFBC output format for HEVC.
> 
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>

Maxime

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/6] media: cedrus: Add a quirk for not setting DMA offset
  2019-01-28 20:55 ` [PATCH 2/6] media: cedrus: Add a quirk for not setting DMA offset Jernej Skrabec
@ 2019-01-29  9:07   ` Maxime Ripard
  0 siblings, 0 replies; 15+ messages in thread
From: Maxime Ripard @ 2019-01-29  9:07 UTC (permalink / raw)
  To: Jernej Skrabec
  Cc: wens, mchehab, robh+dt, mark.rutland, linux-media,
	linux-arm-kernel, devicetree, linux-kernel, linux-sunxi

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

On Mon, Jan 28, 2019 at 09:55:00PM +0100, Jernej Skrabec wrote:
> H6 VPU doesn't work if DMA offset is set.
> 
> Add a quirk for it.
> 
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>

Maxime

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 3/6] media: cedrus: Add support for H6
  2019-01-28 20:55 ` [PATCH 3/6] media: cedrus: Add support for H6 Jernej Skrabec
@ 2019-01-29  9:08   ` Maxime Ripard
  0 siblings, 0 replies; 15+ messages in thread
From: Maxime Ripard @ 2019-01-29  9:08 UTC (permalink / raw)
  To: Jernej Skrabec
  Cc: wens, mchehab, robh+dt, mark.rutland, linux-media,
	linux-arm-kernel, devicetree, linux-kernel, linux-sunxi

[-- Attachment #1: Type: text/plain, Size: 377 bytes --]

On Mon, Jan 28, 2019 at 09:55:01PM +0100, Jernej Skrabec wrote:
> H6 has improved VPU. It supports 10-bit HEVC decoding and AFBC output
> format for HEVC.
> 
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>

Maxime

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 4/6] dt-bindings: sram: sunxi: Add compatible for the H6 SRAM C1
  2019-01-28 20:55 ` [PATCH 4/6] dt-bindings: sram: sunxi: Add compatible for the H6 SRAM C1 Jernej Skrabec
@ 2019-01-29  9:08   ` Maxime Ripard
  0 siblings, 0 replies; 15+ messages in thread
From: Maxime Ripard @ 2019-01-29  9:08 UTC (permalink / raw)
  To: Jernej Skrabec
  Cc: wens, mchehab, robh+dt, mark.rutland, linux-media,
	linux-arm-kernel, devicetree, linux-kernel, linux-sunxi

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

On Mon, Jan 28, 2019 at 09:55:02PM +0100, Jernej Skrabec wrote:
> This introduces a new compatible for the H6 SRAM C1 section, that is
> compatible with the SRAM C1 section as found on the A10.
> 
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>

Applied, thanks!
Maxime

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 5/6] arm64: dts: allwinner: h6: Add support for the SRAM C1 section
  2019-01-28 20:55 ` [PATCH 5/6] arm64: dts: allwinner: h6: Add support for the SRAM C1 section Jernej Skrabec
@ 2019-01-29  9:08   ` Maxime Ripard
  0 siblings, 0 replies; 15+ messages in thread
From: Maxime Ripard @ 2019-01-29  9:08 UTC (permalink / raw)
  To: Jernej Skrabec
  Cc: wens, mchehab, robh+dt, mark.rutland, linux-media,
	linux-arm-kernel, devicetree, linux-kernel, linux-sunxi

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

On Mon, Jan 28, 2019 at 09:55:03PM +0100, Jernej Skrabec wrote:
> Add a node for H6 SRAM C1 section.
> 
> Manual calls it VE SRAM, but for consistency with older SoCs, SRAM C1
> name is used.
> 
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>

Applied, thanks!
Maxime

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 1/6] dt-bindings: media: cedrus: Add H6 compatible
  2019-01-28 20:54 ` [PATCH 1/6] dt-bindings: media: cedrus: Add H6 compatible Jernej Skrabec
  2019-01-29  9:07   ` Maxime Ripard
@ 2019-02-25 14:27   ` Rob Herring
  1 sibling, 0 replies; 15+ messages in thread
From: Rob Herring @ 2019-02-25 14:27 UTC (permalink / raw)
  To: Jernej Skrabec
  Cc: maxime.ripard, wens, mchehab, robh+dt, mark.rutland, linux-media,
	linux-arm-kernel, devicetree, linux-kernel, linux-sunxi

On Mon, 28 Jan 2019 21:54:59 +0100, Jernej Skrabec wrote:
> This adds a compatible for H6. H6 VPU supports 10-bit HEVC decoding and
> additional AFBC output format for HEVC.
> 
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
> ---
>  Documentation/devicetree/bindings/media/cedrus.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [linux-sunxi] [PATCH 6/6] arm64: dts: allwinner: h6: Add Video Engine node
  2019-01-28 20:55 ` [PATCH 6/6] arm64: dts: allwinner: h6: Add Video Engine node Jernej Skrabec
@ 2019-03-19  8:50   ` Paul Kocialkowski
  2019-03-19  9:49     ` Maxime Ripard
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Kocialkowski @ 2019-03-19  8:50 UTC (permalink / raw)
  To: jernej.skrabec, maxime.ripard, wens
  Cc: mchehab, robh+dt, mark.rutland, linux-media, linux-arm-kernel,
	devicetree, linux-kernel, linux-sunxi

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
> 
-- 
Paul Kocialkowski, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [linux-sunxi] [PATCH 6/6] arm64: dts: allwinner: h6: Add Video Engine node
  2019-03-19  8:50   ` [linux-sunxi] " Paul Kocialkowski
@ 2019-03-19  9:49     ` Maxime Ripard
  0 siblings, 0 replies; 15+ messages in thread
From: Maxime Ripard @ 2019-03-19  9:49 UTC (permalink / raw)
  To: Paul Kocialkowski
  Cc: jernej.skrabec, wens, mchehab, robh+dt, mark.rutland,
	linux-media, linux-arm-kernel, devicetree, linux-kernel,
	linux-sunxi

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-03-19  9:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-28 20:54 [PATCH 0/6] H6 Cedrus support Jernej Skrabec
2019-01-28 20:54 ` [PATCH 1/6] dt-bindings: media: cedrus: Add H6 compatible Jernej Skrabec
2019-01-29  9:07   ` Maxime Ripard
2019-02-25 14:27   ` Rob Herring
2019-01-28 20:55 ` [PATCH 2/6] media: cedrus: Add a quirk for not setting DMA offset Jernej Skrabec
2019-01-29  9:07   ` Maxime Ripard
2019-01-28 20:55 ` [PATCH 3/6] media: cedrus: Add support for H6 Jernej Skrabec
2019-01-29  9:08   ` Maxime Ripard
2019-01-28 20:55 ` [PATCH 4/6] dt-bindings: sram: sunxi: Add compatible for the H6 SRAM C1 Jernej Skrabec
2019-01-29  9:08   ` Maxime Ripard
2019-01-28 20:55 ` [PATCH 5/6] arm64: dts: allwinner: h6: Add support for the SRAM C1 section Jernej Skrabec
2019-01-29  9:08   ` Maxime Ripard
2019-01-28 20:55 ` [PATCH 6/6] arm64: dts: allwinner: h6: Add Video Engine node Jernej Skrabec
2019-03-19  8:50   ` [linux-sunxi] " Paul Kocialkowski
2019-03-19  9:49     ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).