Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp32157lqm; Tue, 30 Apr 2024 11:46:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVghEM5F3RSfiLYMuffuJ7FnLGq+uBlX4cTqlnHXzjwS4LeX2u1aYUXc6epBhSBXDwdWv7OvuFwaDYDwKEUavGPoaFHsF/WRLo0D7ab7Q== X-Google-Smtp-Source: AGHT+IFqMGOkdwUBA+ee29XvVbTlC8WXamv4dsA4P192+7Z/E8UsIXkogxpdWKQiqdOHoF6cmjgJ X-Received: by 2002:a17:906:95b:b0:a58:e569:1242 with SMTP id j27-20020a170906095b00b00a58e5691242mr385381ejd.4.1714502817269; Tue, 30 Apr 2024 11:46:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714502817; cv=pass; d=google.com; s=arc-20160816; b=x0z8bN0MydH+ddVlaMXczKRBV273viuzK/MnWFaWOsHxJ1knHq686kPwdYTlws30Kg IKVPDPzaRl4+lMPWYS9LC15tSugqYjGclE1hkw4pi6RktuOp8cYYc/x+/t3fl9JWPE2t F3Oz8uBH+8oyeqw3xrKBCyt0Rn1S9FYjff5SLZWStCWUySYjmivIAxuZO5/q5MAAjkoN 5nmkmbyFKedAVjHbv82jI9POQaNWKjXkO4jpPcqJIaa01a3Uv+XI3gotNhWqCaQMd36x oUZ8/9sDd96lUeZ1Ritojdmwl+wc4tGhn7le3RHVplbwiZ1k4hR48V1/K5SjFqRXwP/X bKxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=mXGOQl9cAc/ekX6puhK0PlxYSMCVsGhUyl3CG8jYDPk=; fh=+WYQtmNPSKLZi2zhKPSuopmDOv1t1gozDq9GGoeN1vo=; b=eXYXbsvEfiOfwgoBpBm2LSFMhnxyBNTp++B7z8nU/xBJUotj7aKC57DEGH3B7FyLS4 YgOeaYcyJDkMRIwIxFtjGwSlkRzu2BzLQ461cu0rttCCGmBivdORyfS878nEvlgqgQiM 8IvMbp7Y6BxLvILySORsA3XEAUBE7nLjhmesBM8QETo0/vofMnPP32zJ30VzgGr+0Ygi OUQVN48Xtn8DcpoSGFaCneQk7yBjrBfTUJBJpnKnVLxFeLOS3kywxWpZ94joVZZcMDsw PrYQ2v1hhHdjQEkCDRLNLLQ4iOL3iEwdzjCHgyTVZMOAGzkYBy6VNFruiROt2gKET/Oq ORjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ndufresne-ca.20230601.gappssmtp.com header.s=20230601 header.b=JQMmw3R4; arc=pass (i=1 dkim=pass dkdomain=ndufresne-ca.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-164354-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164354-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id br2-20020a170906d14200b00a5872fa6b3dsi9731574ejb.307.2024.04.30.11.46.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 11:46:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164354-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ndufresne-ca.20230601.gappssmtp.com header.s=20230601 header.b=JQMmw3R4; arc=pass (i=1 dkim=pass dkdomain=ndufresne-ca.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-164354-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164354-linux.lists.archive=gmail.com@vger.kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 90F7E1F251FA for ; Tue, 30 Apr 2024 16:21:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E765178CE8; Tue, 30 Apr 2024 16:21:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ndufresne-ca.20230601.gappssmtp.com header.i=@ndufresne-ca.20230601.gappssmtp.com header.b="JQMmw3R4" Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C38D51F5FA for ; Tue, 30 Apr 2024 16:21:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714494085; cv=none; b=F3qSFc9Mq7Axupneme1jxBHPBO5eBuDq3X8gZogdMN0/1u5K1MWoNPTJ2QOfkkEC6bsfYG1WIkEpIS9VJVf6O3e0eppcIMpfcbMEvnLQ7oJJolRybHqnLaQCaKCvCWn8aFRPShd68rag9B7Wz8APP8d6B6hkRnLZWsg2TXkBBpo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714494085; c=relaxed/simple; bh=ov2E1LXdhcvn+0Sr5iHwYH5U7dgRXwLTnepFTt5jYFA=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=QX5aMChUhPVYiEy1ovD4hmYol2+wmQ4X5xuJ4eKm5Lglq7aqB5E8RUpV09PPoWzKYLMbU8XuzTvPWMN6HJqZd6VwYayBkSHtG9+PiWyBp168rJ71ta3c5dy6nQNf+VMeAHUqywifd2hcjUxqsbOJagxl9cS4sQ3nKnTapDiFrrQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ndufresne.ca; spf=none smtp.mailfrom=ndufresne.ca; dkim=pass (2048-bit key) header.d=ndufresne-ca.20230601.gappssmtp.com header.i=@ndufresne-ca.20230601.gappssmtp.com header.b=JQMmw3R4; arc=none smtp.client-ip=209.85.222.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ndufresne.ca Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ndufresne.ca Received: by mail-qk1-f174.google.com with SMTP id af79cd13be357-78edc3ad5fdso506807285a.0 for ; Tue, 30 Apr 2024 09:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ndufresne-ca.20230601.gappssmtp.com; s=20230601; t=1714494082; x=1715098882; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to; bh=mXGOQl9cAc/ekX6puhK0PlxYSMCVsGhUyl3CG8jYDPk=; b=JQMmw3R4W4v6+xgTFQKHTrS+YqwrJ9EwGqvGJyu4xwjHdvK5UPHAYAaDDGRczKAh3w PzF8oaUX/YSmzdFLsPJrdTruNGvs2wylBkpLzqTnRhXzOYlJKlMfb4uBzQnHUCzOV1Sk JAciZu3zSr7J8x1GRB3KlROEGzyUni9L2QbkXCVXWtVvP+Ko2IGcyHglv4mhqMzF7h4G UedjAv3gkQXEDawtfDAUWWtNNlgvXN/y0FUedxuDWdiNg7Jz8heOYlJwbgUILJEvUuAf Tw4udcSd+RpSEgyi+6fqH3ZHvwhEMgTkrNHJayYn/sKgxapDHIRGb0A9XPTC6SFhL5Mk fjVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714494082; x=1715098882; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mXGOQl9cAc/ekX6puhK0PlxYSMCVsGhUyl3CG8jYDPk=; b=S5ci2V+bUkiV0cqgIO8Bb07lmcxAZ5cn9iRKRKsjhivFAySp0mQSeFBkjs0lBSTfMS kdP4NYMVvKptRqnQTj0bAx45egIQt2PfjdToeGivVAYBWHUNXZ59bPZZ+rRBAmf32XqL m8MqxrXSRetIcQ8XwjwiLJ40vEEqkI6EAKe0jRcROPIT6ZTxPti47M6+7IaCmnzGzOaO cuj5TWazxFH5UcIZRriCXENK4ZAmUCvMA0DOHYungB5xqoBCV8yZcLu6SXGoUPPmD3V8 LGM26lrPpyk6Gj5mRgczWFDhVxP5DLZgydItVlp07+fG0qQpxNfkPNKUx3vL7uuxlfEg TyGw== X-Forwarded-Encrypted: i=1; AJvYcCUYcarOM5ddadLOrMkvdVijketF04trHw2mZwK9krJDuxAgJ0Tv1HrTQBtvFlcZ7WhUAnvkgpwKOs7crMauWv4NRoduzC+fEHKEwq/b X-Gm-Message-State: AOJu0YxuhqHuUJ+62q4JKjVWM92nApLCSYnetzbzGWM01Tl4VCMJ6UK5 KQmw0pvQp4d/17cocKmM4LPfuaNhO3E9GT5oIuOuxDMyfnfKctFrgPp2k5FfTFo= X-Received: by 2002:a05:620a:4054:b0:790:edd8:ac18 with SMTP id i20-20020a05620a405400b00790edd8ac18mr5590333qko.35.1714494082626; Tue, 30 Apr 2024 09:21:22 -0700 (PDT) Received: from nicolas-tpx395.localdomain ([2606:6d00:17:6448::7a9]) by smtp.gmail.com with ESMTPSA id i15-20020ac8764f000000b0043a7f359414sm3946068qtr.19.2024.04.30.09.21.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:21:22 -0700 (PDT) Message-ID: <59899cfa3d3245309ce6952ae1028dceae27b488.camel@ndufresne.ca> Subject: Re: [PATCH v7 1/2] dt-bindings: media: rockchip-vpu: Add rk3588 vpu121 compatible string From: Nicolas Dufresne To: Jianfeng Liu , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, mchehab@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, sebastian.reichel@collabora.com, sfr@canb.auug.org.au, sigmaris@gmail.com, linkmauve@linkmauve.fr, Conor Dooley Date: Tue, 30 Apr 2024 12:21:21 -0400 In-Reply-To: <20240430024002.708227-2-liujianfeng1994@gmail.com> References: <20240430024002.708227-1-liujianfeng1994@gmail.com> <20240430024002.708227-2-liujianfeng1994@gmail.com> Autocrypt: addr=nicolas@ndufresne.ca; prefer-encrypt=mutual; keydata=mQGiBEUQN0MRBACQYceNSezSdMjx7sx6gwKkMghrrODgl3B0eXBTgNp6c431IfOOEsdvkoOh1kwoYcQgbg4MXw6beOltysX4e8fFWsiRkc2nvvRW9ir9kHDm49MkBLqaDjTqOkYKNMiurFW+gozpr/lUW15QqT6v68RYe0zRdtwGZqeLzX2LVuukGwCg4AISzswrrYHNV7vQLcbaUhPgIl0D+gILYT9TJgAEK4YHW+bFRcY+cgUFoLQqQayECMlctKoLOE69nIYOc/hDr9uih1wxrQ/yL0NJvQCohSPyoyLF9b2EuIGhQVp05XP7FzlTxhYvGO/DtO08ec85+bTfVBMV6eeY4MS3ZU+1z7ObD7Pf29YjyTehN2Dan6w1g2rBk5MoA/9nDocSlk4pbFpsYSFmVHsDiAOFje3+iY4ftVDKunKYWMhwRVBjAREOByBagmRau0cLEcElpf4hX5f978GoxSGIsiKoDAlXX+ICDOWC1/EXhEEmBR1gL0QJgiVviNyLfGJl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charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi, Le mardi 30 avril 2024 =C3=A0 10:40 +0800, Jianfeng Liu a =C3=A9crit=C2=A0: > Add Hantro G1 VPU compatible string for RK3588. > RK3588 has the same Hantro G1 ip as RK3568, which are both > known as VDPU121 in TRM of RK3568 and RK3588. >=20 > Note that this VPU also has a jpeg encoder, which is one part of > the five VEPU121 jpeg encoders on RK3588. So this VPU121 shoud be > the same as vpu@ff650000 on RK3399. But we don't use the compatible > string rk3399-vpu because of two reasons: > 1, rk3399-vpu has disabled H264 decoding because RK3399 also has > rkvdec to support 4K H264 decoding. And we need H264 decoding because > rkvdec2 on rk3588 for H264 decoding is not supported now. > 2, There are five VEPU121 jpeg encoders, but the kernel driver can't > do scheduling. So it's better to disable the VEPU121 jpeg encoder > at the moment. >=20 > Signed-off-by: Jianfeng Liu > Acked-by: Conor Dooley > Reviewed-by: Sebastian Reichel > --- > Documentation/devicetree/bindings/media/rockchip-vpu.yaml | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml b/= Documentation/devicetree/bindings/media/rockchip-vpu.yaml > index c57e1f488..2710bb2fb 100644 > --- a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml > +++ b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml > @@ -31,6 +31,9 @@ properties: > - items: > - const: rockchip,rk3228-vpu > - const: rockchip,rk3399-vpu > + - items: > + - const: rockchip,rk3588-vpu121 > + - const: rockchip,rk3568-vpu Sorry to come that late, but I'm noticing a big mistake here. You said you = are enabling VDPU121, the JPEG decoder. But we don't have a JPEG decoder driver mainline, is there some patches missing ? Nicolas >=20 > reg: > maxItems: 1 > -- > 2.34.1 >=20