From patchwork Thu Oct 5 14:54:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 148930 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp434715vqb; Thu, 5 Oct 2023 09:59:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwyDH2Aivr02Zxka5YACF4QXFnfZ/1v0TJag50cQn8ZhZsZsrLb87ztJ/T4pyduU00e5Nk X-Received: by 2002:a05:6a00:14c8:b0:68f:dcc1:4bef with SMTP id w8-20020a056a0014c800b0068fdcc14befmr7422723pfu.7.1696525141787; Thu, 05 Oct 2023 09:59:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696525141; cv=none; d=google.com; s=arc-20160816; b=kH725XSUM/rZTGOhtT9ThJDGiSCrWCHMCLwroDG2YAA0nDrnM3vyps+uPQzxjlhxrv uzaXt8kGtwshXYZxvskp4MXCjcV39QSm0mYrjVRNYRbU0CuitG/FIOlAUbqvOwIGCWxH p4xufJNEzqod5pixtgE78wltpcryDQjSRJxQh3ghMQXe5GXUCt4cauERZ0xIKJeWUOjj 2QXcjlGor0Im8seae8Ul7Z853EabeJv552rUZ2cI1WbkXbfHzs/+vw8nEF/Jpj+W3PBM 5FYGuwD83cpfNfTfv1xQekIVFpnIG2yCzHALtB0BCkSATIc1RkHlT+ULC9HSQyd8qeGm QR/Q== 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=RUuSlvbLJfR+KAEUtigHcfPyWXm+EMoBP9dOoZ/YVOs=; fh=3bR/W0Z79zJPME8cq6mN9pWZI43Ro2zUeitEIouTIZ0=; b=Lc6Klw7KanNmtsQki/p1ouF0EimbIJkik5fUkNEfS/ChVRwFNNvdfA4tuUb9X5SqpG XEiT8If2CMOFPkvvr+M7VFJxV2XoJgKzJg3j8lx5zo7wRwzYUCGVUk8z68SQVQ9M1DYE EOIc7xySbtHRmJnfLB9FLpW18GQjKQWNG9BSLBYQcQDACY7O43/+dLoSbqyGPWYhMzV3 pp/NUql5SCJpEOeKeg+W+/6wp1B4b5fvS3ChEKtsTtsraHJ+xVsu32KGSC/ByMByDBpN PzbGECIjNccQS7VDYu3cAhhduBCa06zSiW/6e8ivuWF+Oob6K0JgZPhJTTDEZmujDCGu KUAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lY3vUzcE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id fa28-20020a056a002d1c00b0068fcf194dacsi1824836pfb.92.2023.10.05.09.59.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:59:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lY3vUzcE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id AD6DA823C122; Thu, 5 Oct 2023 09:58:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242694AbjJEQSx (ORCPT + 18 others); Thu, 5 Oct 2023 12:18:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242137AbjJEQPK (ORCPT ); Thu, 5 Oct 2023 12:15:10 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6802E344B6; Thu, 5 Oct 2023 07:54:25 -0700 (PDT) Received: from benjamin-XPS-13-9310.. (unknown [IPv6:2a01:e0a:120:3210:4c53:5fd0:f25b:b0dd]) (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 C73D66607331; Thu, 5 Oct 2023 15:54:23 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696517664; bh=F9sFnhe+57/E8C+QJ0cI/glDDOJt5cWzzhvbcEd44Ns=; h=From:To:Cc:Subject:Date:From; b=lY3vUzcEyIqRx98mguxeDEJLRoc2xL7klMc1LBGuC653yii12PciBPF5PEimHUnbR MKPLkJEtS9ccGR1SKXhg0b2dfyzqozJ89GR5vozII0IcelwEKmVHWAM9jsDfP3NglF Cw6pv4hSEb6fWn+yZKJs3VeB4WChmm1l9iXCb7qcarQddV7tMhMP9ncnYQ1S66tKH6 FLPSaD6ze4mLAQGVHrW/yadqJJ5KxrmrYU9Bo+RizCH7Yz9NlRvQMBUa41czZFGZ7r K1bxll2ZGNLL3Skd7+h6FMCW9AqXSwgcSGRrCyG7KBpHcGKdSpCdZ+eHnr49y1EpOn w12VoIzIUY0zg== 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] arm64: dts: rockchip: rk3588is: Add AV1 decoder node Date: Thu, 5 Oct 2023 16:54:20 +0200 Message-Id: <20231005145420.169594-1-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 09:58:59 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778931700052879591 X-GMAIL-MSGID: 1778935546824508490 Add node for AV1 video decoder. Signed-off-by: Benjamin Gaignard Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index 5544f66c6ff4..835e66d85d5f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -2304,6 +2304,20 @@ gpio4: gpio@fec50000 { #interrupt-cells = <2>; }; }; + + av1d: av1d@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>; + status = "okay"; + }; }; #include "rk3588s-pinctrl.dtsi"