From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (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 B39701B042E; Fri, 12 Sep 2025 08:11:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757664696; cv=none; b=BIofuewd/P0ZIAGRM0i76uEkwnu1fwvN9jfkpWAkx/q5NnrDQuf+wULl9cjAtJhTpKjH70uN3FSWBQPEttm4xijtL0pIaDtaI4nnRYqNgTlHU8xETm60WAWhCePmqUxeahKQNyjWcx+WIAzC2dneJcuaWzWO7d1PoIDStX0HZds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757664696; c=relaxed/simple; bh=CzesZ0+83XgeIbXL6u4EnFLvcQwKX0MimNmWx+DMUmA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BnnnnP35jfEPbi27DZb5NkSnnqBvttRja/3zigS2vbhu45+5/QOvqw2Eor66MS2OHdMHYNOW3+0hMOWjzCbagyVHCl+KUTdKR/wH5KMKqZTwgb+k++L0Hq9LTPbPUwnJmp0MmJ0CmZYRpfrSg+OO2AcXs+5LSOX7dtS1XPWA4vw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=mjESWjIK; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="mjESWjIK" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1757664691; bh=CzesZ0+83XgeIbXL6u4EnFLvcQwKX0MimNmWx+DMUmA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mjESWjIKXRwZVDydET4lIeaI2BUyFqWGWT6Asttm4aF5IV7TCbY64i3KVe3SFvp1m zJ2cF6z0RJm5hhJh8/m+NdT/F3od9v7fDRXhyW/+eq5viQpRdCV5HSQnbLjZ/xc9n+ tvutCB33fYeaQQ/sjE2gmmlRRwCzOyenC5oVYCY3CEChAf5dclzUyWDHVn+100ldl4 A+mk2crY1sSjswYOvdhQNAcif4ADPpaTOSLdWeUrv621E2NCndrFeRavnqVmjqL0RK Ky9ikvwGpz9bZk6zS58reSv5qz2R6PZGO0RuYuoG3BDkIfGuSmLun0R/aRpvUx0eoB PNZFWtzaQjM6A== Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by bali.collaboradmins.com (Postfix) with ESMTPSA id 8B03017E0100; Fri, 12 Sep 2025 10:11:29 +0200 (CEST) Message-ID: Date: Fri, 12 Sep 2025 10:11:28 +0200 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 02/12] dt-bindings: media: Convert MediaTek mt8173-vpu bindings to DT schema To: Ariel D'Alessandro , airlied@gmail.com, amergnat@baylibre.com, andrew+netdev@lunn.ch, andrew-ct.chen@mediatek.com, broonie@kernel.org, chunkuang.hu@kernel.org, conor+dt@kernel.org, davem@davemloft.net, dmitry.torokhov@gmail.com, edumazet@google.com, flora.fu@mediatek.com, heiko@sntech.de, houlong.wei@mediatek.com, jeesw@melfas.com, kernel@collabora.com, krzk+dt@kernel.org, kuba@kernel.org, lgirdwood@gmail.com, linus.walleij@linaro.org, louisalexis.eyraud@collabora.com, luiz.dentz@gmail.com, maarten.lankhorst@linux.intel.com, marcel@holtmann.org, 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 Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-bluetooth@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-rockchip@lists.infradead.org, linux-sound@vger.kernel.org, netdev@vger.kernel.org References: <20250911151001.108744-1-ariel.dalessandro@collabora.com> <20250911151001.108744-3-ariel.dalessandro@collabora.com> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: <20250911151001.108744-3-ariel.dalessandro@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 11/09/25 17:09, Ariel D'Alessandro ha scritto: > Convert the existing text-based DT bindings for Mediatek MT8173 Video > Processor Unit to a DT schema. > > Signed-off-by: Ariel D'Alessandro Reviewed-by: AngeloGioacchino Del Regno > --- > .../bindings/media/mediatek,mt8173-vpu.yaml | 74 +++++++++++++++++++ > .../bindings/media/mediatek-vpu.txt | 31 -------- > 2 files changed, 74 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..8a47761f1e6b5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/mediatek,mt8173-vpu.yaml > @@ -0,0 +1,74 @@ > +# 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). > + > +properties: > + compatible: > + const: mediatek,mt8173-vpu > + > + reg: > + maxItems: 2 > + > + reg-names: > + items: > + - const: tcm > + - const: cfg_reg > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + items: > + - const: main > + > + memory-region: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - reg-names > + - interrupts > + - clocks > + - clock-names > + - memory-region > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + > + vpu: vpu@10020000 { > + compatible = "mediatek,mt8173-vpu"; > + reg = <0 0x10020000 0 0x30000>, > + <0 0x10050000 0 0x100>; > + reg-names = "tcm", "cfg_reg"; > + interrupts = ; > + clocks = <&topckgen CLK_TOP_SCP_SEL>; > + clock-names = "main"; > + memory-region = <&vpu_dma_reserved>; > + }; > + }; > + > +...