Received: by 2002:a05:7208:2204:b0:82:bbfa:f723 with SMTP id s4csp340004rbb; Thu, 18 Apr 2024 07:16:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4+QxTr5rF1Fexr/+6Z2NrzTxevy1od0V+lFIFueJaWY3yWsB3zNw/vjvXc13rPA45TjnJ9ivc8XyK7enX1JQP+Ul4ExITU6TN6dj//A== X-Google-Smtp-Source: AGHT+IGMx6xwsCWPbMBCJqezm8yxFY17gHljm54Mua+cosjox6ChZuTGLDSJNi30xo989ja07tx7 X-Received: by 2002:a17:90b:3695:b0:2ac:26d8:7588 with SMTP id mj21-20020a17090b369500b002ac26d87588mr563258pjb.8.1713449763582; Thu, 18 Apr 2024 07:16:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713449763; cv=pass; d=google.com; s=arc-20160816; b=Bb/+sOUbIShrLdTomw9o9P6i6LHb7fY5mk57FsIg7z3vVUO8F+wK+L1iPQqy45A1Dk MCcsZi/7cqdX+Hynl40SzGrf6uKJtIAZTWbgiAQ2tYwigzYGR/eUfco37oW9cPzUywK5 w+udjCet/txdl3tNP/49HbPJhFjV24Gn0gH1ycp5c/ELGaoFdfEYSLtqDFxsMb2JQ9F0 K9IsBkVCPU5pUZ6KY1tp9FzIpJZKcZT/mh5qoPC/XecZsgXyoSTSeOgruPMyg6hYW0Em HXP+7y1aU+dTjWDjFRaqmIPik5xPBoumNMjdnT+F+qRvP+1F076s3R5T7UIJdvINkc3+ VsTw== 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; bh=lpj9T/S1nNpa0NyXOgrrVLvjBQOC3rs9+tGjvBr2bOY=; fh=kdxL5bKsxWDuxOlEiw7mqgUHAT4A5vcdnYTqdiEsPZc=; b=dEECVI6V95ukOQBkFhFkbLL1Ce93IM8TKi71PzERJ4wK0UCQ9+YFsTrIyVuUwqUmv8 jo+0vp2sXP0IGbmYYXilu39oj6ricAPJ3xeHHns6rwsOU/uuU2ILCTkFD6Ugx6RA5fOI FZD5t9OhRltHBHTMqNcr6N9TeyZVnEP93/V+n4j57h5X+2kLYWxNQK7ZGtoWn4sdNeCY OyeX4PAs4gqdr7ft95U2NW7/mQsNOCdYwqLidWhpDJuVzwxd+8+7nqXXeSPhANKXPhKk UwaCya6u9ZDSR+8M0jB8O7z/J+QwOcXicGAVfsdrzgvOZzbUuZ/jdAomZ/1Y5IMT6nX+ mhzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=linkmauve.fr); spf=pass (google.com: domain of linux-kernel+bounces-150258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150258-linux.lists.archive=gmail.com@vger.kernel.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 e21-20020a17090a4a1500b002a2a5398017si1507306pjh.184.2024.04.18.07.16.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:16:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150258-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; arc=pass (i=1 spf=pass spfdomain=linkmauve.fr); spf=pass (google.com: domain of linux-kernel+bounces-150258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150258-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E50F1283489 for ; Thu, 18 Apr 2024 14:16:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08C9316ABF2; Thu, 18 Apr 2024 14:15:35 +0000 (UTC) Received: from luna.linkmauve.fr (luna.linkmauve.fr [82.65.109.163]) (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 F36DC165FA4; Thu, 18 Apr 2024 14:15:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=82.65.109.163 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713449734; cv=none; b=VshZ0FVttt3ufVdxSBkakPb6mgrN8JYi36G+WmNmEGZIy7m/L6qMxrOU8JdZrxSeVeaoitglkdbBpHKBGoKcGhbD85BVaTOW7B1eo2XNMtorkg8mFCj4BQLbv80XyLA/cDawmMwmFeo7wTdKYDDBCAkGq2+ePkXAYNvaUrydBkE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713449734; c=relaxed/simple; bh=aaDTVYzvybf28vrHHzELLbzhGLNTrrJtU8e6QvR/zV8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MJwyFlXIJRdmoX2p0RDg9frZK1dCzTCvm9TBWiAgprz4LTkRjG3r2MYOVfBN0VH+LTxqOwnjs2QnVsWB9+BstB4720uAHPW4A1vJB83p4cjr4k/h4ur6erqfsu10/SdCND6aKlxFacRh+aoqrSy2GCoF6JOGduNYxVtMPVBdiZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linkmauve.fr; spf=pass smtp.mailfrom=linkmauve.fr; arc=none smtp.client-ip=82.65.109.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linkmauve.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linkmauve.fr Received: by luna.linkmauve.fr (Postfix, from userid 1000) id 5DEBD10D1B05; Thu, 18 Apr 2024 16:15:14 +0200 (CEST) From: Emmanuel Gil Peyrot To: linux-kernel@vger.kernel.org Cc: Emmanuel Gil Peyrot , Ezequiel Garcia , Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Joerg Roedel , Will Deacon , Robin Murphy , Sebastian Reichel , Cristian Ciocaltea , Dragan Simic , Shreeya Patel , Chris Morgan , Andy Yan , Nicolas Frattaroli , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Conor Dooley Subject: [PATCH v4 1/2] =?UTF-8?q?media:=20dt-binding:=20Document=20rk3588?= =?UTF-8?q?=E2=80=99s=20VEPU121?= Date: Thu, 18 Apr 2024 16:15:05 +0200 Message-ID: <20240418141509.2485053-2-linkmauve@linkmauve.fr> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240418141509.2485053-1-linkmauve@linkmauve.fr> References: <20240418141509.2485053-1-linkmauve@linkmauve.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This encoder-only device is present four times on this SoC, and should support everything the rk3568 vepu supports (so JPEG, H.264 and VP8 encoding). According to the TRM[1], there is also the VEPU580 encoder which supports H.264 and H.265, and various VDPU* decoders, of which only the VDPU981 is currently supported. This patch describes only the VEPU121. [1] https://github.com/FanX-Tek/rk3588-TRM-and-Datasheet Signed-off-by: Emmanuel Gil Peyrot Reviewed-by: Sebastian Reichel Acked-by: Conor Dooley --- .../devicetree/bindings/media/rockchip,rk3568-vepu.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml b/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml index 9d90d8d0565a..4c6cb21da041 100644 --- a/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml +++ b/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml @@ -15,8 +15,12 @@ description: properties: compatible: - enum: - - rockchip,rk3568-vepu + oneOf: + - const: rockchip,rk3568-vepu + - items: + - enum: + - rockchip,rk3588-vepu121 + - const: rockchip,rk3568-vepu reg: maxItems: 1 -- 2.44.0