From patchwork Wed Dec 27 17:39:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianfeng Liu X-Patchwork-Id: 13505418 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0597C47073 for ; Wed, 27 Dec 2023 17:40:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4H20KGTnTwMs8TDCKcfro2yM/P60LopUy8ZbFBJ31lo=; b=zEp3lmC9gMaNZ6 TV9ELeL+w4Deh5CmvyFXxaybD/J2SlKI6SQfTJpKjgElaXlbCDOyB34VYMC9JKpD5hFdq+di6J1oo BwGDUOv+WEdt4tDxempCgprqJPdPrJtAt2c0EksgPDdTTo5K0ykNf3tE8pjgZwd03i4NvGnu7FtYO KtjBWOmlkc6pJHda3VJG+pu+nYhVANkIjy/0ax+QtPsfTkR8TmHFaLclJeHZ4iCzcFB8468UKxme5 10zz4EwxtAsSmEGgrsSahkW7SgaDN3PDHa8nsjf1yU8eQLeP/Pberuinzh2AHbq23GrsKI/oVZEdJ 8YZiBaVtiMia8LWb3ftA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rIXtN-00FEEK-1r; Wed, 27 Dec 2023 17:40:29 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rIXtJ-00FECG-2I for linux-rockchip@lists.infradead.org; Wed, 27 Dec 2023 17:40:27 +0000 Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-28c934be96fso350641a91.0 for ; Wed, 27 Dec 2023 09:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703698824; x=1704303624; darn=lists.infradead.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=gwaYM1PH1SgDuz8j6xYAmjET/NuMiIbLCMJmRCvooPc=; b=CsCPtSGbmMKoAxUStt3xl8G3NHevJvBQB59TLVscyg1tV+FSWgZ1eBb29dg1WuUOCb lt5lFs3ff2eb9y6125UhZbFR99x7lwWzidzhfsIzGbGwA4q14bNWyvRjRcP95RxqfBnN 0Jo0Lte3bpCMBxHT+KDgZPBGUTc/Adj6oHK0/xrWVw0J128nSi44BOen9pjqQHA44jYv 07tQlLuhsbiVLxCNKSisF/YoFkgW1HPJliDVYEPERJMRo4XvUqO5+jl5qb5ISOxmU4DX vpfYSqAa79p84wgMDU05BXaqC4Lo7uQU8m/5PWDKGmnX8ndop8Jl4P4QDEyNv/GICt+X KAQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703698824; x=1704303624; 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=gwaYM1PH1SgDuz8j6xYAmjET/NuMiIbLCMJmRCvooPc=; b=OtYg1I9oIA3PCWFDu0urcNjMKEZKX1MX8Wp9T6rwqiS+/+QGJ/g4uMOZgO5kQwhl+/ rMzs9rlo13eZSK8D/lW1po8eGC2TgNzflCB4VAfz0oGIcDnPuGgAUn+Yg0GFahTmldLz rWx6oDzrEiN+GmIPpp8H/C5lhWska8L9FfrEoex8HiEM7XMQdl/CfAFdpc8R2hPReErv 8YWL9pqfexVicQ6AneInmuQyG5Fqnsv5wXcpXodMAdk59HqVmkXorNxZp5sGhVGevLMB sxQzJIO072VDT+1KP623ea+XcNOS9k3FXg/tx5JEsf1P1LKivMuMR7q5ondS7cQPyF3n cOsw== X-Gm-Message-State: AOJu0YzrLqOePHEdiqFeEO3XHrv+bw/7xQMpX68AsZXcRtUmROjdhlfE XPJ1ASSqPBHSDfPHa8iLqA8= X-Google-Smtp-Source: AGHT+IEkoXdtxaXTBOKfUNSDG1JYl5u4z0jBjeXdXyn/IMVZsgY34HskJAzpRrLSwTtL0qu7M/msSw== X-Received: by 2002:a17:90b:2287:b0:28b:f2e2:6158 with SMTP id kx7-20020a17090b228700b0028bf2e26158mr2485270pjb.56.1703698823837; Wed, 27 Dec 2023 09:40:23 -0800 (PST) Received: from localhost.localdomain ([2408:8207:2540:8c00:3708:559:ea20:9883]) by smtp.gmail.com with ESMTPSA id qb4-20020a17090b280400b0028aecd6b29fsm17240262pjb.3.2023.12.27.09.40.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 09:40:23 -0800 (PST) From: Jianfeng Liu To: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org Cc: liujianfeng1994@gmail.com Subject: [PATCH 1/3] media: verisilicon: Add support for Hantro G1 on RK3588 Date: Thu, 28 Dec 2023 01:39:09 +0800 Message-Id: <20231227173911.3295410-2-liujianfeng1994@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231227173911.3295410-1-liujianfeng1994@gmail.com> References: <20231227173911.3295410-1-liujianfeng1994@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231227_094025_749609_E9B9E481 X-CRM114-Status: GOOD ( 11.39 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org This patch adds support for RK3588 in existing Hantro video decoder kernel driver. Tested with FFmpeg v4l2_request code taken from [1] with MPEG2, H.264 and VP8 samples. [1] https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/multimedia/ffmpeg/patches/v4l2-request/ffmpeg-001-v4l2-request.patch Signed-off-by: Jianfeng Liu --- drivers/media/platform/verisilicon/hantro_drv.c | 1 + drivers/media/platform/verisilicon/hantro_hw.h | 1 + .../media/platform/verisilicon/rockchip_vpu_hw.c | 14 ++++++++++++++ 3 files changed, 16 insertions(+) -- 2.34.1 diff --git a/drivers/media/platform/verisilicon/hantro_drv.c b/drivers/media/platform/verisilicon/hantro_drv.c index db3df6cc4..4c988f272 100644 --- a/drivers/media/platform/verisilicon/hantro_drv.c +++ b/drivers/media/platform/verisilicon/hantro_drv.c @@ -722,6 +722,7 @@ static const struct of_device_id of_hantro_match[] = { { .compatible = "rockchip,rk3399-vpu", .data = &rk3399_vpu_variant, }, { .compatible = "rockchip,rk3568-vepu", .data = &rk3568_vepu_variant, }, { .compatible = "rockchip,rk3568-vpu", .data = &rk3568_vpu_variant, }, + { .compatible = "rockchip,rk3588-vpu", .data = &rk3588_vpu_variant, }, { .compatible = "rockchip,rk3588-av1-vpu", .data = &rk3588_vpu981_variant, }, #endif #ifdef CONFIG_VIDEO_HANTRO_IMX8M diff --git a/drivers/media/platform/verisilicon/hantro_hw.h b/drivers/media/platform/verisilicon/hantro_hw.h index 9aec8a79a..276f09a7a 100644 --- a/drivers/media/platform/verisilicon/hantro_hw.h +++ b/drivers/media/platform/verisilicon/hantro_hw.h @@ -405,6 +405,7 @@ extern const struct hantro_variant rk3328_vpu_variant; extern const struct hantro_variant rk3399_vpu_variant; extern const struct hantro_variant rk3568_vepu_variant; extern const struct hantro_variant rk3568_vpu_variant; +extern const struct hantro_variant rk3588_vpu_variant; extern const struct hantro_variant rk3588_vpu981_variant; extern const struct hantro_variant sama5d4_vdec_variant; extern const struct hantro_variant sunxi_vpu_variant; diff --git a/drivers/media/platform/verisilicon/rockchip_vpu_hw.c b/drivers/media/platform/verisilicon/rockchip_vpu_hw.c index f97527670..4ee8d64eb 100644 --- a/drivers/media/platform/verisilicon/rockchip_vpu_hw.c +++ b/drivers/media/platform/verisilicon/rockchip_vpu_hw.c @@ -797,6 +797,20 @@ const struct hantro_variant px30_vpu_variant = { .num_clocks = ARRAY_SIZE(rockchip_vpu_clk_names) }; +const struct hantro_variant rk3588_vpu_variant = { + .dec_offset = 0x400, + .dec_fmts = rockchip_vdpu2_dec_fmts, + .num_dec_fmts = ARRAY_SIZE(rockchip_vdpu2_dec_fmts), + .codec = HANTRO_MPEG2_DECODER | + HANTRO_VP8_DECODER | HANTRO_H264_DECODER, + .codec_ops = rk3399_vpu_codec_ops, + .irqs = rockchip_vdpu2_irqs, + .num_irqs = ARRAY_SIZE(rockchip_vdpu2_irqs), + .init = rockchip_vpu_hw_init, + .clk_names = rockchip_vpu_clk_names, + .num_clocks = ARRAY_SIZE(rockchip_vpu_clk_names) +}; + const struct hantro_variant rk3588_vpu981_variant = { .dec_offset = 0x0, .dec_fmts = rockchip_vpu981_dec_fmts, From patchwork Wed Dec 27 17:39:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianfeng Liu X-Patchwork-Id: 13505417 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B180C46CD2 for ; Wed, 27 Dec 2023 17:40:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dhrkAkiYvJJg0eA2lUC1GuhjNMvT9sY0N1DhqMbnvw8=; b=BYYxVGBKRU7ECb nhcdBdKSUWP4EW/8Qvg44CXKnn6IHi4pYM9ABkccU6AWA53vK4T1murXPz8cqVwSuZTk3U8S8pCbW 0eHdxBpfzq4kDS/jzb11YRENApZ3Y3gWp6KbKehYN/WIGL1DhPMAd2pZePGOa02fkLwUJihlPduvP Bgn6nqK8tjbI7wxYkOR9lZxzttZv42HbK3UelPgIk58Qku2MeJvGFK/h68cie3aifwllELljG9SeD +I1g3IVXQ0wRJTPSDVoossgN6nRBr8Yj2qk98j6P+AcAZWPEPtNkBNDWscBATy/pedougbmKa0PPY aCrEqkJViWxzCc8BPnsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rIXtO-00FEEz-3D; Wed, 27 Dec 2023 17:40:31 +0000 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rIXtN-00FEDA-05 for linux-rockchip@lists.infradead.org; Wed, 27 Dec 2023 17:40:30 +0000 Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-53fbf2c42bfso3889271a12.3 for ; Wed, 27 Dec 2023 09:40:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703698826; x=1704303626; darn=lists.infradead.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=Eiz0fylx3s+eC9GIkVjZ8U5D1rTDiaiV9DlEcXV1OkM=; b=CfhJG8Pd6K3yGbd0ajAWvlMJEtzJkLHJ3hvavC+a6gtKDlgLij755adr2LSxo3n83b Z4FlcGlVp2ON2IxCIljHJGkF0wuyvIQvaLq1PkLQjdmjgoAItm1F6I8xjTqLhHUIRMzQ mHfsvDbIzniTZbIEBdtip0+sOs6YrtwGCVFSK4dSpit4AbmuM7+hxZ8K/Lxn5y5VmNb3 3yLBv+IhEeD9EJPmShMqtM6FkGQkgRjRq8lUXsST2vn37/81Pq/LZoAlQUGQFcd3WUO6 B11zuoL6GovpIh40z9xSWMPKp2mZvIe1p8F3SW2NfzI/dI0TVbQ7OtMiveu6UJ3STjNf qDUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703698826; x=1704303626; 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=Eiz0fylx3s+eC9GIkVjZ8U5D1rTDiaiV9DlEcXV1OkM=; b=oWo5r0Y+FfirbBg06aJBB9Pw/gc0FSgWQdGNe/FrgZXYpjiYv7+grJ900LdxRxpeQS JPh21gnJEsBq6H8dzqMP8lLGE1cVNwaNPbs7r6KaQxtTtv05VORjXuhCPgFqEk2ghtgu sfGgTjHSlhQF98P8H31UgN59dfsBdi7h4QP61TteNfpBpLtk3XtQnDaEDxFRov+ENZVN 5u/Umi/G16gCMVT7Rqan7E/Yhoc6DbWeP63yhzpYYk2HfMpoqxH/DX71B9dYw6svxJnz 3yK9qRWr/gdTgjWY1Nu98YBn9JKVzH5eEUmOVXvZ8qCFRqykUykCzYQPJ//xZhxElc8U 1S/g== X-Gm-Message-State: AOJu0YyUBxuHqUuInbiz/QqR7GL/u6ztvW/lNIjePpgd/XbWCGOXiGEk S8Je3HXUdzA0kYDUVVhwbvCW1ZLdVV2TLEMnnLh8SA== X-Google-Smtp-Source: AGHT+IFKmm9teGcP+8Tna2sHM7S2jEdgKLyhWGg1bBDaANSKgJHF9IGW9NXOMBQug9eUS3RxNhK9UA== X-Received: by 2002:a17:90a:d3c8:b0:28b:b995:c886 with SMTP id d8-20020a17090ad3c800b0028bb995c886mr4477592pjw.82.1703698825952; Wed, 27 Dec 2023 09:40:25 -0800 (PST) Received: from localhost.localdomain ([2408:8207:2540:8c00:3708:559:ea20:9883]) by smtp.gmail.com with ESMTPSA id qb4-20020a17090b280400b0028aecd6b29fsm17240262pjb.3.2023.12.27.09.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 09:40:25 -0800 (PST) From: Jianfeng Liu To: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org Cc: liujianfeng1994@gmail.com Subject: [PATCH 2/3] arm64: dts: rockchip: Add Hantro G1 VPU support for RK3588 Date: Thu, 28 Dec 2023 01:39:10 +0800 Message-Id: <20231227173911.3295410-3-liujianfeng1994@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231227173911.3295410-1-liujianfeng1994@gmail.com> References: <20231227173911.3295410-1-liujianfeng1994@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231227_094029_064483_7E832B4D X-CRM114-Status: UNSURE ( 8.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org This patch enables Hantro G1 video decoder in RK3588's device-tree Tested with FFmpeg v4l2_request code taken from [1] with MPEG2, H.264 and VP8 samples. [1] https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/multimedia/ffmpeg/patches/v4l2-request/ffmpeg-001-v4l2-request.patch Signed-off-by: Jianfeng Liu --- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.34.1 diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index 5fb0baf8a..b3536e097 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -708,6 +708,26 @@ vop_mmu: iommu@fdd97e00 { status = "disabled"; }; + vpu: video-codec@fdb50400 { + compatible = "rockchip,rk3588-vpu"; + reg = <0x0 0xfdb50000 0x0 0x800>; + interrupts = ; + clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; + clock-names = "aclk", "hclk"; + iommus = <&vdpu_mmu>; + power-domains = <&power RK3588_PD_VDPU>; + }; + + vdpu_mmu: iommu@fdb50800 { + compatible = "rockchip,rk3588-iommu", "rockchip,rk3568-iommu"; + reg = <0x0 0xfdb50800 0x0 0x40>; + interrupts = ; + clock-names = "aclk", "iface"; + clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; + power-domains = <&power RK3588_PD_VDPU>; + #iommu-cells = <0>; + }; + uart0: serial@fd890000 { compatible = "rockchip,rk3588-uart", "snps,dw-apb-uart"; reg = <0x0 0xfd890000 0x0 0x100>; From patchwork Wed Dec 27 17:39:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianfeng Liu X-Patchwork-Id: 13505419 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 060C0C46CD2 for ; Wed, 27 Dec 2023 17:40:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/gBFsicEuX3IWv8wr5JKpfUQic1xOQtq9rEFi3QxJZg=; b=2NeGG5JOAjOW5r O2Vd21iJUcDgo9XQ++THlvXrPWI0mPnJ69bXfsfppAeOHZ9GOlorie2B/OeoFy8hygi+byUJHPwor RpY5NSOwHFDSWCFIsNg15y4SLrs9A42hZg7zV6BHgAvz0HEjDTuKVsFEKGoeqLPVbpTZA/DJJdzNa rjy1fR2BBnZSX9T92nMRJ2PPT34uo2bfUZYPqfmzOGJ/nW1yF9ckpL4NuaQ03I8E5YiOu6qpJxg/1 ef3ZA8VHw3tMmsCRz8iVuqjBdcl43uyOgYL52hnr5t5+Z3cjItaV0dGN/jI/9RdqxpMEPva8msFSB 55CUbBir8DG1BBcaY19Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rIXtR-00FEG3-1X; Wed, 27 Dec 2023 17:40:33 +0000 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rIXtO-00FEDt-13 for linux-rockchip@lists.infradead.org; Wed, 27 Dec 2023 17:40:31 +0000 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-28beb1d946fso4388398a91.0 for ; Wed, 27 Dec 2023 09:40:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703698828; x=1704303628; darn=lists.infradead.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=XvNJhug4GM8oN3uUr85wWPaav17uENPDOjuSlTTZUGs=; b=Rl3hEbFdpsM7B+UY+7R4v79ucGKw0hmHDAhGXXlC9yOTZ8eR0/dMg2r+0CUldg9oqE IOSSR0uRFGV+03KpZP2TDzDmlLem6TwwCxgGn7DjMzMLWN3HtZP+kxqQlxrjBqzvuINn szTF3cT4dZ+6bWstibsJU8uHB/TVNOtm1jvMIcV3VWPvCc4RMTPOO3rkUjHqe2rH5KU9 d6pH4W1Ryqk/nNzzLPzkdLIm1JlhupL1sKAOX3hnhbIBFmb71/tgzOoUZrPZseHO6YC8 x/yOS8kvtdMVkjqcdt+cyUKKhMPobKZCFL8GoR3MFI6ar5KOYwDRqibpD/8JTwZrMtM0 vq3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703698828; x=1704303628; 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=XvNJhug4GM8oN3uUr85wWPaav17uENPDOjuSlTTZUGs=; b=R8OxgIdqlG/z4aOii9KIVMMloBsPzhLkcggNjUjmVk2JObDagzQZXl/nqshJDUqegX gxha60/pvS98BERtMSRk2oK0QdN/l4WKHqhEwRGdojMlzbXYcsSj/FV8aMCxKfj8fJHc sY+rKPC17x68qjLGQdFav0F9gSmH/MUHgQMrMt7IUaTh8oqBojAIfPOFyNtvK79zulmP NeOMgX8btvjjmFQx+/VairDPJQK5xx2w1Xgm/GD7ggbkn9jBzhblXO9uusgcgYoisIRk 5fEU8RX9d7sF14WuEroQDuu2yHBsN6rf4G+Y4eSX+tU9rts9nCmNWCIkcHAy19aFzRSU /VkA== X-Gm-Message-State: AOJu0YxzG/LxvIKPynQrlsF3tLFrdoPlvfuANuWjtv9x+p0AGHS8V0JU wkUOmx4P+Ova8iwSi19VAaRKAlmz88PosNh1IgAkqQ== X-Google-Smtp-Source: AGHT+IFv2sl1p1gve97lVFrCK/XsXTux44ghUPif7134R+YMyV3AGp05l5GJEcR1dFRJjyWf8EbNnw== X-Received: by 2002:a17:90a:ff03:b0:28c:3b32:bab2 with SMTP id ce3-20020a17090aff0300b0028c3b32bab2mr2675616pjb.98.1703698828529; Wed, 27 Dec 2023 09:40:28 -0800 (PST) Received: from localhost.localdomain ([2408:8207:2540:8c00:3708:559:ea20:9883]) by smtp.gmail.com with ESMTPSA id qb4-20020a17090b280400b0028aecd6b29fsm17240262pjb.3.2023.12.27.09.40.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 09:40:28 -0800 (PST) From: Jianfeng Liu To: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org Cc: liujianfeng1994@gmail.com Subject: [PATCH 3/3] dt-bindings: media: rockchip-vpu: Add RK3588 compatible Date: Thu, 28 Dec 2023 01:39:11 +0800 Message-Id: <20231227173911.3295410-4-liujianfeng1994@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231227173911.3295410-1-liujianfeng1994@gmail.com> References: <20231227173911.3295410-1-liujianfeng1994@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231227_094030_361642_3CF94E1A X-CRM114-Status: UNSURE ( 7.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org This patch adds RK3588 compatible in rockchip-vpu dt-bindings. Signed-off-by: Jianfeng Liu --- Documentation/devicetree/bindings/media/rockchip-vpu.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.34.1 diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml index c57e1f488..600ad351e 100644 --- a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml +++ b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml @@ -24,6 +24,7 @@ properties: - rockchip,rk3399-vpu - rockchip,px30-vpu - rockchip,rk3568-vpu + - rockchip,rk3588-vpu - rockchip,rk3588-av1-vpu - items: - const: rockchip,rk3188-vpu