From patchwork Fri Oct 6 06:53:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 149121 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp131960vqo; Thu, 5 Oct 2023 23:54:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGy6maC7vTTv81VzCwhL8j+/IOmMSVuXiqCnQzw1quWAcTTbOUcqVZh1pEvtDg9+OVZ9tDN X-Received: by 2002:a17:90b:4c08:b0:274:98aa:72d8 with SMTP id na8-20020a17090b4c0800b0027498aa72d8mr7213994pjb.3.1696575246290; Thu, 05 Oct 2023 23:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696575246; cv=none; d=google.com; s=arc-20160816; b=l37OkEIpOfmnQ9ernugGJIqsxrV6LtHqmxtmEouFTwBvZrjAFhV5Hql3MfAv48vWJH k7JNjzhdJDTtpvDErXACTlKs205QH4z/L2EoCdjXpashNtd5q+fW0YrQwtEgF5Jy45wy PJ7k0yhALWqEIcqp1Fy7mTtpT/JxF+cWxgUXKT8QdRbZKaWQ9YVDsC4HgJT3iLShWncK W5VkK9RbWioPX87yHocMhLeMoliHQ6DjdZ7cf+rNi94C9gqnQpJvM3mKA+KMqIsPDBZH 5raEiyoskuqdrjwell2Zg1escdSSfoRoskwqkHlTKmVFDeRdo+sm0TR5rMd5yjr30X8V xNew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Mrg/iIo3MwoCbbmTm8ClGRnGQ/1HNIdIuE5n8gLzYkA=; fh=3bR/W0Z79zJPME8cq6mN9pWZI43Ro2zUeitEIouTIZ0=; b=oqXanimWiIK3Ah7CErIvVOteQe1zeq+TTk9Rj36pQf0srwFeVgQoSZAih/cDr4nC5V ro/xRRNTToFETMbjxBYEWzOtSsYW6vu/dYLyi/6yVcpTk07IfCtBDT1U9PNAp+LP4Dvj 7saNZhgL3efFwNYeONw/S1KRTISUiV/FjMYaCLjRcI9mciGovUg15utJoTQlt50rB55W sYqxQYqUPST8IGVJppjGlc/psbgxlXSY1o0+k7L+lKu0Z24QFeVX7GQ0W8iebIXLQmd/ b3vzkMrsZkb+H+H4+AXbYv2xPEqILfcD1iuI18zBkCxW+Q9f1a/YcKqEhWKsWfc56pQj M0NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Ya3dxMsz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id b19-20020a17090acc1300b002700bcdbff1si4935082pju.154.2023.10.05.23.54.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 23:54:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Ya3dxMsz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id DB95480879C8; Thu, 5 Oct 2023 23:54:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230219AbjJFGxq (ORCPT + 18 others); Fri, 6 Oct 2023 02:53:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230184AbjJFGxp (ORCPT ); Fri, 6 Oct 2023 02:53:45 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26AA1EB; Thu, 5 Oct 2023 23:53:43 -0700 (PDT) Received: from benjamin-XPS-13-9310.. (unknown [IPv6:2a01:e0a:120:3210:40dd:1541:8234:4d16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: benjamin.gaignard) by madras.collabora.co.uk (Postfix) with ESMTPSA id 009216607336; Fri, 6 Oct 2023 07:53:40 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696575221; bh=lxJjyV/iMvcHmNqd0VGLIe+5rW3S6hUI6UcED93hyTo=; h=From:To:Cc:Subject:Date:From; b=Ya3dxMsz3yXH4nuNnydhrYwXRinFUR/TJJYZ2h2HNQlkfeO1497C4raGKAhtEUygp 1H0WzPmXABuaB/OOCl58KG3MDtWRz47YsN9bFhlo7Z88GKKD2MA4ah2xRF3v9XrZDu nXCMdxmWR3tMTLeF0c0qJO2HFfnStkHDRPMDAQYYdev7JE3YqiDlaOAat/f33UHLne OzfKau+q0b9i00z7E29FAMIOCeyH+qIv+yL16DDOK/sPLSfrLKRacai5/65epDRj9h qUyR+jntfMeXcAdmaJZMG6IAwJA7SaiThsUyv39Qy6JV0A5lFA6i7cjx6T+cY8m8Zi /3UHA6pK7MkEg== From: Benjamin Gaignard To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, heiko@sntech.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Benjamin Gaignard , Sebastian Reichel Subject: [PATCH v3] arm64: dts: rockchip: rk3588s: Add AV1 decoder node Date: Fri, 6 Oct 2023 08:53:34 +0200 Message-Id: <20231006065334.8117-1-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 05 Oct 2023 23:54:02 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778988085261072529 X-GMAIL-MSGID: 1778988085261072529 Add node for AV1 video decoder. Signed-off-by: Benjamin Gaignard Reviewed-by: Sebastian Reichel --- version 3: - remove status = "okay" version 2: - change node name to video-codec - fix typo in commit header arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index 5544f66c6ff4..5481f59f551f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -2304,6 +2304,19 @@ gpio4: gpio@fec50000 { #interrupt-cells = <2>; }; }; + + av1d: video-codec@fdc70000 { + compatible = "rockchip,rk3588-av1-vpu"; + reg = <0x0 0xfdc70000 0x0 0x800>; + interrupts = ; + interrupt-names = "vdpu"; + clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>; + clock-names = "aclk", "hclk"; + assigned-clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>; + assigned-clock-rates = <400000000>, <400000000>; + resets = <&cru SRST_A_AV1>, <&cru SRST_P_AV1>, <&cru SRST_A_AV1_BIU>, <&cru SRST_P_AV1_BIU>; + power-domains = <&power RK3588_PD_AV1>; + }; }; #include "rk3588s-pinctrl.dtsi"