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 33CC8CA0FE4 for ; Fri, 1 Sep 2023 14:44:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DNrlTRuhZ2JM4B9t3rg3S9sm3qvl5UO/AxxY6uWO7EQ=; b=0frMqTeAUD317Z mB1KPVe/gJak6AlCIYffcY3cErmxwt9Dx/dFy3ncvh/7uwEzLe93aPiRIS2NgvN5dDSp8dr2idoiG S7cNc3Ig9qWS7D1MScLCGbf9/5ek84QxXD60v0j8lajDD1OFesAPkJR0cXV7zU7RgQFOh9HCUh8sv 1S+MgQlcuuLyLJVOCaAoV8wk27E9gnoEjqOUifIZr7VqDqqtZUaGQZqbsfLVMVUL11iQJZZzpwtsx jTYctSw9eShY4qOJ5NLTXiSk06G0kIN+JiipKlJf5YQGGbyDjB4S1NhI/JAdZi7oikSPrxSTDTegH 3vSi4clf31TgV2p+2foA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qc5NF-0002uN-0V; Fri, 01 Sep 2023 14:43:49 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qc5NB-0002tY-24 for linux-arm-kernel@lists.infradead.org; Fri, 01 Sep 2023 14:43:47 +0000 Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 381BQwb1013201; Fri, 1 Sep 2023 16:43:30 +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=hY3r0yZOfH3NsDgAjFUEN Juf3sBAYxJNoDPD9+XNP58=; b=o3jP3SQOJ9OfSWj5XFoIi4P5f2xBBhpnHCC1K 1GjqKoFLDdhlh79rCdk7SS3b//SzHsAFtoTF4A61cuwVpa/pkAmAAyf4pnOUvVol viUQV8nE7e/4/Bk9t0dmNeiGi0sl4DPZbhUUHwuxEwQY5Jc3uR4vSDnyxe3TOmQK ruTXHx62xJx032cH9n7E2ovexQ0Y+gzmDZB1smvoQFHdWkg3/Wh2hPQ8lM+caQAz UcXCPgHRH+CpV8AFQ7XOPmqgpKvC0mruyXdtMxsHQm50n8O5vlqXcbX4Jgjtj4i8 I5zMDNGrP0KhqgM+Lj/7yKnck61dB68EpIE0IwDm5GiFEiM8g== 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 3sq6tg2bmw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Sep 2023 16:43:30 +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 5E72D100056; Fri, 1 Sep 2023 16:43:27 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5129D236942; Fri, 1 Sep 2023 16:43:27 +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.21; Fri, 1 Sep 2023 16:43:26 +0200 Date: Fri, 1 Sep 2023 16:43:18 +0200 From: Alain Volmat To: Conor Dooley CC: Hugues Fruchet , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Sakari Ailus , Dan Scally , , , , , Subject: Re: [PATCH v2 1/5] dt-bindings: media: add bindings for dcmipp driver Message-ID: <20230901144318.GA248638@gnbcxd0016.gnb.st.com> Mail-Followup-To: Conor Dooley , Hugues Fruchet , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , 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: <20230829132357.192535-1-alain.volmat@foss.st.com> <20230829132357.192535-2-alain.volmat@foss.st.com> <20230829-juror-decathlon-f7b252a330bf@spud> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230829-juror-decathlon-f7b252a330bf@spud> 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.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-01_12,2023-08-31_01,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230901_074345_993330_B66D7313 X-CRM114-Status: GOOD ( 21.80 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Conor, thanks for the review. I've taken into account your comment and will push this into the v3. On Tue, Aug 29, 2023 at 04:00:06PM +0100, Conor Dooley wrote: > Hey, > > On Tue, Aug 29, 2023 at 03:23:45PM +0200, Alain Volmat wrote: > > Add the yaml binding for the DCMIPP driver. > > Please drop all mentions of drivers, bindings are for hardware. Ok > > > > > Signed-off-by: Alain Volmat > > --- > > .../bindings/media/st,stm32-dcmipp.yaml | 95 +++++++++++++++++++ > > 1 file changed, 95 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml > > > > diff --git a/Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml b/Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml > > new file mode 100644 > > index 000000000000..63f03a1c42b6 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml > > @@ -0,0 +1,95 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/media/st,stm32-dcmipp.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: STMicroelectronics STM32 DCMIPP Digital Camera Memory Interface Pixel Processor binding > > s/binding// to appease the bot. Ok > > > + > > +maintainers: > > + - Hugues Fruchet > > + - Alain Volmat > > + > > +properties: > > + compatible: > > + const: st,stm32mp13-dcmipp > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + maxItems: 1 > > + > > + clocks: > > + maxItems: 1 > > + > > + clock-names: > > + items: > > + - const: kclk > > Can drop the items: here since you only have one. The name is also > pretty pointless when you only have one... Ok, I removed clock-names (from required as well). > > > + > > + resets: > > + maxItems: 1 > > + > > + port: > > + $ref: /schemas/graph.yaml#/$defs/port-base > > + unevaluatedProperties: false > > + description: > > + DCMIPP supports a single port node with parallel bus. > > + > > + properties: > > + endpoint: > > + $ref: video-interfaces.yaml# > > + unevaluatedProperties: false > > + > > + properties: > > + bus-type: > > + enum: [5, 6] > > + default: 5 > > + > > + bus-width: > > + enum: [8, 10, 12, 14] > > + default: 8 > > + > > + pclk-sample: true > > + hsync-active: true > > + vsync-active: true > > + > > + required: > > + - pclk-sample > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + - clocks > > + - clock-names > > + - resets > > + - port > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + #include > > + #include > > + dcmipp: dcmipp@5a000000 { > > Neither of the labels here are used AFAICT, please remove them. Done Regards, Alain _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel