Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22410667rwd; Fri, 30 Jun 2023 07:43:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlFasHZjC5Qil8q3CvTkz808elNZp3tzUwsAm29li3tOkQDwWtdqwwLdE9AfBzkJvts9Q8Y/ X-Received: by 2002:a17:902:e845:b0:1b0:6c10:6836 with SMTP id t5-20020a170902e84500b001b06c106836mr2271050plg.33.1688136220120; Fri, 30 Jun 2023 07:43:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688136220; cv=none; d=google.com; s=arc-20160816; b=Fs2FqrogpPIK4+/EucDn78T9w0K5mIjN/4QwQtDO0hQnnHDd3+LBislfayOdI0EzIw 5drROPSuEkZ/j+74A7fGnHleUEvsFSwx/2D7KMS5SNES3BqmxQZpzsx+MYiK//oaaWGX FtPGKIIG31ovtE0hrNLWVWh4KlVEHKaBLeB58YfWq/RoYaLGDsRJS4EROwu7qrwhzvcb N2bMesW4wxnF1ZGApI/0Ckw4ZY2zPHbBzmkQ53xo4CN+jeG70iKeXTxBnonPCnz4Wj8R YxDf4fEXQvKQhFnL8R/pwFNWbJCnH8fQ3fmA7F7SaNvVvujyRc4Ljc+74zkdmaTrkg88 NigQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=V5AMZs/zHCV83IWK4W4QITPU73mgpFl6qrkuUYgrguc=; fh=GXdZsopXFvYywC9o8vkL7peu9JY3TA2gWj8ZxDdEXZE=; b=wfnDmqg0b4KHhiaYy/RRk4HwXEh7qcqm/UXEleeZcP4hyH+W3TrbMOtMBVlI1FnltW UGGHHzurSKwTEDaheEsQaDL0fUBZH2Te5CRHvOnIM3D95o5m/1bZKMWN2C+LqmBakMUZ W4e5kYYUES2CIdLox8rlgzPbqUbib2mJUwkCLygvXAwjdRxDesATM8oUOZbpkWQ5B5d0 rYo6LxjN2nIZ04LDLwO0QKKs8GiIM1KipqRGkggjOSau3PNMK5iAxV9SPcgpK7NxSzHo TDF0Rw+bWVlD7mZT0BECR45f6YD3e6qVvL4aSZk4FVh95tc1rrCJgsucr7IdFDQX+pAu +3AA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y19-20020a1709027c9300b001a647aadbe0si12223544pll.568.2023.06.30.07.43.25; Fri, 30 Jun 2023 07:43:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232569AbjF3Odn (ORCPT + 99 others); Fri, 30 Jun 2023 10:33:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232168AbjF3Odk (ORCPT ); Fri, 30 Jun 2023 10:33:40 -0400 Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFEB510D7; Fri, 30 Jun 2023 07:33:38 -0700 (PDT) Received: by mail-io1-f47.google.com with SMTP id ca18e2360f4ac-783549ef058so78580639f.2; Fri, 30 Jun 2023 07:33:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688135618; x=1690727618; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=V5AMZs/zHCV83IWK4W4QITPU73mgpFl6qrkuUYgrguc=; b=kvMnnKpsTbzkszQcfo9MM/acNefMn3Eo2m4fdyc0ejydgbryAEY0jH9haiwtiNdaeZ 8Fn34YrAwxm2w6tuqJB6AdaaZFm3CpOHUw+ep1zmAauFw72CgXYViepO7oshVHGHhE34 pSGGNianiNUNHaDmorkl7yGK4GvuO3E0Uu0QaANrJHP9i61T8Mxp1ByjKkconcdLu7AR Bjq4A/3BPoH25Qz1DcFJQfuiP3Wh/yWgo3Rbz+gjE9BfrZmrlJyiSpuzp6Q0OrpXmTUI IXlaH1hb5AZrQEaG+fOANcCR4DRQ/LXlg/HHS6QjQdKOB8KtuPq2yMkxpgg4RcCDkNVf Vb+w== X-Gm-Message-State: AC+VfDz1nwnwNA0xb1j/TIiJ+VGf7l5/1jSJMlcMe1cj/glSjxiEDbgz RuSHuehKC2Y7dFgn4f5epA== X-Received: by 2002:a5e:8302:0:b0:774:94e1:3aee with SMTP id x2-20020a5e8302000000b0077494e13aeemr3063334iom.6.1688135617882; Fri, 30 Jun 2023 07:33:37 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id r5-20020a056638100500b0042319c38763sm4571263jab.15.2023.06.30.07.33.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jun 2023 07:33:37 -0700 (PDT) Received: (nullmailer pid 1431708 invoked by uid 1000); Fri, 30 Jun 2023 14:33:35 -0000 Date: Fri, 30 Jun 2023 08:33:35 -0600 From: Rob Herring To: Julien Stephan Cc: Phi-bang Nguyen , Andy Hsieh , AngeloGioacchino Del Regno , Conor Dooley , daoyuan huang , devicetree@vger.kernel.org, Florian Sylvestre , Krzysztof Kozlowski , Laurent Pinchart , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-media@vger.kernel.org, Louis Kuo , Matthias Brugger , Mauro Carvalho Chehab , Moudy Ho , Ping-Hsun Wu , Vasily Gorbik Subject: Re: [PATCH v2 3/4] dt-bindings: media: add mediatek ISP3.0 camsv Message-ID: <20230630143335.GA1430949-robh@kernel.org> References: <20230630100321.1951138-1-jstephan@baylibre.com> <20230630100321.1951138-4-jstephan@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230630100321.1951138-4-jstephan@baylibre.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 30, 2023 at 12:01:52PM +0200, Julien Stephan wrote: > 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 | 113 ++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 114 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/mediatek,mt8365-camsv.yaml > > 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..d81fa5d6db74 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/mediatek,mt8365-camsv.yaml > @@ -0,0 +1,113 @@ > +# 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 > + > +maintainers: > + - Laurent Pinchart > + - Julien Stephan > + - Andy Hsieh > + > +description: > + The CAMSV is a set of DMA engines connected to the SENINF CSI-2 > + receivers. The number of CAMSVs depend on the SoC model. > + > +properties: > + compatible: > + const: mediatek,mt8365-camsv > + > + reg: > + maxItems: 3 > + > + interrupts: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + clocks: > + items: > + - description: cam clock > + - description: camtg clock > + - description: camsv clock > + > + clock-names: > + items: > + - const: camsys_cam_cgpdn > + - const: camsys_camtg_cgpdn > + - const: camsys_camsv > + > + iommus: > + maxItems: 1 > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/properties/port > + unevaluatedProperties: false Drop > + description: connection point for camsv0 > + > + properties: Drop > + endpoint: > + $ref: /schemas/graph.yaml#/$defs/endpoint-base > + unevaluatedProperties: false > + > + 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>; > + > + camsv1: 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 = "camsys_cam_cgpdn", "camsys_camtg_cgpdn", > + "camsys_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 9fda342ad331..60b2bceca584 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -13355,6 +13355,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 > F: drivers/media/platform/mediatek/isp/isp_30/seninf/* > > -- > 2.41.0 >