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 AA637ECAAA1 for ; Mon, 31 Oct 2022 20:54:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229891AbiJaUyn (ORCPT ); Mon, 31 Oct 2022 16:54:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229782AbiJaUym (ORCPT ); Mon, 31 Oct 2022 16:54:42 -0400 Received: from mail-oa1-f53.google.com (mail-oa1-f53.google.com [209.85.160.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 311C11114C; Mon, 31 Oct 2022 13:54:42 -0700 (PDT) Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-13ae8117023so14789564fac.9; Mon, 31 Oct 2022 13:54:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LlLgdjn9D1YIceaBfkfEVV7Xu0o6/DdkHOK6FWg7DXs=; b=i8XXyz0ljTRKzFG7iRTffARXCJXHYjF5fbW/hbKeBn34VjkuJUTmBOV6bRgchtUZjq cQH8gqaSXIrEHDsGG9CrOZ3vA6lDI96sTIcjQk9swpXhsCDbtfKtcAq32f6EEiHIkWlN 7XholdPK28twvX0CZ09APhCe5qcjdi3C4krdqjI7catmb1o7fWAFeA02iSjxEiOrNL4H FQ82LfmTwMw8dON7NKdTS1cZuM6H84DdVl8ECb04qcZ8iEvQZSVideZ4rxz6zbLIxdT3 g3nP/nlp6D/XmkfJizyOprFBeSOD2y9PG9qv1pCwTim9eQPti9ZmOBk0MmBY1Xnv6pu6 yAgQ== X-Gm-Message-State: ACrzQf0ONnXrYs9CygPk+FvUDLiJJuvLzR1QZqn8c5npRXanTrMnJ2Zn 9/E276YLzSY9EqVTqBvntw== X-Google-Smtp-Source: AMsMyM7vTUsE4Eu/4WH4ujPZbj5pkakgbRyAll6n+tNS+7ne5KKzHQQXzNKYvu6fsABenaccKwfl4Q== X-Received: by 2002:a05:6870:a7a5:b0:125:76da:1bc1 with SMTP id x37-20020a056870a7a500b0012576da1bc1mr19209128oao.272.1667249681241; Mon, 31 Oct 2022 13:54:41 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id d94-20020a9d2967000000b0066b9a6bf3bcsm3152995otb.12.2022.10.31.13.54.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 13:54:40 -0700 (PDT) Received: (nullmailer pid 3504734 invoked by uid 1000); Mon, 31 Oct 2022 20:54:42 -0000 Date: Mon, 31 Oct 2022 15:54:42 -0500 From: Rob Herring To: Miquel Raynal Cc: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Pratyush Yadav , Michael Walle , linux-mtd@lists.infradead.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Chen-Yu Tsai , Naga Sureshkumar Relli , Linus Walleij , Manivannan Sadhasivam , Maxime Ripard , Sureshkumar Relli , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-arm-msm@vger.kernel.org, Thomas Petazzoni Subject: Re: [PATCH 05/12] dt-bindings: mtd: onenand: Mention the expected node name Message-ID: <20221031205442.GA3307775-robh@kernel.org> References: <20221028235933.934850-1-miquel.raynal@bootlin.com> <20221028235933.934850-6-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221028235933.934850-6-miquel.raynal@bootlin.com> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Sat, Oct 29, 2022 at 01:59:26AM +0200, Miquel Raynal wrote: > The chip node name in this driver is expected to be different and should > be prefixed with onenand instead of the regular "flash" string, so > mention it. > > Signed-off-by: Miquel Raynal > --- > Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml b/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml > index a953f7397c40..8a79ad300216 100644 > --- a/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml > +++ b/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml > @@ -15,6 +15,9 @@ description: > as child nodes of the GPMC controller. > > properties: > + $nodename: > + pattern: "^onenand@[0-9],[0,9]$" I don't think it is worth enforcing node names that we haven't defined in the spec. Wouldn't 'nand-controller' be appropriate? > + > compatible: > const: ti,omap2-onenand > > -- > 2.34.1 > > 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 6F6BAFA3741 for ; Mon, 31 Oct 2022 20:55: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=pexoo7e3pHGaFo1/3WjvJUaZGkv8KnZb0bG2xoTiQWQ=; b=HNTcpFUIIOOZvn 1TQHyzNJgAmNY0e2NRHITrYZDu0EMAHyJtntD1GNOrxLK2sEfLFA6tQSwwFpLb+2MSX5mGEdAFH0m ctKzdA7AHfYJ69gl06iRxajcvEuDtjSJ8sRGNME1H78X+EE8O6ptbp5hWDTNk7p1XQ5sp7fjOk0/K pDM/Gxv0vnufRte5hX38VIytM1Ckg7hvgxA1HDsQNJtL/4GwfD0omuYwuomjRKi4Cp9N1o4hqi7jG MmQys7vrESOKr3hRoLmZLbvhzYfa48yeM0Bon//KpEUnpUhO15yXGB9TQ9/2+xnnL1k00XBdGkG9U 4M7RYo9g/oqF4+iaPLCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opbny-00FLGt-Ha; Mon, 31 Oct 2022 20:54:46 +0000 Received: from mail-oa1-f43.google.com ([209.85.160.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1opbnv-00FLGI-N4; Mon, 31 Oct 2022 20:54:44 +0000 Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-13bd2aea61bso14862390fac.0; Mon, 31 Oct 2022 13:54:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LlLgdjn9D1YIceaBfkfEVV7Xu0o6/DdkHOK6FWg7DXs=; b=ylMSyHac8BNBGM5oNlt32lfVAMVGD90oJVDatcAi+sv3FnllTYxUerRiEcUPAJ7Kd6 5PSInPaZz47uLhAiGLGZo9PH4Hw8LZhst6tCaP864s5glhKUjVfN1cIhgGW7uN525ZXI kvli1DAEeVX1Ovkr3MPEwrjplRDNN2bY+pz13uSVyO+AeTTri5jEA1jPwONqtD9OwjAp qGHFanuwaktebaxy8FiWtlRipuoO5id/OaE06Oon/NARGrUs6g4G/IsaE7ZRI4gSFgBp XF4weZocxVw7z+stWwMYI6+5oHM6EgGnspumel1PosTliUxVahxsfLtCYgTbiDREb9NO 4ePQ== X-Gm-Message-State: ACrzQf1SYg3kFgQSmdmCxIJD0KDQNIBy43c3wO+xc5z3L8UKgaDXczec qJIagyznaGnvgN8AEVYCsw== X-Google-Smtp-Source: AMsMyM7vTUsE4Eu/4WH4ujPZbj5pkakgbRyAll6n+tNS+7ne5KKzHQQXzNKYvu6fsABenaccKwfl4Q== X-Received: by 2002:a05:6870:a7a5:b0:125:76da:1bc1 with SMTP id x37-20020a056870a7a500b0012576da1bc1mr19209128oao.272.1667249681241; Mon, 31 Oct 2022 13:54:41 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id d94-20020a9d2967000000b0066b9a6bf3bcsm3152995otb.12.2022.10.31.13.54.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 13:54:40 -0700 (PDT) Received: (nullmailer pid 3504734 invoked by uid 1000); Mon, 31 Oct 2022 20:54:42 -0000 Date: Mon, 31 Oct 2022 15:54:42 -0500 From: Rob Herring To: Miquel Raynal Cc: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Pratyush Yadav , Michael Walle , linux-mtd@lists.infradead.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Chen-Yu Tsai , Naga Sureshkumar Relli , Linus Walleij , Manivannan Sadhasivam , Maxime Ripard , Sureshkumar Relli , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-arm-msm@vger.kernel.org, Thomas Petazzoni Subject: Re: [PATCH 05/12] dt-bindings: mtd: onenand: Mention the expected node name Message-ID: <20221031205442.GA3307775-robh@kernel.org> References: <20221028235933.934850-1-miquel.raynal@bootlin.com> <20221028235933.934850-6-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221028235933.934850-6-miquel.raynal@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221031_135443_769735_9FEDB84A X-CRM114-Status: GOOD ( 17.32 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Sat, Oct 29, 2022 at 01:59:26AM +0200, Miquel Raynal wrote: > The chip node name in this driver is expected to be different and should > be prefixed with onenand instead of the regular "flash" string, so > mention it. > > Signed-off-by: Miquel Raynal > --- > Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml b/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml > index a953f7397c40..8a79ad300216 100644 > --- a/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml > +++ b/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml > @@ -15,6 +15,9 @@ description: > as child nodes of the GPMC controller. > > properties: > + $nodename: > + pattern: "^onenand@[0-9],[0,9]$" I don't think it is worth enforcing node names that we haven't defined in the spec. Wouldn't 'nand-controller' be appropriate? > + > compatible: > const: ti,omap2-onenand > > -- > 2.34.1 > > ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ 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 1EBBCFA3746 for ; Mon, 31 Oct 2022 20:55:47 +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=4h9FxR3PV/Vbp9cSCou/q5L6X2PlJ/MofP4goIcLMIc=; b=sj0QoCTzv4Lq6d hij/I7kO2XQyQT+XQYl5S7UVSo81xEHG6L+faA0oFIQh6crJKmwFKzXluHstyoq1c51kRkTZ6mhiy 9lQA6QKnM7oxIT2Gq+5Shdq+L9mIaqc8ZCfUtAqDssPagrh3xINFZ1omWa1JfCQq2Nyvi4cQJaegv rJWTBUaffIxrvzIXtJVpwrOALuYYvaLYrT5Kcxf7SEJuYXmPzg49Ux3Rroz4wutt+KkvK6J4KN4Uw qUetoE6eU7eiW80L3UbzY8PY0+lXFm3sgYbBArMZFH7YXg2oQnAn9yMh/5MTMXRKXVkg4HPsbqFWS nf/7O9rdH//GR6JA9KdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opbo0-00FLH4-Do; Mon, 31 Oct 2022 20:54:48 +0000 Received: from mail-oa1-f43.google.com ([209.85.160.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1opbnv-00FLGI-N4; Mon, 31 Oct 2022 20:54:44 +0000 Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-13bd2aea61bso14862390fac.0; Mon, 31 Oct 2022 13:54:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LlLgdjn9D1YIceaBfkfEVV7Xu0o6/DdkHOK6FWg7DXs=; b=ylMSyHac8BNBGM5oNlt32lfVAMVGD90oJVDatcAi+sv3FnllTYxUerRiEcUPAJ7Kd6 5PSInPaZz47uLhAiGLGZo9PH4Hw8LZhst6tCaP864s5glhKUjVfN1cIhgGW7uN525ZXI kvli1DAEeVX1Ovkr3MPEwrjplRDNN2bY+pz13uSVyO+AeTTri5jEA1jPwONqtD9OwjAp qGHFanuwaktebaxy8FiWtlRipuoO5id/OaE06Oon/NARGrUs6g4G/IsaE7ZRI4gSFgBp XF4weZocxVw7z+stWwMYI6+5oHM6EgGnspumel1PosTliUxVahxsfLtCYgTbiDREb9NO 4ePQ== X-Gm-Message-State: ACrzQf1SYg3kFgQSmdmCxIJD0KDQNIBy43c3wO+xc5z3L8UKgaDXczec qJIagyznaGnvgN8AEVYCsw== X-Google-Smtp-Source: AMsMyM7vTUsE4Eu/4WH4ujPZbj5pkakgbRyAll6n+tNS+7ne5KKzHQQXzNKYvu6fsABenaccKwfl4Q== X-Received: by 2002:a05:6870:a7a5:b0:125:76da:1bc1 with SMTP id x37-20020a056870a7a500b0012576da1bc1mr19209128oao.272.1667249681241; Mon, 31 Oct 2022 13:54:41 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id d94-20020a9d2967000000b0066b9a6bf3bcsm3152995otb.12.2022.10.31.13.54.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 13:54:40 -0700 (PDT) Received: (nullmailer pid 3504734 invoked by uid 1000); Mon, 31 Oct 2022 20:54:42 -0000 Date: Mon, 31 Oct 2022 15:54:42 -0500 From: Rob Herring To: Miquel Raynal Cc: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Pratyush Yadav , Michael Walle , linux-mtd@lists.infradead.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Chen-Yu Tsai , Naga Sureshkumar Relli , Linus Walleij , Manivannan Sadhasivam , Maxime Ripard , Sureshkumar Relli , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-arm-msm@vger.kernel.org, Thomas Petazzoni Subject: Re: [PATCH 05/12] dt-bindings: mtd: onenand: Mention the expected node name Message-ID: <20221031205442.GA3307775-robh@kernel.org> References: <20221028235933.934850-1-miquel.raynal@bootlin.com> <20221028235933.934850-6-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221028235933.934850-6-miquel.raynal@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221031_135443_769735_9FEDB84A X-CRM114-Status: GOOD ( 17.32 ) 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 Sat, Oct 29, 2022 at 01:59:26AM +0200, Miquel Raynal wrote: > The chip node name in this driver is expected to be different and should > be prefixed with onenand instead of the regular "flash" string, so > mention it. > > Signed-off-by: Miquel Raynal > --- > Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml b/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml > index a953f7397c40..8a79ad300216 100644 > --- a/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml > +++ b/Documentation/devicetree/bindings/mtd/ti,gpmc-onenand.yaml > @@ -15,6 +15,9 @@ description: > as child nodes of the GPMC controller. > > properties: > + $nodename: > + pattern: "^onenand@[0-9],[0,9]$" I don't think it is worth enforcing node names that we haven't defined in the spec. Wouldn't 'nand-controller' be appropriate? > + > compatible: > const: ti,omap2-onenand > > -- > 2.34.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel