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 4680EC3DA49 for ; Tue, 30 Jul 2024 12:47:34 +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=yTzGbI6bZWcO4ru+wMVPnmMyzM7wM3NVdelZQfrIxGY=; b=OI4NblkiiHWmXjgqeMejhoZjPa 4gs1lmC9D8fQvpcdExqtpP0e+0sW5udEm0cZroki+lappIuTKMgaD21MQpEnULnoD8UH8HYk2dqaY L44Qvi1dwlm8LV197sALFAtAtkoK47elKtIV2J6tqmYgNGRb3z4UGg9lsKo/Gt2yroYOH/eqYe3NL ZSGfT15ycZYeqnJRZhXgwEC3Cb2EpPO09bw9RkzstO8K9zo88/ylIaUrlhn5HaHZBzC2nOexJvyfC DgmePyLUjiNhl6Ql+0jIirP0NwD8ukHCOWDIYrfbKBDHjpx2IWXtuPwrRbuviVwhcUkf+HLU7Tbhd VWHVHOwQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYmGA-0000000F9Bf-2mPR; Tue, 30 Jul 2024 12:47:22 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYmFi-0000000F96J-40lS; Tue, 30 Jul 2024 12:46:56 +0000 Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 658FF743; Tue, 30 Jul 2024 14:46:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1722343565; bh=rLth2rt6HbHw+vgytlfn4FpXMSOett+WFGgp6FMxcCk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=blImoJAI1q7mdYLHT/paJNKgz8FHY6RfIBFI8ZdV/Lj7ZS/E/SvVfJrTx6oWvz9np qtGcfuuntpybL5WOKReAzI69xrTmsqW/aDdjF7dXr1spl4FSWoyr2fbRfC8HzKMvfa R8Erc9FpG5taZkQrhC4EnjSDIWBiU351qJRK6yJ0= Date: Tue, 30 Jul 2024 15:46:31 +0300 From: Laurent Pinchart To: AngeloGioacchino Del Regno Cc: Julien Stephan , Andy Hsieh , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Phi-bang Nguyen Subject: Re: [PATCH v6 2/5] dt-bindings: media: add mediatek ISP3.0 camsv Message-ID: <20240730124631.GL1552@pendragon.ideasonboard.com> References: <20240729-add-mtk-isp-3-0-support-v6-0-c374c9e0c672@baylibre.com> <20240729-add-mtk-isp-3-0-support-v6-2-c374c9e0c672@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240730_054655_160324_3E6A3CBA X-CRM114-Status: GOOD ( 21.59 ) 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 Mon, Jul 29, 2024 at 04:57:36PM +0200, AngeloGioacchino Del Regno wrote: > Il 29/07/24 16:48, Julien Stephan ha scritto: > > From: Phi-bang Nguyen > > > > This adds the bindings, for the ISP3.0 camsv module embedded in > > some Mediatek SoC, such as the mt8365 > > > > Signed-off-by: Phi-bang Nguyen > > Signed-off-by: Julien Stephan > > --- > > .../bindings/media/mediatek,mt8365-camsv.yaml | 109 +++++++++++++++++++++ > > MAINTAINERS | 1 + > > 2 files changed, 110 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/media/mediatek,mt8365-camsv.yaml b/Documentation/devicetree/bindings/media/mediatek,mt8365-camsv.yaml > > new file mode 100644 > > index 000000000000..fdd076756459 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/media/mediatek,mt8365-camsv.yaml > > @@ -0,0 +1,109 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +# Copyright (c) 2023 MediaTek, BayLibre > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/media/mediatek,mt8365-camsv.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: MediaTek CAMSV 3.0 > > Sorry, can we unroll the "CAMSV" acronym? > > Is that CAMera Sensor V(what?) or anything similar? If someone can tell us what CAMSV stands for, yes :-) I don't know personally, and I don't think Julien knows either. > > + > > +maintainers: > > + - Laurent Pinchart > > + - Julien Stephan > > + - Andy Hsieh > > + > > +description: > > + The CAMSV is a video capture device that includes a DMA engine connected to > > + the SENINF CSI-2 receivers. The number of CAMSVs depend on the SoC model. > > + > > +properties: > > + compatible: > > + const: mediatek,mt8365-camsv > > + > > + reg: > > + items: > > + - description: camsv base > > + - description: img0 base > > + - description: tg base > > + > > + interrupts: > > + maxItems: 1 > > + > > + power-domains: > > + maxItems: 1 > > + > > + clocks: > > + items: > > + - description: cam clock > > + - description: camtg clock > > + - description: camsv clock > > + > > + clock-names: > > + items: > > + - const: cam > > + - const: camtg > > + - const: camsv > > + > > + iommus: > > + maxItems: 1 > > + > > + ports: > > + $ref: /schemas/graph.yaml#/properties/ports > > + > > + properties: > > + port@0: > > + $ref: /schemas/graph.yaml#/properties/port > > + description: Connection to the SENINF output > > + > > + required: > > + - port@0 > > + > > +required: > > + - compatible > > + - interrupts > > + - clocks > > + - clock-names > > + - power-domains > > + - iommus > > + - ports > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + #include > > + #include > > + #include > > + #include > > + > > + soc { > > + #address-cells = <2>; > > + #size-cells = <2>; > > + > > + camsv@15050000 { > > + compatible = "mediatek,mt8365-camsv"; > > + reg = <0 0x15050000 0 0x0040>, > > + <0 0x15050208 0 0x0020>, > > + <0 0x15050400 0 0x0100>; > > + interrupts = ; > > + clocks = <&camsys CLK_CAM>, > > + <&camsys CLK_CAMTG>, > > + <&camsys CLK_CAMSV0>; > > + clock-names = "cam", "camtg", "camsv"; > > + iommus = <&iommu M4U_PORT_CAM_IMGO>; > > + power-domains = <&spm MT8365_POWER_DOMAIN_CAM>; > > + > > + ports { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + port@0 { > > + reg = <0>; > > + camsv1_endpoint: endpoint { > > + remote-endpoint = <&seninf_camsv1_endpoint>; > > + }; > > + }; > > + }; > > + }; > > + }; > > +... > > diff --git a/MAINTAINERS b/MAINTAINERS > > index 6bd7df1c3e08..9ac8c08ba692 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -14163,6 +14163,7 @@ M: Laurent Pinchart > > M: Julien Stephan > > M: Andy Hsieh > > S: Supported > > +F: Documentation/devicetree/bindings/media/mediatek,mt8365-camsv.yaml > > F: Documentation/devicetree/bindings/media/mediatek,mt8365-seninf.yaml > > > > MEDIATEK SMI DRIVER -- Regards, Laurent Pinchart