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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B38ABC433F5 for ; Fri, 21 Jan 2022 05:43:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378540AbiAUFnZ (ORCPT ); Fri, 21 Jan 2022 00:43:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233558AbiAUFnY (ORCPT ); Fri, 21 Jan 2022 00:43:24 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C791C061574 for ; Thu, 20 Jan 2022 21:43:24 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAmhg-00054s-96; Fri, 21 Jan 2022 06:43:16 +0100 Received: from ore by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1nAmhe-0005Kh-NF; Fri, 21 Jan 2022 06:43:14 +0100 Date: Fri, 21 Jan 2022 06:43:14 +0100 From: Oleksij Rempel To: Rob Herring Cc: Oleksij Rempel , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH] dt-bindings: i2c: imx: Make each example a separate entry Message-ID: <20220121054314.GA19904@pengutronix.de> References: <20220119015253.2437352-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220119015253.2437352-1-robh@kernel.org> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 06:41:46 up 41 days, 14:27, 46 users, load average: 0.29, 0.31, 0.18 User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 18, 2022 at 07:52:53PM -0600, Rob Herring wrote: > Each independent example should be a separate entry. This allows for > 'interrupts' to have different cell sizes. > > Signed-off-by: Rob Herring Reviewed-by: Oleksij Rempel Thank you! > --- > Documentation/devicetree/bindings/i2c/i2c-imx.yaml | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx.yaml > index c167958ae2a9..01720e338b4c 100644 > --- a/Documentation/devicetree/bindings/i2c/i2c-imx.yaml > +++ b/Documentation/devicetree/bindings/i2c/i2c-imx.yaml > @@ -88,9 +88,7 @@ unevaluatedProperties: false > examples: > - | > #include > - #include > - #include > - #include > + #include > > i2c@83fc4000 { > compatible = "fsl,imx51-i2c", "fsl,imx21-i2c"; > @@ -99,6 +97,9 @@ examples: > clocks = <&clks IMX5_CLK_I2C2_GATE>; > }; > > + - | > + #include > + > i2c@40066000 { > compatible = "fsl,vf610-i2c"; > reg = <0x40066000 0x1000>; > -- > 2.32.0 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | 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 0A6F6C433F5 for ; Fri, 21 Jan 2022 05:44:48 +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=uLzdO20fBw0+qFIPj29ufmc7Ey3nEkVaITjF3qZMmpY=; b=zarSRB0Qnf3mu/ d/pt74J41Ne7Gu/ZIxTRzUubHT/9x42axBEdaEPtLZruLeV2oTv6F37IiEAVN7irNDaLyBRXbHOzr 1LE5c8Lx49FAmXBFqAr8tLKCEoYEOus6nWea+eXtnz66GNFEzTACtce5u4rQcRZdXA1ldGKrEv9hj nM8RShm1PFYtbuWAOhnpQW2AIEIMCYRRKNRJelCYD5kizUxAYNPu/X4VFpW+RUVUsC9JW+8gWVX/u gbBYZv2S9hfwRzhctFCvMc+CKrN8OFFsAZ7Mpondy9O5GbrnwWjq/VaN+OaEDsAZXa7wZ6f2NK5E1 zPJ5eGt27IOLVaT+jJZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nAmhs-00DtlI-1x; Fri, 21 Jan 2022 05:43:28 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nAmhp-00Dtkp-0i for linux-arm-kernel@lists.infradead.org; Fri, 21 Jan 2022 05:43:26 +0000 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAmhg-00054s-96; Fri, 21 Jan 2022 06:43:16 +0100 Received: from ore by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1nAmhe-0005Kh-NF; Fri, 21 Jan 2022 06:43:14 +0100 Date: Fri, 21 Jan 2022 06:43:14 +0100 From: Oleksij Rempel To: Rob Herring Cc: Oleksij Rempel , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH] dt-bindings: i2c: imx: Make each example a separate entry Message-ID: <20220121054314.GA19904@pengutronix.de> References: <20220119015253.2437352-1-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220119015253.2437352-1-robh@kernel.org> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 06:41:46 up 41 days, 14:27, 46 users, load average: 0.29, 0.31, 0.18 User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220120_214325_105799_6D3F8B53 X-CRM114-Status: GOOD ( 23.20 ) 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 On Tue, Jan 18, 2022 at 07:52:53PM -0600, Rob Herring wrote: > Each independent example should be a separate entry. This allows for > 'interrupts' to have different cell sizes. > > Signed-off-by: Rob Herring Reviewed-by: Oleksij Rempel Thank you! > --- > Documentation/devicetree/bindings/i2c/i2c-imx.yaml | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx.yaml > index c167958ae2a9..01720e338b4c 100644 > --- a/Documentation/devicetree/bindings/i2c/i2c-imx.yaml > +++ b/Documentation/devicetree/bindings/i2c/i2c-imx.yaml > @@ -88,9 +88,7 @@ unevaluatedProperties: false > examples: > - | > #include > - #include > - #include > - #include > + #include > > i2c@83fc4000 { > compatible = "fsl,imx51-i2c", "fsl,imx21-i2c"; > @@ -99,6 +97,9 @@ examples: > clocks = <&clks IMX5_CLK_I2C2_GATE>; > }; > > + - | > + #include > + > i2c@40066000 { > compatible = "fsl,vf610-i2c"; > reg = <0x40066000 0x1000>; > -- > 2.32.0 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel