Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1786701lqs; Sun, 16 Jun 2024 04:55:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWtPkd5QymTAJaH+3MvQCtfhCKUkEgS413Qf2uiJZF3Uc+kCX5vTadJ/M0g9qp+7d9iS3zr2KyVPMVpOZXD+Co6MlUirqCpS0UrIva5Rg== X-Google-Smtp-Source: AGHT+IEpI7mlL4dUSXG46d10nCZaZokkPgW8mWDO+8ZK0myUhJKlEHXEOeJiQLxZyJg58wwJLTkM X-Received: by 2002:a05:6a20:432a:b0:1b6:73b1:b177 with SMTP id adf61e73a8af0-1bae8241edfmr8747403637.38.1718538945239; Sun, 16 Jun 2024 04:55:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718538945; cv=pass; d=google.com; s=arc-20160816; b=lrRGrWPz1aISpMaPxQ2cYvCOtt6BEvYMSJfppwnq7EtwfpASQJzEjvfkHL5yirfz6b OFqYBckGEKoa3otQMwX7E+unnjnojznbT/paBIvp5jp8TxHLyI3yGGYagCDF9b9YXuOj WYNSy7eCJLsXKVLygZUo9GpOkaBbdQVNBOB5VvW4xPHLOupmUb+grTW6EbKomcEU6IZC 3Cj8mFFYwz3eHQaNnX7n8TbHrF3Us5yU50t4DPcCBrcetIFTkuGLTuyZJuev6eM03SIM 8axWqMuOyejpzwfdFOXdgHLK8wu1gZCmHvMDOubulPZOaVEsbsF1JqDhjem/wwHDOvIB dv9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:dkim-signature:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=o/mVBey1pUUAnezlicmXpXgXj8Qwj9yoReY/ospObPs=; fh=h/vtI9j5xYgmLRFd1orOS8/jDtg2qBE4K3Yn5b7e2IE=; b=nCL/9eTFZwMmvTF4vvVDZSupeVLYK4cPKV9JsjFyK5u+vSWLVlVoMjn3gsiDKywrla xBR5GvLIqjvJYdVEVOdIXO53z3n2nwKxLAGlhhLsBwB8tz+ioqVblRIr+HUtULrRnOwp vdhzTTRK+x2CmY73mmI5gg7e+GLSwIi4tmCqhdxlDuG+GCZc3d8AEMSwo6gNl4dK6UtN WN691QcQ9k3CacrJbXqJ5ROn4PoVv0Oz1BF5O+YSI2PdTwzP+9QXSTs4eJBtnSMqkHp/ CpR/u4OOZzK0Iq7LeiLczt8QW9WxRdUOt9mj1TykgPc84D/WQHwKRaVWRZhN8k0scWzE 17SQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b=lp8NiBCn; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-216250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-705ccb9c744si5448013b3a.342.2024.06.16.04.55.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 04:55:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-216250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b=lp8NiBCn; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-216250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id AB666281592 for ; Sun, 16 Jun 2024 11:55:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5262F18735E; Sun, 16 Jun 2024 11:55:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b="lp8NiBCn" Received: from mail.manjaro.org (mail.manjaro.org [116.203.91.91]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49A8616DED7; Sun, 16 Jun 2024 11:55:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.91.91 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718538933; cv=none; b=DpANXl9AV3b1XLQiI4JLeQMYWVkA/LlQ1zp2EwOJa33TjG1jGB+WPJrwCILexrltG0M7awvlz6x2bSDT2K/qaSKtYMI1cCi2eTbM7bvynCBgpMx60PYoBUNdnDqdEOQv6/3+PAGofHk9wYxMEPwLRiT8VZDK856L7ztcLWzE5VI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718538933; c=relaxed/simple; bh=FvTVuelNwNx9cbWw7NNoHn9o1aAt7UuF/J0KxqWgJt8=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=UOxPx0Z2rURAROj+u3ieBzyeWaoemzs9tq9Dvip/6WLyl7A7Eln6mv7DUqAJ8PnEo51eqxSzy/n7aMHk9PS7PHnwNNokIxtbY83gi/+INAzcr1bXN2APTCr7NgU/W7OFHOoC8MFQB6zQ1BMq4sDbn0BfUoOpGrYgyLxgvY8857g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org; spf=pass smtp.mailfrom=manjaro.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b=lp8NiBCn; arc=none smtp.client-ip=116.203.91.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=manjaro.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1718538921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o/mVBey1pUUAnezlicmXpXgXj8Qwj9yoReY/ospObPs=; b=lp8NiBCnAttf4fU8LXw3j5OaeEoGWaQYQsnjPLe/cvcoGDXEQvIKZkK9oyjD352fcL9zhl R4ihgLmZMENLAFKITuFMnXgPHWKmTwmRodzzs8ciZnOGUD5OuQHvH+ShL+6z/qW6nOH0Jt hydAKz4ELF8p5g+r2u8aDTZQk/O46NG5IyxGIIPdMhuXa4/naOcq9MTkPj/5++TwoOwqOd VsOBszOE3gkpAq37w1+vJ3CWsR9PsH2UCBpDlIDcGj5egvKjv7uCXolPHYy3WUDq6NESro IExMsXqfAZz3U1dW/VohVUj6Zny5g9m1DotU38/6yBgyP2gQun9o9FCebHRsig== Date: Sun, 16 Jun 2024 13:55:19 +0200 From: Dragan Simic To: Jonas Karlman Cc: Detlev Casanova , linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Greg Kroah-Hartman , Sebastian Reichel , Alexey Charkov , Cristian Ciocaltea , Diederik de Haas , Andy Yan , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev Subject: Re: [PATCH 3/3] arm64: dts: rockchip: Add rkvdec2 Video Decoder on rk3588(s) In-Reply-To: References: <20240615015734.1612108-1-detlev.casanova@collabora.com> <20240615015734.1612108-4-detlev.casanova@collabora.com> <944c4296-8dd2-4ffd-b430-1839ff3a3ed2@kwiboo.se> <3666279.iZASKD2KPV@arisu> Message-ID: <7f649d79666a175da7c9d9fd9377a687@manjaro.org> X-Sender: dsimic@manjaro.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org Hello all, On 2024-06-16 11:17, Jonas Karlman wrote: > On 2024-06-15 21:55, Detlev Casanova wrote: >> On Saturday, June 15, 2024 4:25:27 A.M. EDT Jonas Karlman wrote: >>> On 2024-06-15 03:56, Detlev Casanova wrote: >>>> Add the rkvdec2 Video Decoder to the RK3588s devicetree. >>>> >>>> Signed-off-by: Detlev Casanova >>>> --- >>>> >>>> .../boot/dts/rockchip/rk3588-rock-5b.dts | 4 ++++ >>>> .../boot/dts/rockchip/rk3588s-orangepi-5.dts | 4 ++++ >>>> arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 19 >>>> +++++++++++++++++++ >>>> 3 files changed, 27 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts >>>> b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index >>>> c551b676860c..965322c24a65 100644 >>>> --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts >>>> +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts >>>> @@ -503,6 +503,10 @@ &pwm1 { >>>> >>>> status = "okay"; >>>> >>>> }; >>>> >>>> +&rkvdec0 { >>>> + status = "okay"; >>>> +}; >>> >>> Enable of rkvdec0 should probably be split out from the patch that >>> adds >>> the rkvdec0 node to soc dtsi. >> >> Ack >> >>> Also why is rkvdec0 only enabled on rock-5b and orangepi-5? >> >> I only could test on those two but I can enable it on all rk3588 >> devices. > > Because the decoder is an integrated part of the SoC the default should > probably be that the IP is enabled, i.e. no status prop required for > the > vdec and related mmu nodes in rk3588s.dtsi. Agreed, the decoder is a SoC feature. As such, it should be enabled on the SoC level, instead of having it enabled on the board level.