From mboxrd@z Thu Jan 1 00:00:00 1970 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 AC50ECA0EDC for ; Thu, 21 Aug 2025 07:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nqiJ/jMNBMqMYlpzrFgRn681Dz3/kRO47SwEnG6WV5I=; b=VmS1LTKP6XS9ZtmVrxvbrVA08c wjWw6kwe8nrXxvodK5n1sGUFoLRWIVOm6lefnw0NP8F2JBOMannas/JEWtDk6rkEluKOfQgkwMQTJ VE0DM6pNjrfg9mvOY3oEO8ev+sl9pGu4bTmqLXyFZwTQwOEhodX0MI1jC33rzwlF/hnZu4Edlu44R m+80ROeRmOKuSP4Y/nQcRslx9VS1V6vcgYOJkljQ+8V9SE/4ttPsYbeXU6Ondv3bVhGHOJvk2X633 L4D9N2gjEukXxDu57IS08rv5GzwLz6JWonRFVCmv7jBA78jyvm+BPA0ncDKOYCOCTklhLsVF80dbQ 8Y3koVzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uozNl-0000000G3Qv-2KXe; Thu, 21 Aug 2025 07:06:45 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uoz5O-0000000FzxT-4AiB; Thu, 21 Aug 2025 06:47:47 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 5E4516020E; Thu, 21 Aug 2025 06:47:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A86CC4CEED; Thu, 21 Aug 2025 06:47:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755758866; bh=EgAT92RP54AVFDysaOd0tnqQ0Olfa0hsk+q5u3ZXcIk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aqcqPhjBCH3w3+IQwS0SA20txlfmzkg6a/TxfrTGgl/ynO4VpKzEFt7sQXN7d/3ON m7322CvkaqBwGtYP/p+8/1apRnMXxAnfGiwjmsxLYmhEFREU8sXYpJa5Fiz5venMd2 qh7xz0Sfth3pqIEvb3tIsCjdiER9Ok9oh9lbAOFs888RcZzz78ZX91fliLIdCk/gkX hY/JA809J+Qz1PHKvdtx6B5bJrfzy5KKyK0s6Nq2nSW1MnKz2cCa6IeL4Qe+pHUkUT fKQYfgXQ0jKDIH1tNyJM40B6JAZui3GS7k6S5tDV621OZMIpvyCqCHWsUJ9+c2M4o+ zjvGNfCxO9YYw== Date: Thu, 21 Aug 2025 08:47:43 +0200 From: Krzysztof Kozlowski To: Ariel D'Alessandro Cc: airlied@gmail.com, amergnat@baylibre.com, andrew+netdev@lunn.ch, andrew-ct.chen@mediatek.com, angelogioacchino.delregno@collabora.com, broonie@kernel.org, chunkuang.hu@kernel.org, ck.hu@mediatek.com, conor+dt@kernel.org, davem@davemloft.net, dmitry.torokhov@gmail.com, edumazet@google.com, flora.fu@mediatek.com, houlong.wei@mediatek.com, jeesw@melfas.com, jmassot@collabora.com, kernel@collabora.com, krzk+dt@kernel.org, kuba@kernel.org, kyrie.wu@mediatek.corp-partner.google.com, lgirdwood@gmail.com, linus.walleij@linaro.org, louisalexis.eyraud@collabora.com, maarten.lankhorst@linux.intel.com, matthias.bgg@gmail.com, mchehab@kernel.org, minghsiu.tsai@mediatek.com, mripard@kernel.org, p.zabel@pengutronix.de, pabeni@redhat.com, robh@kernel.org, sean.wang@kernel.org, simona@ffwll.ch, support.opensource@diasemi.com, tiffany.lin@mediatek.com, tzimmermann@suse.de, yunfei.dong@mediatek.com, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-sound@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v1 02/14] media: dt-bindings: Convert MediaTek mt8173-vpu bindings to YAML Message-ID: <20250821-piquant-rapid-bear-8cedc0@kuoka> References: <20250820171302.324142-1-ariel.dalessandro@collabora.com> <20250820171302.324142-3-ariel.dalessandro@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20250820171302.324142-3-ariel.dalessandro@collabora.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Aug 20, 2025 at 02:12:50PM -0300, Ariel D'Alessandro wrote: > Convert the existing text-based DT bindings for Mediatek MT8173 Video Processor > Unit to a YAML schema. DT schema, not YAML. Don't say YAML at all, neither here nor in subject. Also looks not wrapped... > > Signed-off-by: Ariel D'Alessandro > --- > .../bindings/media/mediatek,mt8173-vpu.yaml | 76 +++++++++++++++++++ > .../bindings/media/mediatek-vpu.txt | 31 -------- > 2 files changed, 76 insertions(+), 31 deletions(-) > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mt8173-vpu.yaml > delete mode 100644 Documentation/devicetree/bindings/media/mediatek-vpu.txt > > diff --git a/Documentation/devicetree/bindings/media/mediatek,mt8173-vpu.yaml b/Documentation/devicetree/bindings/media/mediatek,mt8173-vpu.yaml > new file mode 100644 > index 0000000000000..44f5d7cc44042 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/mediatek,mt8173-vpu.yaml > @@ -0,0 +1,76 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/mediatek,mt8173-vpu.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mediatek MT8173 Video Processor Unit > + > +maintainers: > + - Ariel D'Alessandro > + > +description: > + Video Processor Unit is a HW video controller. It controls HW Codec including > + H.264/VP8/VP9 Decode, H.264/VP8 Encode and Image Processor (scale/rotate/color convert). Please wrap code according to the preferred limit expressed in Kernel coding style (checkpatch is not a coding style description, but only a tool). However don't wrap blindly (see Kernel coding style). > + > +properties: > + compatible: > + const: mediatek,mt8173-vpu > + > + reg: > + minItems: 2 No, from where do you get such syntax? > + > + reg-names: > + items: > + - const: tcm > + - const: cfg_reg > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + items: > + - const: main > + > + memory-region: > + description: > + phandle to a node describing reserved memory used by VPU > + (see bindings/reserved-memory/reserved-memory.txt) Drop, redundant description. Best regards, Krzysztof