From patchwork Mon Nov 22 21:34:29 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: 12693362 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 E0D3CC433EF for ; Mon, 22 Nov 2021 21:35:59 +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: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:In-Reply-To:References: List-Owner; bh=yAT1HWok1sT91okVk+1P78nsXDZV8D9SuMp1RfaHbAw=; b=Xxw33iJ/ZFZn5M oNiIabTHkrPQh3xsH6/9Vg7gUIHGJNz6hXtzCX/1Peh6JznjR64oucFs/LDamc/JFk1Vn5yEH3iTo O/X0vw2FUlxXiCkA31aB6tcZtTTvv8sweozCM/ajiDC41ob5sa5QUvENyBUUDDZdggSflP++sY91i DPydltZQuyCD33Atd0wMrkkkyvEg84uyL4Ead4RjtvAiopzXIkuW5hGxF18nEKOs1m9y4w7mTrYT3 1MPG7oHBC0gkqhrwlaqsipLKZTMtDnFQcq55ghizUunv6wYucDd/zN8d2CiMx+7aHgRBnw3RgRGhE sv2CJCLlfjqsToaezDdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpGxT-0002jZ-1B; Mon, 22 Nov 2021 21:34:39 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpGxP-0002j5-6P for linux-arm-kernel@lists.infradead.org; Mon, 22 Nov 2021 21:34:36 +0000 Received: by mail-ed1-x52f.google.com with SMTP id t5so83334261edd.0 for ; Mon, 22 Nov 2021 13:34:34 -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:mime-version :content-transfer-encoding; bh=OrAz2qSS0v6VrYhP03ydDVHSa28f05qdX2rEWeofBjI=; b=K215rzp9LK1Ef0esI9zQ303MZmdKQYXlhmUZ3qhkr6HQEokyuckEaeZXXAGglh77E+ +HSbHXEjTgoQbZR0ytSzjiJ7RSBkpWiBP1/RyszA33WGeDKp1s01dQxEsrjd7UJuRKQq H87wzMWUOhKC6NCLw7wJ+V+O8zswFn71lmofspDNOTKv9vPjRRPA6OK4DReKCh3bXZlc LZomnxfeHk6dQreOqFOnv2y6Zwed9qlx0h+E5AWJ1/vkq8n5Q0XIo7+IakDV0OeMN4Wo adKm2tDaPkDpiN+vzYe30A7fL6OC1ZdJ17IJPYumq0ye8GNzH+eUZe9qM8NSSOJFvpP1 CUIQ== 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:mime-version :content-transfer-encoding; bh=OrAz2qSS0v6VrYhP03ydDVHSa28f05qdX2rEWeofBjI=; b=dMa0w/eF5H9fVYGTlCPmgdCXTGhoJZZnAWESOYc18U0FdIoOICgcQSqnSu/4dIpvb0 LFMhytGlYOu3ZlRQJ/T2gf8841qx2Db+9IzMuQYgDC91Od8ojTETOprCFRfEvNyngcbT chMUV5rO4s8a+2SPXW0fhpcFJapYlpNPYizbZCmdZ+GSOekTOa7aEroZq1fHnXJf3I/L 0Je+kgxbNrh0NHZTr1qdYiKDBsUIGr3GPitqUP9cYyZavKSA+ogg/M02NkLklu7PzndO b6V091RpaepSGw81Lprqis613RVQuSTLexXf7H8oQv7wb83ZCYzqMfuM1WGWB0Gj0o1d iV0Q== X-Gm-Message-State: AOAM530mVuEGVLZl3T78NWh7HP9hwtHlauRD2zQ1V3TpIUA5jQFmgsz0 JlT2dIc5L0y78yEjP4ZjpTo= X-Google-Smtp-Source: ABdhPJxRWrON1ypXU/5yf9g86BJvKtRrnf7u4KiFdwfv1C8JCjCkSNxtCIqYr3QPXJ7pZzJQUdiEWA== X-Received: by 2002:a05:6402:280b:: with SMTP id h11mr264474ede.341.1637616873667; Mon, 22 Nov 2021 13:34:33 -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 hq9sm4482933ejc.119.2021.11.22.13.34.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 13:34:33 -0800 (PST) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec Subject: [PATCH] arm64: dts: allwinner: h6: Add Hantro G2 node Date: Mon, 22 Nov 2021 22:34:29 +0100 Message-Id: <20211122213429.921919-1-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211122_133435_263623_7AEC7B95 X-CRM114-Status: UNSURE ( 9.44 ) 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>;