Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp420088rdb; Thu, 5 Oct 2023 09:34:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGStqJ0G7Z2pD4tY2YTJKlrTrrGugnuz6IlIi5rS2wSrLI7dpuQdt61akLr68P95AMgznhb X-Received: by 2002:a17:90b:124c:b0:279:98f6:deac with SMTP id gx12-20020a17090b124c00b0027998f6deacmr5739131pjb.20.1696523650297; Thu, 05 Oct 2023 09:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696523650; cv=none; d=google.com; s=arc-20160816; b=dUrxnlqwQWTfATp0A9jexIDVY0f0+Hmak2OmG/jvj06dTeGuodlNhJSy/wCoc1zArj lJPwthKVRlGwCrPLmwaIODl/ruyKp/jNM6DUpvN0bB0YTjGV91xL/6Wiwpj7an/a+vxy UDZ/1LhsBs+m9OtEDhMtKY51s7paBgpu/fxcPi5VKkYh5MgfS4fS66VesUaghL3HyFFG X195MYdB31xLkTua64d6IymIwhDMhEtwBC6GX9nglL0Q7NJjqHnJelmAs45Iwgx2u10s LPGgVBhD1vaX/5b7I6MJy1K3V1QrRBowP4LI+fPTvOC8ls3BR53hb9gAg01wonUvsUfR knAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=X3QXLtlTVeJA7gxvWxjkJ4jMQSBNG+F3OuAQEyLzeno=; fh=IqG7GpVflgx1up4of/6aZZC3ldjmRRfJjycl/ZNuATc=; b=nNmNfQyRxziOubK4BpdkW49nmyr11ZkWvroJjHqkEAFtuhd4H56TJmwyTwScZVr+P/ NIzeSI29LhgKa7N/QizavrUoKF7kctTohPtFnz1GTQeYonSY57q1p3KtwYCOOl6lERrd 2SSGWPUlzOuFETYHifLQkUuLMiDSHvnyou/bPfoYsyJhi/bb4Lo4wgVFd69EdU4L0geZ L2GlP3q9MR7XPM3EMUqH5OosN+gN6677qONB+uQrB0yyOpkmaAIkRcz/5jF2lCMgrFRN TqWva4B5GfQUSIZCOqlojc+aV5Z64fu3B21leHgKGh7OPu6RlzAT9Hr7Y6zGzlv5vsNq 5GOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="gk/mNWQa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id m1-20020a17090aab0100b00277507e8085si3779063pjq.55.2023.10.05.09.34.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:34:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="gk/mNWQa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id C575280412E0; Thu, 5 Oct 2023 09:33:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233568AbjJEQcq (ORCPT + 99 others); Thu, 5 Oct 2023 12:32:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232386AbjJEQcR (ORCPT ); Thu, 5 Oct 2023 12:32:17 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8087F2D0D3; Thu, 5 Oct 2023 08:39:23 -0700 (PDT) Received: from [IPV6:2a01:e0a:120:3210:4c53:5fd0:f25b:b0dd] (unknown [IPv6:2a01:e0a:120:3210:4c53:5fd0:f25b:b0dd]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 B46156607332; Thu, 5 Oct 2023 16:39:21 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696520362; bh=f7LqF9CFfJY9QHYGeDMcAcJhPQ5LfK29gaDUJGIvsf0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=gk/mNWQaeZW5VNWjb0QhyjivV4pkm/Bn0WgD9z2Ii07D8AnAUrGTiOX1wy/5lemO3 bgXyBJirN3X+jfJpPwGvFNdsZvukKNaqg/m96w5FUO9QMhwLaJfkRVjPEIMzepEn2i lbm5Rf+6RI8wLBvlJMumDPRkkOpW1q2MYyGbsF4vyxOSO4itrxXSR7huKZk0C8tZyB c1jjbAXLrsptEsv/BUQ0dngw5s9QCcnO0UauFIptC7VVL1/2oZFUWP3Ax7cdE/EJ0r xQHOFqGuV2GIeflUDg0NqwQLq2DuiCXVzaJaBhb+AclpGmqPNXI6pUuP4iEfUHLcYa YlOHkfRJPLyag== Message-ID: <531ea6cc-83b5-4c88-90a3-576e2e38bf80@collabora.com> Date: Thu, 5 Oct 2023 17:39:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: rockchip: rk3588is: Add AV1 decoder node To: Heiko Stuebner , Sebastian Reichel Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com References: <20231005145420.169594-1-benjamin.gaignard@collabora.com> <20231005151210.nqdx2uoixqjhrtrx@mercury.elektranox.org> <2298521.ElGaqSPkdT@phil> Content-Language: en-US From: Benjamin Gaignard In-Reply-To: <2298521.ElGaqSPkdT@phil> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 09:33:11 -0700 (PDT) Le 05/10/2023 à 17:30, Heiko Stuebner a écrit : > Am Donnerstag, 5. Oktober 2023, 17:12:10 CEST schrieb Sebastian Reichel: >> Hi, >> >> On Thu, Oct 05, 2023 at 04:54:20PM +0200, Benjamin Gaignard wrote: >>> Add node for AV1 video decoder. >>> >>> Signed-off-by: Benjamin Gaignard >>> Signed-off-by: Sebastian Reichel >> No need for my SoB. Instead have this one: >> >> Reviewed-by: Sebastian Reichel >> >> Also worth mentioning, that this Patch needs one small fix in the DT >> binding (adding "resets") and one small fix in the driver for out of >> the box AV1 support: >> >> https://lore.kernel.org/all/20231005144934.169356-1-benjamin.gaignard@collabora.com/ >> https://lore.kernel.org/all/20231005145116.169411-1-benjamin.gaignard@collabora.com/ > additionally the node name should be generic. > The phandle can of course be av1d but the node > name itself needs a change. Does "video-codec-av1@fdc70000" sound good for you ? > > Heiko > > >>> --- >>> 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" > > >