devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: allwinner: h5: Add deinterlace node
@ 2021-01-06 18:25 Jernej Skrabec
  2021-01-07  9:40 ` Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Jernej Skrabec @ 2021-01-06 18:25 UTC (permalink / raw)
  To: robh+dt, mripard, wens
  Cc: linux-media, devicetree, linux-arm-kernel, linux-kernel,
	jernej.skrabec, linux-sunxi

Deinterlace core is completely compatible to H3.

Add a node for it.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
Note: I didn't add H5 fallback, since the only reason why this node
is not in common H3/H5 dtsi is that it's located on different addresses.

If anyone feel fallback compatible is needed, I'll add it in next revision.

 arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
index 10489e508695..578a63dedf46 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
@@ -121,6 +121,19 @@ crypto: crypto@1c15000 {
 			resets = <&ccu RST_BUS_CE>;
 		};
 
+		deinterlace: deinterlace@1e00000 {
+			compatible = "allwinner,sun8i-h3-deinterlace";
+			reg = <0x01e00000 0x20000>;
+			clocks = <&ccu CLK_BUS_DEINTERLACE>,
+				 <&ccu CLK_DEINTERLACE>,
+				 <&ccu CLK_DRAM_DEINTERLACE>;
+			clock-names = "bus", "mod", "ram";
+			resets = <&ccu RST_BUS_DEINTERLACE>;
+			interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
+			interconnects = <&mbus 9>;
+			interconnect-names = "dma-mem";
+		};
+
 		mali: gpu@1e80000 {
 			compatible = "allwinner,sun50i-h5-mali", "arm,mali-450";
 			reg = <0x01e80000 0x30000>;
-- 
2.30.0


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

* Re: [PATCH] arm64: dts: allwinner: h5: Add deinterlace node
  2021-01-06 18:25 [PATCH] arm64: dts: allwinner: h5: Add deinterlace node Jernej Skrabec
@ 2021-01-07  9:40 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2021-01-07  9:40 UTC (permalink / raw)
  To: Jernej Skrabec
  Cc: robh+dt, wens, linux-media, devicetree, linux-arm-kernel,
	linux-kernel, linux-sunxi

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

On Wed, Jan 06, 2021 at 07:25:23PM +0100, Jernej Skrabec wrote:
> Deinterlace core is completely compatible to H3.
> 
> Add a node for it.
> 
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
> ---
> Note: I didn't add H5 fallback, since the only reason why this node
> is not in common H3/H5 dtsi is that it's located on different addresses.
> 
> If anyone feel fallback compatible is needed, I'll add it in next revision.

Applied, thanks
Maxime

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

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

end of thread, other threads:[~2021-01-07  9:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-06 18:25 [PATCH] arm64: dts: allwinner: h5: Add deinterlace node Jernej Skrabec
2021-01-07  9:40 ` 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).