From patchwork Mon Nov 29 18:26:33 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: 12693948 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 3C6DEC433EF for ; Mon, 29 Nov 2021 18:32:00 +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=fmClpWZOZRNQGnLFsZbBpIYoQqDs3QuyUxSLPYob2C8=; b=DV3++G994quewU 1KZI5F3AEFk1hiW7f7sctgdwnHzQM+9r3xxLDNMWsVe9MielG7Mbf5Gou93TJBT5Xh+MzJEKaG9dn OhZj+7a1aqPmx7K5aS5F2qMUKuoExJy9i7eYd+wvYWnABD48r1JFum/YWSCxm3HLAEIRqsEJNOPHM hXiFdfJu8a5EziTUo9yZOq5jLl/fsgZy6GTpRzX5JRMbgTZ/bLDVCLWqObTLFN1RF+75Kf4Nm/RJc PpbQT4/YKp4Z00qErzmULoiNHaFeK6zPH85Z/OUmfU1xNpSZsMYoIbpY2NB7iO15fA8ReHaoNW6DJ APuqnB4HeLyVX3435l+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrlPv-001mpP-Tz; Mon, 29 Nov 2021 18:30:20 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrlMa-001l94-Jf for linux-arm-kernel@lists.infradead.org; Mon, 29 Nov 2021 18:26:56 +0000 Received: by mail-wr1-x429.google.com with SMTP id d9so17954681wrw.4 for ; Mon, 29 Nov 2021 10:26:51 -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=2CK7ksNUp8Pg2echFt8tqjUwXozzVDtckwrvamj3fR4=; b=pEsFxY9XJrFlt6w2FqEL8BefM39rmQUeYseKPXfyn+veqbL/hRrUetlSFEWrt4TdLj DX4ExO5P48trqilumGsGHydlasQa/b7e5WG/go7ES5HhH5tCptdJV33z4hjXq1I1jOK3 iHaLRuU9pMnJkf6EcuXNyVnwfkLZ0D/+GL7mpAazNG+hGkzB75arjFF1VvAcSRKoTk/+ Kn89bNMTOoi/rjcGdr8KTPpfK9Qco6+bskGhIzw1gcGe/m3sg2JBEcLfsb3WmXDFawNW 7XGJcr/4MuYPFN3uFCZK5lGieiQpH7Rf04o+dmd9RqixpCbvpKzd22Cex7zlMaBqgcEy mJVQ== 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=2CK7ksNUp8Pg2echFt8tqjUwXozzVDtckwrvamj3fR4=; b=xH1L/96dqQtdUCZ9Dd/BfmtpWtTWvR+fvsn64q8T6RwzWUFWMKFU6SFgmXNBeHGQ8U c1Tojl5UlhCjta35LyNEPJwjURqOf8ECebHvBZE6MBGTbDXWYr4zl1KDy5RiIV/EGKPq Vafnlu0zCHM1zOzpuDQD84vdnGqb7qyrwMu6Ol3Kl4J9SjCxHZ6EF9r/oifTuxoOXv0Z K7V92+GXkOsOuVBETnZi9BtXs0ZAppJ1bsgtiNDuhXSlf4aLhKssh72HWMKqvIH6Buh6 JrGNWQ3cRukcA0UMxN/tEz6zHCk7vLbw15sarzB49FPx6B3QEz7TEXQWsKo38PVPDwvv DH7w== X-Gm-Message-State: AOAM531KHxXxOrL8nAumpwX/0XCxqbarlXvNMRQTtQeOy9zgSpz6HNoV ROGLRYZQOIGk2ZbV0Pgxs2w= X-Google-Smtp-Source: ABdhPJzN44NyUbZ6t3f0zWKxJtGZkXmmaeAOLVx4Xb2YyJrvOhxilgJVC5Um8UxWuCf4ryumst6epw== X-Received: by 2002:a5d:6351:: with SMTP id b17mr35204542wrw.151.1638210410731; Mon, 29 Nov 2021 10:26:50 -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 o12sm85907wmq.12.2021.11.29.10.26.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Nov 2021 10:26:50 -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 v2 9/9] arm64: dts: allwinner: h6: Add Hantro G2 node Date: Mon, 29 Nov 2021 19:26:33 +0100 Message-Id: <20211129182633.480021-10-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211129182633.480021-1-jernej.skrabec@gmail.com> References: <20211129182633.480021-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-20211129_102652_720200_83BB74E1 X-CRM114-Status: UNSURE ( 9.99 ) 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>;