Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1751995lqa; Mon, 29 Apr 2024 19:43:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWiNGXBQwYMo/bgcrmdfWsCfKfl7vn6o1tfTSOi7XbBYatj8Z73S+0RDbXWyrWVzZAzb47XWS+SdnkQCZcKRz/ueYQxgS/rUX8kOiHqng== X-Google-Smtp-Source: AGHT+IFiufSI2LI8EL05t/4lWJW5tJDaGAAWff++Kawh1CGvhpveFMRJDAhdqJBKlA/7byDtLWtC X-Received: by 2002:a05:6a20:12ca:b0:1ac:5040:2a69 with SMTP id v10-20020a056a2012ca00b001ac50402a69mr10841499pzg.45.1714445021191; Mon, 29 Apr 2024 19:43:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714445021; cv=pass; d=google.com; s=arc-20160816; b=lPJ2eMXI38Ok176HD1OoeiqAjGVG70TmJ3ANnBbBGHd/md6MefFhTxnsSQHYBGSv7U Ht4bnHRZOeXUQ1jVjavMdlWpUVAJtMfdhSc6iWAdosR4cGh4eU/9J7ZuSatFKIm0m4Zc 4vC4WC0z68PuaxypMDlljeuDnoi2p8SNuIMoaNDuHU8vcvttb1CGEm75XQXc8h1BhD53 j+WkkDMtq0udGpIok+1/4+jyDP0OWLnvquMDe8p0F4q4HDhr2ws83YWCB6beYGpLKxRR 3SOy68ZxKQhBFzPs1oAycVfdr/d5gjT47Z9EYbiZPmnNKIZoaT/49foCbRLGqiNA3n1+ cwAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=8nmwy26EmAitH/BFdPVZTkin3CZniJ1hlTGeJE7IE+E=; fh=LpKIpYroDnND61MsqMOOZcJ2FpDyDdbWcmQmTem4XMs=; b=gKp+wxPML3ANtcNhgsvM65j1QuHfB/9LNpllArjBqBH9B6LAUYsibmnQzM8EkNa2Kb zRzIRPaCkXAheQicKFH9ea7Z82RGIS8D/OwgWxUAdEE/dIHps1PSRMQq2njOlTU/i5hh N7xbWr/YVQjd4gbsvrv0FSMXg46rxcT9IYgAoj5qVxXPSM94tsnwWr5GGltAfP/oyIFx H1PoCJ12AC0LkPRNyLJnTXqqIJoQP4ByoXzjCgz/Wk2rubFVYEeumcx2mRGeZ3T5AbtL sdMmsGcRO1+Tbl+OwKC41YQm/lQP8P92NpxfgUqQzvgL3gnG1oyDFNBOhgFmaECtRNp6 CgAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="BlSu/XpJ"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-163269-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163269-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k10-20020a170902d58a00b001eb3d68805csi5859779plh.29.2024.04.29.19.43.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 19:43:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163269-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="BlSu/XpJ"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-163269-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163269-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 335E4B202BA for ; Tue, 30 Apr 2024 02:41:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4875BDDBE; Tue, 30 Apr 2024 02:40:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BlSu/XpJ" Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 2B6E6101C4; Tue, 30 Apr 2024 02:40:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714444854; cv=none; b=RXsJ+6RMle85DDujirfwz5tpYJj/ZuDiDLy6o7OVAxJDYkd2uHyuW5Xpws3CXPJzZr0Yy9zyBhINdB++aFMa1m9Qx7nNUEtBibpkV1QXnbrZzGC4mRNnZDAPr1Y4uyrZm2ohMSWi91c5BxqZv7duNZHDpD9TT6UgOUnqzgWAQpQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714444854; c=relaxed/simple; bh=ZNyRx0yUkCkWotFvtItmD9fZAAl5qWsRf94uXnLkRJc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mfV0SI3Mw7w3jVcYEOiHh423M88LvsfKC8ePNZSfT9B+Mm+YIJlGvlpsrTvLsQPPLvebgniKWoC9x+1Bhgt9GFGbD2iT8hEvOZrkOWyOxx6QPIY0w29YjATVQs3x+SxxihZUTsFmxAvbgOYU88hNjBw2E+Nt3Gy8hRPF8IJwK5I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BlSu/XpJ; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1e5715a9ebdso43076475ad.2; Mon, 29 Apr 2024 19:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714444852; x=1715049652; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8nmwy26EmAitH/BFdPVZTkin3CZniJ1hlTGeJE7IE+E=; b=BlSu/XpJPN9Yi8ZhL85jcpiqBodkONpnpFPEleIfhpXOWZZlMZA5on80xPSs0lfrfs r6h39WPbvn2gfX7XbUUgW0eOKeud55hvZ7pZg+/I5792rCBO/tA7Jl/2jrmnLf6SPcLU neRbg2rmXYVJ15ayJxwDUNYXwkfJoaJD0EGsu3XHBxsy7801oDOEVhhoPDtxbLVoswbe yPdeH/ZYAUu7WIvOKJtHh/DQ2cGK99TGEvKG+P2uxNr0o6ov405SOoSAGvaUfqdBdm5i Uxdj+tnNv2yqTAECwJd1W93LtNEHvuhz1xpOUNA3pS4MHz01GqjfmJqq1fuS2lMyDmhQ mDxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714444852; x=1715049652; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8nmwy26EmAitH/BFdPVZTkin3CZniJ1hlTGeJE7IE+E=; b=kQiOazhBZB3Ybo0n7K0kKyzX2s/mjlF1J15WgvDY4hUqgrB6XpjNqRZ3FV6hAZxMdF xmhk9tRR90GWi4v3bffIIVLK6h0+lGP71DUGltkShXMVL5Y61R+zy01iNzWxEip5AYGP PmYjgkwwWg4aFMDgXzNi1s8Vbiwliz+B9HSHi5COOMt616jUDyFlVrI/MWmuab1ac4YN cED1CsbTBTfTOC5K7s2hp1fqY/m0B2VEFYR96pkaxjiSDcgLlNu4MSathQMwuM60ijxu pwVHieuxSb967MzqrHrn6QhwT8WobMPmg7hiHn81tCIMLLMwwHSgjlH4kPoBWyRzMD2y 4UIQ== X-Forwarded-Encrypted: i=1; AJvYcCX/VG/jhsQkMuP7He9iT67+f7M+eYtLrI/MutAYDPJwF53Px/mF28j4DcQFuDaq6tUGF8IE7NvlES+dxnC8BOwbco2QVK1lGT2ZM3L/KG0wgJQAAKEGpEWuXpIvPh2UtskMaiOprwX7Bg== X-Gm-Message-State: AOJu0YwThHIKaPE/a3qlkOwYQDRn7RVKxZrukUpVqooMAbl1PPXEczpN p2B0qgqLBzK1U7dWJLqN6W5BAG4jaTkJdKhXKgT7ZkBJSoEUy+a8lJxpwLPtetY= X-Received: by 2002:a17:902:c412:b0:1e0:b62a:c0a2 with SMTP id k18-20020a170902c41200b001e0b62ac0a2mr10977884plk.51.1714444852140; Mon, 29 Apr 2024 19:40:52 -0700 (PDT) Received: from toyko-2.5 ([45.32.55.39]) by smtp.gmail.com with ESMTPSA id x12-20020a170902ec8c00b001eac94472f6sm8400379plg.93.2024.04.29.19.40.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 19:40:51 -0700 (PDT) From: Jianfeng Liu To: 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, liujianfeng1994@gmail.com, sfr@canb.auug.org.au, sigmaris@gmail.com, nicolas@ndufresne.ca, linkmauve@linkmauve.fr, Conor Dooley Subject: [PATCH v7 1/2] dt-bindings: media: rockchip-vpu: Add rk3588 vpu121 compatible string Date: Tue, 30 Apr 2024 10:40:01 +0800 Message-Id: <20240430024002.708227-2-liujianfeng1994@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240430024002.708227-1-liujianfeng1994@gmail.com> References: <20240430024002.708227-1-liujianfeng1994@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. 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. 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(+) 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 reg: maxItems: 1 -- 2.34.1