Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2069226rdh; Tue, 26 Sep 2023 11:18:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFgvJB82wsqf5MtRyQQ4Q/8Qk1gVMURGBS3f2cjYMqYgWjGNKobaapJPTt3DA6R7UO21gJF X-Received: by 2002:a05:6a20:a110:b0:111:a0e5:d2b7 with SMTP id q16-20020a056a20a11000b00111a0e5d2b7mr13715807pzk.4.1695752337364; Tue, 26 Sep 2023 11:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695752337; cv=none; d=google.com; s=arc-20160816; b=Te7IwoS7Z9Q1bx/0uBKSGowFAebXRh2eNhmy0Jrcb97S/CmQ7CKrUSWih7WOneHJ7E qt+VicmPmyuT/pjqJQBuEllVDadTkDQ+CwAPsLCz9VLGonRqXZKHsnzNHoIEpNvn3EHl nHSY9hSjbOr1rHBeSkBKrmII7oEJNj4duIO9qqCZ1lLOivGENo8O+hIw7myZYhTnc29j WsClsNSt18oalZiVujzRBhCux92y2zqdJPBzOwCrmHHjh/hU0ssIVPOHfdmC7yrGClqc zU44w7FqWSBi/HqoOYmBanwDMTbva5IH+322lkMhkX1OpJ9PbnCyC9gQFMADSlyBJa29 N72A== 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=yVfx1oYDoM8wuRQLU2eLhI0rz8v2fWNagdVZXKaj86o=; fh=rwmPQrlUsftH7z+iYFgQ8LgARApSiV8WOS8mVSgU7VI=; b=nVXzBX7CYOOSiKiyAMH2Q5JSfAd1MThNxArghqsdbjU2Dmjz8fTSj9DCGKteLyxP7w l0xcfA/g/sfT6JHhLu0rwMAvwn7pzJa+UupN5ro/3E9SCV7YQjAP3WOlwL6JnnslHwFY +iHRU758dxjo5RxDONG8o4vMKyfPoJhdLsiFDBHHSWFJIEQofil4SGwRmq/u7XmctGwa xVKc+jJ4um48CiS95DPgVwbrEEYlmIa7buJ9pOZplpLvs9G1KMXOWxShSBamKFrjmWZQ r+pwRmPUxh1SiBk13iy8meMAgdUScdlZldHpdiZAzxmCtLcdrR/Epen9tHlDk4sVrCJP qMCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=kdMLdujF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id lw16-20020a17090b181000b00263860e1f4csi7612743pjb.16.2023.09.26.11.18.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 11:18:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=kdMLdujF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 1A1B4804C21C; Mon, 25 Sep 2023 04:43:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229456AbjIYLnc (ORCPT + 99 others); Mon, 25 Sep 2023 07:43:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbjIYLnb (ORCPT ); Mon, 25 Sep 2023 07:43:31 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90B12101; Mon, 25 Sep 2023 04:43:24 -0700 (PDT) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id EC3322C6; Mon, 25 Sep 2023 13:41:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1695642102; bh=7drmX4x0568COQ3pmzKZZ5GBj/TdmLP8mLIm57UxoTk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kdMLdujFa+CaEAZgea7ohvBwyIGATOAD46fquHT85pDVPg8wfFfhb0E4VPru3Eiky TP6THd4p+RNmisuYDj1FxIsv93yIne1grVH2+/odWIVVe45WP0Hs9IVJPHlO4+eVUt RB4GmJgmkL1P+o0QWWp8EhRUF7D7dboQvBwuSg70= Date: Mon, 25 Sep 2023 14:43:32 +0300 From: Laurent Pinchart To: Alain Volmat Cc: Hugues Fruchet , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Russell King , Philipp Zabel , Sakari Ailus , Dan Scally , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 4/5] ARM: dts: stm32: add dcmipp support to stm32mp135 Message-ID: <20230925114332.GC8583@pendragon.ideasonboard.com> References: <20230901155732.252436-1-alain.volmat@foss.st.com> <20230901155732.252436-5-alain.volmat@foss.st.com> <20230905090258.GC31594@pendragon.ideasonboard.com> <20230922160227.GA608616@gnbcxd0016.gnb.st.com> <20230922160818.GJ19112@pendragon.ideasonboard.com> <20230925113542.GA646870@gnbcxd0016.gnb.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230925113542.GA646870@gnbcxd0016.gnb.st.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 04:43:38 -0700 (PDT) On Mon, Sep 25, 2023 at 01:35:42PM +0200, Alain Volmat wrote: > On Fri, Sep 22, 2023 at 07:08:18PM +0300, Laurent Pinchart wrote: > > On Fri, Sep 22, 2023 at 06:02:27PM +0200, Alain Volmat wrote: > > > On Tue, Sep 05, 2023 at 12:02:58PM +0300, Laurent Pinchart wrote: > > > > On Fri, Sep 01, 2023 at 05:57:23PM +0200, Alain Volmat wrote: > > > > > From: Hugues Fruchet > > > > > > > > > > Add dcmipp support to STM32MP135. > > > > > > > > > > Signed-off-by: Hugues Fruchet > > > > > Signed-off-by: Alain Volmat > > > > > --- > > > > > arch/arm/boot/dts/st/stm32mp135.dtsi | 8 ++++++++ > > > > > 1 file changed, 8 insertions(+) > > > > > > > > > > diff --git a/arch/arm/boot/dts/st/stm32mp135.dtsi b/arch/arm/boot/dts/st/stm32mp135.dtsi > > > > > index abf2acd37b4e..beee9ec7ed0d 100644 > > > > > --- a/arch/arm/boot/dts/st/stm32mp135.dtsi > > > > > +++ b/arch/arm/boot/dts/st/stm32mp135.dtsi > > > > > @@ -8,5 +8,13 @@ > > > > > > > > > > / { > > > > > soc { > > > > > + dcmipp: dcmipp@5a000000 { > > > > > + compatible = "st,stm32mp13-dcmipp"; > > > > > + reg = <0x5a000000 0x400>; > > > > > + interrupts = ; > > > > > + resets = <&rcc DCMIPP_R>; > > > > > + clocks = <&rcc DCMIPP_K>; > > > > > + status = "disabled"; > > > > > > > > This needs a port, as it's marked as required in the bindings. You can > > > > leave the endpoint out. > > > > > > I first agreed with your comment but, having done the check (make > > > CHECK_DTBS=y ...) this doesn't seem to be required because the dcmipp > > > node is kept disabled within our dtsi. > > > > Interesting. > > > > > (it is later on only enabled in dts file which as well have the port > > > property). > > > Indeed, to check this I changed it to okay and DTC_CHK complained about > > > missing port property. > > > > > > Hence, I'd think that port doesn't have to be added in this dtsi file. > > > Would you agree with that ? > > > > I still think the port belongs here, as it's an intrinsic property of > > the dcmipp, not a property of the board. Does it cause any issue to add > > a port in the .dtsi ? > > I agree that the port refers more to the SoC (hence dtsi) rather than > the board (hence dts), however I am wondering if this is really > something usually done. I had a look at other dtsi with node related > to similar kind of devices and it seems to me that there is no such case > of a dtsi with a port having nothing in it. Did I missed something ? Look at the csi@32e4000 and csi@32e5000 nodes in arch/arm64/boot/dts/freescale/imx8mp.dtsi for instance. There are quite a few other examples. > > > > With this fixed, > > > > > > > > Reviewed-by: Laurent Pinchart > > > > > > > > > + }; > > > > > }; > > > > > }; -- Regards, Laurent Pinchart