From patchwork Mon Nov 22 18:47:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12693358 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CAE30C433EF for ; Mon, 22 Nov 2021 18:50:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yAT1HWok1sT91okVk+1P78nsXDZV8D9SuMp1RfaHbAw=; b=2kcOssBZRR4fa7 hGVnGoDfERPckH3bKpr380YQOlJ/solK457e8QrZhQmKZ8ax2ginqQASEa+bHgsGYJchk4xYMz62m o1Zfz95AceKde6yon/tlHvU6Uc4y6+67sHonQiPvuXNUfo7y0VMDtXUKpT6KP3J7eWdfbZ1ncv+k9 VfUilzZ8SjwDoKMhJCB+T582G1DyICVYGk0np7HwjF93cFABw0uQAUkhFuy0D8KCDtfUjqyybkWke o9vXq64KkWCrKkcWlP8T3y1j+iApqaAIZBlrmpnDg8mE+TAy3LTpJT3LgyHfNwmlUrbmIuNJj3ee7 QxbzkTyy5c0UMZaXh8UA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpENR-00HP2F-Vr; Mon, 22 Nov 2021 18:49:19 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpELa-00HOFD-QP for linux-arm-kernel@lists.infradead.org; Mon, 22 Nov 2021 18:47:24 +0000 Received: by mail-ed1-x532.google.com with SMTP id o20so36757370eds.10 for ; Mon, 22 Nov 2021 10:47:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OrAz2qSS0v6VrYhP03ydDVHSa28f05qdX2rEWeofBjI=; b=aBwbTm8os5gysOh9BjYaJ/KuTUKCj4tXn/KHFS6T5lt1KoTatn8M9t0R2mpFXh+Qzl AvxgkKXym1AXPSo+sKCLQ3UsO2JpJM41A8QwTZ5/EyTSXp3Y4jYQ5x05xaJZvqTO+gcM ifWoqay6i2F4ozO7jdpQoPMP41qsfmFfIGvmL52JNhlJLQKMejXeAM1o3C0KFxpByBgQ M4Mt+Fq4OhK6GkQ+TaJkGO54CRtZ9zo+Pq71HtYX/8paiwt+MogdOkxQ7o9P/c+cGvO0 V6V3/HSuVa7Yw8+xjpHCwKbk6gwffex9wM8peWGyzt4ycSCxuanD2j68W65bFzNgNd7v GzYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OrAz2qSS0v6VrYhP03ydDVHSa28f05qdX2rEWeofBjI=; b=1ujiPUIEnwJQLYkMoPRAQwr4mlIf41HJ0/ABPlP76SMn1a0KLxaVWXDfM3Bdnn2nGR 0T4sbsDf3+XChF2hSHM77LLsrdUVWRMAwQ7IcZLCZqNAI3ZzYLLKa9+G7Iy10cfbj1L5 F4or9J7mBUxbG5n2rhA6tTyItjJ1SYKrYcdcwPWv/yqxcwodPNELwtOvE0LOQ6ogHrGA u+w9dpa1XgqScpJVjiexwKb9elWaA7w8TZN1mTTfDX2LIZtYGKrE+/yZNYGv4ve4ROHL iFtmnNMNwZRdF0pe+udRfPb3XXanjTLGuDXVl/K8bhKQGGeBPWqINk++4SBSrD7NEFfs CsOA== X-Gm-Message-State: AOAM531fR2WHlgMYohuBGlwjMJsov4RDzVmQK4E7jAx7myscJ1aHl240 Uls2h+iBL994RtUo/L6gSGQ= X-Google-Smtp-Source: ABdhPJzTkCP49CfK8OCN7Yj69H529JSNBRlwwEGGRuoxwaPQq1w+6+n7Bo+zSmFqF8zimlUpwdtfmg== X-Received: by 2002:a05:6402:5194:: with SMTP id q20mr58077323edd.250.1637606840774; Mon, 22 Nov 2021 10:47:20 -0800 (PST) Received: from kista.localdomain (cpe-86-58-29-253.static.triera.net. [86.58.29.253]) by smtp.gmail.com with ESMTPSA id h10sm4512312edr.95.2021.11.22.10.47.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 10:47:20 -0800 (PST) From: Jernej Skrabec To: linux-media@vger.kernel.org Cc: ezequiel@vanguardiasur.com.ar, nicolas.dufresne@collabora.com, mchehab@kernel.org, robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, p.zabel@pengutronix.de, andrzej.p@collabora.com, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Jernej Skrabec Subject: [PATCH 7/7] arm64: dts: allwinner: h6: Add Hantro G2 node Date: Mon, 22 Nov 2021 19:47:02 +0100 Message-Id: <20211122184702.768341-8-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211122184702.768341-1-jernej.skrabec@gmail.com> References: <20211122184702.768341-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211122_104722_879295_26D21385 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org H6 SoC has a second VPU, dedicated to VP9 decoding. It's a slightly older design, though. Signed-off-by: Jernej Skrabec --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 4c4547f7d0c7..878061e75098 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -153,6 +153,15 @@ mixer0_out_tcon_top_mixer0: endpoint { }; }; + video-codec-g2@1c00000 { + compatible = "allwinner,sun50i-h6-vpu-g2"; + reg = <0x01c00000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_VP9>, <&ccu CLK_VP9>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_VP9>; + }; + video-codec@1c0e000 { compatible = "allwinner,sun50i-h6-video-engine"; reg = <0x01c0e000 0x2000>;