Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp334193lqp; Thu, 21 Mar 2024 02:42:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVXaHeEUXs3707zv6LClzp/PCusoUiDeQdP20BKLmj2+Rllf9jJhXYS+uvyGL2hci8RlLMQITP/RU7tQMJYpLupi7P0gScx0/V0dRlvKQ== X-Google-Smtp-Source: AGHT+IHqxdG6W9G4FXaYKQMOck1B449/rOnL3t+VFK6yVAqTL3HaBD6LhzM1UkBexjKEjkaQ/6yK X-Received: by 2002:a50:8ad5:0:b0:568:a226:6685 with SMTP id k21-20020a508ad5000000b00568a2266685mr1850790edk.8.1711014133078; Thu, 21 Mar 2024 02:42:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711014133; cv=pass; d=google.com; s=arc-20160816; b=x3dYjSnP0De00EtkcvkvJBHwS7n87WHMCByJ09tiSX9pCkK1TnF4AvPrzzSmpuVIZh 0KvQE9f7KGj/0d5LIhAY2QwYlf4P/Rt8eoLjJnbQOxNHfkMxGyUdSoLQDHMjO1oXw+fk c2WVKhGmulEjvTc3ceQw1cnFCzWaIWlk9tPgNz2PR69U7T22S5TZEq7HLsZ31WZv8q5h 08IHu4pjsZncHTVmpPcM6WZXkkS00FlAmMMJs4hNg/4XmbGyOJayy1tLeB8A0bgJgnS9 vIIpwmRYKpk5kJnyWpPEYrKoMsvhwv6AmiciVld66mJgSYUjhwjB36HH/Whq2yLBdNi2 a4qA== 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=DPBNeV5lI7x4f0c/1QTkIEe58PP6MpX09ZxRAWQ+k2A=; fh=nk5TQybajD4LgIO97Rj6jukLxLufELZiT5k3qEK4lEc=; b=qMYA8Ig23vo2TkoP7EMv/YPi6P2/4KfC+1WCQ0+JtmULGJgdoHeeQTvxcrL90WDPGi qbo07y2zFV22modHIhFxxoDw4q3ZXzZZh6eJk9miwXxJPPXKE1IFDSlPt+C/aNjgxUTQ 1K2r6+RqCW5QIOxqSUtVLVtBcyi5TEiG7HcsPrvafGLm/hPFbSF7ZNLX1K4JnGE454V8 w4UpA7LgYaEbZdR8D47urlR+OZ9zGqeC9hjYG5x/yJB1xCGxttfWVNLooeZcEEo6gmFi q1cS/jFr7we0T94rFqGI/WVT0tLzVXTAtTFjfvKGhopwwH3bJw8FXMwE/4VEI1OBK3Q1 YEGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-109855-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dz11-20020a0564021d4b00b0056b9bbb5568si2326982edb.336.2024.03.21.02.42.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 02:42:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109855-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-109855-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de 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 6561E1F237E7 for ; Thu, 21 Mar 2024 09:33:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A39E554FB7; Thu, 21 Mar 2024 09:32:59 +0000 (UTC) Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8382220326; Thu, 21 Mar 2024 09:32:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711013579; cv=none; b=ssPSOnfnYG9oJHo2G2VNJtChKa1zIX8Mt0iDonsFp34d3bzKNyMZlj1js4WQS1ldSlsuh/3DBNWTfAN8F9r9UqoE36dAcAD95FI6f8JPv+HkcVf84AX5Q+paBpFJsfU2EoYumxQPmon2XYatxKxJ2qMR1ulkI5ab6DMuhHKYesQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711013579; c=relaxed/simple; bh=iHMWBPP9KJVog54ihelmxgv7C4JSysp6R4W5sOgY3zQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=t/bcW0wIkQDw44q7AfysNHqQMFwPDFBnAqYdbKKPrLX5EwKuK144pCi/zL9u4lmZbAJPg1YLIb5W90CQGPdjokZEcw0ytYOhe+itHJt9AZIKGHwrsZ2d+U3A3WD0PjrX4BTJFDzHcaeTbIS5podsMzYPY23zP6rcwzqmSASm2eg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from i53875a9e.versanet.de ([83.135.90.158] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rnEmn-000801-MU; Thu, 21 Mar 2024 10:32:33 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Emmanuel Gil Peyrot , linux-kernel@vger.kernel.org, Krzysztof Kozlowski Cc: Ezequiel Garcia , Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 Subject: Re: [PATCH 2/4] media: dt-binding: media: Document =?UTF-8?B?cmszNTg44oCZcw==?= vepu121 Date: Thu, 21 Mar 2024 10:32:32 +0100 Message-ID: <2798331.BEx9A2HvPv@diego> In-Reply-To: <70439a01-7949-46bf-a701-c82ba961171a@linaro.org> References: <20240320173736.2720778-1-linkmauve@linkmauve.fr> <855507987.0ifERbkFSE@diego> <70439a01-7949-46bf-a701-c82ba961171a@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Am Donnerstag, 21. M=E4rz 2024, 10:19:54 CET schrieb Krzysztof Kozlowski: > On 21/03/2024 09:47, Heiko St=FCbner wrote: > >>> enum: > >>> - rockchip,rk3568-vepu > >>> + - rockchip,rk3588-vepu121 > >> > >> What is 121? > >=20 > > That is the strange naming of the ip block inside the soc. > >=20 > > I.e. the rk3588 TRM lists a number of different video encoders and deco= ders: > > - VDPU121 is decoding h.263 and mpeg1,2,4 > > - VDPU381 is decoding h.265, h.264 and some more > > - VDPU720 is decoding jpeg > > - VDPU981 decodes AV1 > > - VEPU121 is the jpeg encoder above > > - VEPU580 encodes h.264 and h.265 > >=20 > > Each of those are separate IP blocks with their own io-memory, their own > > interrupts and their own iommus, etc. >=20 > Thanks for explanation. Short introduction in commit msg would be nice > (e.g. VEPU121, one of two VEPU encoders). OTOH, why not documenting all > of them? Bindings are supposed to be as complete as possible. We have a concurrent series for the vdpu121 running at https://lore.kernel.org/all/20240316071100.2419369-1-liujianfeng1994@gmai= l.com I think not all of those encoders/decoders are based on the Hantro IP or at least at the moment we don't know this yet. Hence people adding compatibles for the blocks they have actually managed to run on their hardware. Bindings are supposed to be as complete as possible, but revising a wrong binding later is very hard. And the whole media part is full of binary libr= aries in the vendor kernel and has not the best documentation. So I guess people are just cautious ;-) Heiko