Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp450555rdb; Fri, 6 Oct 2023 08:12:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHpwLQPfCuM2GIXgD8jk57JdApdq6JHQSiYhk8IEFjB3v6dKWVY+e3r1EN0YmkDYMtRCgUv X-Received: by 2002:a05:6a00:a92:b0:68e:399e:70db with SMTP id b18-20020a056a000a9200b0068e399e70dbmr9228718pfl.6.1696605162401; Fri, 06 Oct 2023 08:12:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696605162; cv=none; d=google.com; s=arc-20160816; b=hBsWxUHFtjQO1+PFc5RJ5CD1gb+XGye5wsTJ1d+Z0r9jUFbWMdQxAmWyNz9KTNf1qt XAXsHO8Tmd4P2k7S/zZzkhjRzrbWAkmJ+OdRKypA58zL4mr/z2fMA9RblLP/7MN6xOkz bU7aOrt2Drd+sHQGZu8l/obrRiiVzoRJWOslpUEkyRyJ4Ty13+FGJ/na6P9rvTl1WQj2 Kj6m5yT9g8vUV8nX6DM0xToJ9E1IvViKU2Y+yAwy4E1o72xuIXjxOLVT+sZq0IAPnsse ela7LPeXF6ZreGqdEnDN21MXIdgOatIWzeiHwGJDA0g0yKWn90qNgjxBNfYWXSp7ztjR Qvjg== 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:dkim-signature; bh=zlHg+o+Ut1R6Jh9zmsc4VSuz8HYYtOaQ/LxDprMrNlY=; fh=La3XuHF3DEihlrXPPUtlcl5NxAGfoHuE/Uu8438wH9o=; b=lEt3BgR3TzJaS58nXPUK3LmORlWQV6RRHbr8lzXOnkGnr1FsznsLRiiI+v7PJwdD40 kOggv5aGIMpXigxZ4iFi0rlU8huCQJ4BWoNbQFHUvsAUTjoJkg1WSqA3QViBNew/FjKQ olX6ZmeXtjbSOapo0pRW7Xsd5A+1ZOc33gHWcgXaTg/t+G81TX4ZP06Uqly6zIwrYgpP EQGXkBbRKxWjhMUChtWLYBJSE2gQhjW/lVIgGpRKVhuAEvHwCw+T/T+7SnxDJIWQAc0j aVA1thUXf+ToQkfHTi8AQf7V3c7wVa92a4GZOglabspoUx5h6ZRSf++b07YJ3dgew6Yh NfwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nh1+bqXt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id cq27-20020a056a00331b00b0069018a768d7si1691754pfb.385.2023.10.06.08.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 08:12:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nh1+bqXt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4617D8096470; Fri, 6 Oct 2023 08:12:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232721AbjJFPMY (ORCPT + 99 others); Fri, 6 Oct 2023 11:12:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230223AbjJFPMW (ORCPT ); Fri, 6 Oct 2023 11:12:22 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BA3A9F; Fri, 6 Oct 2023 08:12:20 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E7A5C433C9; Fri, 6 Oct 2023 15:12:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696605140; bh=pBOi8Gv1qqAYJ4e8Pn7HdfqP1/2VS6TDqzcavQT8xAc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Nh1+bqXtCsi7ZZjZza7aC7d+ut2k/L3MQ+5Yjbyyv1/rHiu7DpXYb0fba6V9ovLcq 3nThaQWrbMSifXObCGFbgCaXVJETfj+p1iG9omrqLEXdhglmUntxPtacm984ZQ1IBq Z56bKzR9KRYYZqsZzOfgNAeaXVyIOXMLoOpWbR5GfsoOlMe93ATdTWsA/vWL3yOZIw im/S8fZbvtC5Y7Yqda311tVnW6zF4kuV7/vvLGpLqNiA9Oq8oT3u2sKz0otwYRSmfL idCa4DHkyLoKI6w+NKGAmzCYnkJFjfggZH5oYwNtKZs9UAyZjuvi9kdrvFd1Qyly2K XwCQmPtZXBDEw== Received: (nullmailer pid 3946956 invoked by uid 1000); Fri, 06 Oct 2023 15:12:17 -0000 Date: Fri, 6 Oct 2023 10:12:17 -0500 From: Rob Herring To: Krzysztof Kozlowski Cc: Bryan O'Donoghue , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, loic.poulain@linaro.org, rfoss@kernel.org, andi.shyti@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, todor.too@gmail.com, mchehab@kernel.org, linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/5] media: dt-bindings: media: camss: Add qcom,sc8280xp-camss binding Message-ID: <20231006151217.GA3943830-robh@kernel.org> References: <20231006120159.3413789-1-bryan.odonoghue@linaro.org> <20231006120159.3413789-5-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 06 Oct 2023 08:12:39 -0700 (PDT) X-Spam-Level: ** On Fri, Oct 06, 2023 at 02:33:42PM +0200, Krzysztof Kozlowski wrote: > On 06/10/2023 14:01, Bryan O'Donoghue wrote: > > Add bindings for qcom,sc8280xp-camss in order to support the camera > > subsystem for sc8280xp as found in the Lenovo x13s Laptop. > > > > Signed-off-by: Bryan O'Donoghue > > --- > > .../bindings/media/qcom,sc8280xp-camss.yaml | 598 ++++++++++++++++++ > > 1 file changed, 598 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/media/qcom,sc8280xp-camss.yaml > > > > diff --git a/Documentation/devicetree/bindings/media/qcom,sc8280xp-camss.yaml b/Documentation/devicetree/bindings/media/qcom,sc8280xp-camss.yaml > > new file mode 100644 > > index 000000000000..46d2da4ad373 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/media/qcom,sc8280xp-camss.yaml > > @@ -0,0 +1,598 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > + > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/media/qcom,sc8280xp-camss.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Qualcomm CAMSS > > Instead something like: > Qualcomm SC8280xp Camera SubSystem (CAMSS) > ? > > > + > > +maintainers: > > + - Bryan O'Donoghue > > + > > +description: | > > + The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms. > > + > > +properties: > > + compatible: > > + const: qcom,sc8280xp-camss > > + > > + clocks: > > + minItems: 63 > > You can drop minItems if they equal maxItems. > > > + maxItems: 63 > > + > > + clock-names: > > + items: > > + - const: camnoc_axi > > + - const: camnoc_axi_src > > + - const: cpas_ahb > > + - const: cphy_rx_src > > + - const: csiphy0 > > + - const: csiphy0_timer_src > > + - const: csiphy0_timer > > + - const: csiphy1 > > + - const: csiphy1_timer_src > > + - const: csiphy1_timer > > + - const: csiphy2 > > + - const: csiphy2_timer_src > > + - const: csiphy2_timer > > + - const: csiphy3 > > + - const: csiphy3_timer_src > > + - const: csiphy3_timer > > + - const: vfe0_axi > > + - const: vfe0_src > > + - const: vfe0 > > + - const: vfe0_cphy_rx > > + - const: vfe0_csid_src > > + - const: vfe0_csid > > + - const: vfe1_axi > > + - const: vfe1_src > > + - const: vfe1 > > + - const: vfe1_cphy_rx > > + - const: vfe1_csid_src > > + - const: vfe1_csid > > + - const: vfe2_axi > > + - const: vfe2_src > > + - const: vfe2 > > + - const: vfe2_cphy_rx > > + - const: vfe2_csid_src > > + - const: vfe2_csid > > + - const: vfe3_axi > > + - const: vfe3_src > > + - const: vfe3 > > + - const: vfe3_cphy_rx > > + - const: vfe3_csid_src > > + - const: vfe3_csid > > + - const: vfe_lite0_src > > + - const: vfe_lite0 > > + - const: vfe_lite0_cphy_rx > > + - const: vfe_lite0_csid_src > > + - const: vfe_lite0_csid > > + - const: vfe_lite1_src > > + - const: vfe_lite1 > > + - const: vfe_lite1_cphy_rx > > + - const: vfe_lite1_csid_src > > + - const: vfe_lite1_csid > > + - const: vfe_lite2_src > > + - const: vfe_lite2 > > + - const: vfe_lite2_cphy_rx > > + - const: vfe_lite2_csid_src > > + - const: vfe_lite2_csid > > + - const: vfe_lite3_src > > + - const: vfe_lite3 > > + - const: vfe_lite3_cphy_rx > > + - const: vfe_lite3_csid_src > > + - const: vfe_lite3_csid > > + - const: gcc_axi_hf > > + - const: gcc_axi_sf > > + - const: slow_ahb_src > > + > > + interrupts: > > + minItems: 20 > > You can drop minItems if they equal maxItems. > > > > + maxItems: 20 > > + > > + interrupt-names: > > + items: > > + - const: csid1_lite > > + - const: vfe_lite1 > > + - const: csiphy3 > > + - const: csid0 > > + - const: vfe0 > > + - const: csid1 > > + - const: vfe1 > > + - const: csid0_lite > > + - const: vfe_lite0 > > + - const: csiphy0 > > + - const: csiphy1 > > + - const: csiphy2 > > + - const: csid2 > > + - const: vfe2 > > + - const: csid3_lite > > + - const: csid2_lite > > + - const: vfe_lite3 > > + - const: vfe_lite2 > > + - const: csid3 > > + - const: vfe3 > > + > > + iommus: > > + minItems: 16 > > You can drop minItems if they equal maxItems. > > > + maxItems: 16 > > + > > + interconnects: > > + minItems: 4 > > You can drop minItems if they equal maxItems. > > > > + maxItems: 4 > > + > > + interconnect-names: > > + items: > > + - const: cam_ahb > > + - const: cam_hf_mnoc > > + - const: cam_sf_mnoc > > + - const: cam_sf_icp_mnoc > > + > > + power-domains: > > + items: > > + - description: IFE0 GDSC - Image Front End, Global Distributed Switch Controller. > > + - description: IFE1 GDSC - Image Front End, Global Distributed Switch Controller. > > + - description: IFE2 GDSC - Image Front End, Global Distributed Switch Controller. > > + - description: IFE3 GDSC - Image Front End, Global Distributed Switch Controller. > > + - description: Titan Top GDSC - Titan ISP Block, Global Distributed Switch Controller. > > + > > + power-domain-names: > > + items: > > + - description: ife0 > > + - description: ife1 > > + - description: ife2 > > + - description: ife3 > > + - description: top > > + > > + ports: > > + $ref: /schemas/graph.yaml#/properties/ports > > + > > On this level of indentation: > additionalProperties: false No, because then #size-cells/#address-cells won't be allowed. Rob