Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2830372rdh; Wed, 27 Sep 2023 14:13:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAXOWt+tJV68m+knadODRp1SSfsaXzpDRAUb5adUzukiZL+0MsSjjnRUFHxudpmf52a9lu X-Received: by 2002:a05:6a20:42a9:b0:14e:2208:d62f with SMTP id o41-20020a056a2042a900b0014e2208d62fmr5416641pzj.22.1695849182584; Wed, 27 Sep 2023 14:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695849182; cv=none; d=google.com; s=arc-20160816; b=sFlRqjJMtpRtZHigavY8QnNWx2cWZpvycTPvtdKWv5zgGFwlRvFCh1koTL0ljX+imp 7bC+vgoiG6Eokq+Q06B222m5wSQ20iBp1P1zxMecdgtBTnMvZHOX1fypobHl+M1QDhkf oyrb7QmHCYnJhnZtTCNTk20CAjl6OGCpPbmKKadzx7AVcfUfyGAGn80kFmHmLvoPB5Jh /kjQDqXcPpElYXm4dJClt6q8QkZR0zOzNeG8xTBrFeHjM6COK5t5RMyQsQzMTEZz2xc0 G0GpcS7botsruDgpZj7MQneRSNLypP9xTZ7+CA+5N7H7KQNkprbGZa/XkbXM6LHVAG8H vo+A== 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:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=7yB8NpWtK7dweb2CR9jUCltaouL0nwx9ysquf7k9XsU=; fh=h6aCnuc8iI8jiOS6C4n048uZgGMHrrr3H0O45Rt3wZw=; b=bc5NYi7jiSd3l+dp1BpdOBCRJI/pWkrkr6usJ8dMOJ3SzVr6PMP+b1mvObZRmGJI54 lmTL3fmQd97iFWi6q6a0TAGS6I3m50tayawAL79SItGJs/RKXpV18VFL/VOKWtDlJztr 33edBYl0ShY5MvBt74EQ96T4U3woPU0vtivee9ZuAyHCwODkziv0YRRJKEXlqdzlyQXi o8UQvWCEIxRGj7axmhhhSi261ow/qlNn9PzaQlBOX8etIPB1e1mgB9b1ASrmkFBX05oU S2Q7JJxgcWrleudERqyEOX/9R/mjMP5nDLM5kVKiUa3Wl9WVgVAN8mBYjr6uv75R+bBh sWjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=6Mqffwuz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k5-20020a634b45000000b00578b8d202b0si16370618pgl.536.2023.09.27.14.13.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 14:13:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=6Mqffwuz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id AA401832C9DE; Wed, 27 Sep 2023 04:04:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231211AbjI0LED (ORCPT + 99 others); Wed, 27 Sep 2023 07:04:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjI0LEC (ORCPT ); Wed, 27 Sep 2023 07:04:02 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA471FC; Wed, 27 Sep 2023 04:04:00 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 38RAqtcH007388; Wed, 27 Sep 2023 13:03:21 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=selector1; bh=7yB8NpWtK7dweb2CR9jUC ltaouL0nwx9ysquf7k9XsU=; b=6MqffwuzRrn1OHJG57ZKwmRGL7DSWZNV0eqiA RW5LVYc4K10Avm+4T0WRZ266snMYvpY29q3RyyisXXHugzrt5z3834lRld5qNTqb vD1BcP4hWKj3A9aNo9JuT3MPsRzb2DpOO7kgSFxxD6zd+6A4k8g3fSdrUxBGoEdo n3OKi7kXLuBSSMWAOLJIGMzlmYMQhuYWPVO2aDFDbdtj/hEed1djI67C7QjPXe1E YLHDkM+7lM69cmYKd5E0BgP33kyDy8fMgmfo62xvfVja1yYetDAh20ncaA8x2WZm xBJfD8USXkIe90IRKzDWBsWaJfADp2qFdwtlOMFpzjUFLhYKQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3t9pwd9thf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Sep 2023 13:03:21 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E8259100058; Wed, 27 Sep 2023 13:03:19 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D736C217B6C; Wed, 27 Sep 2023 13:03:19 +0200 (CEST) Received: from gnbcxd0016.gnb.st.com (10.129.178.213) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 27 Sep 2023 13:03:19 +0200 Date: Wed, 27 Sep 2023 13:03:11 +0200 From: Alain Volmat To: Laurent Pinchart CC: Hugues Fruchet , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Russell King , Philipp Zabel , Sakari Ailus , Dan Scally , , , , , Subject: Re: [PATCH v3 4/5] ARM: dts: stm32: add dcmipp support to stm32mp135 Message-ID: <20230927110311.GA834168@gnbcxd0016.gnb.st.com> Mail-Followup-To: Laurent Pinchart , 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 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> <20230925114332.GC8583@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230925114332.GC8583@pendragon.ideasonboard.com> X-Disclaimer: ce message est personnel / this message is private X-Originating-IP: [10.129.178.213] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-27_06,2023-09-27_01,2023-05-22_02 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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 27 Sep 2023 04:04:20 -0700 (PDT) Hi Laurent, On Mon, Sep 25, 2023 at 02:43:32PM +0300, Laurent Pinchart wrote: > 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. Ok, thanks for pointer. Understood, I add an empty port child within the node. I've also covered the points of your review of the v3 and post now the v4. > > > > > > With this fixed, > > > > > > > > > > Reviewed-by: Laurent Pinchart > > > > > > > > > > > + }; > > > > > > }; > > > > > > }; > > -- > Regards, > > Laurent Pinchart