Message ID | 20221104164718.1290859-8-miquel.raynal@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp518800wru; Fri, 4 Nov 2022 09:49:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM62wn+DCgOAKiR4/nBBhuWPmmt9mp2L4h2yLK4HBMKyTiY5S55WYPhaIpP3dmXv6FePfrSa X-Received: by 2002:a50:d0c4:0:b0:464:14ed:834 with SMTP id g4-20020a50d0c4000000b0046414ed0834mr13859343edf.174.1667580572390; Fri, 04 Nov 2022 09:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667580572; cv=none; d=google.com; s=arc-20160816; b=MKSopu1qDO5H9ae22YTBzNQPC8zSGcKKGa34hYL8iuom4rrmqWseT3OMvQmU7Ut1pz MeJHKBFdTzPaGviUnV0UOshcIj3ycpK7/12kQJC9t1GF4l6q8Qe7xDrQ/1LffAxV/kx9 D2aVOyQ9iUdueQ/pNz5ovC8RjwwJ6Mr6kd1d93JBaKiriqcI5J8AqnsO4IB1+Mtxzvbx yNKfVN9TUkTW1mnp3G7DoWDYaUuZqeekwT6FUgBe2LpjzQWsS+oQ8gYHzObTcPYzdNI5 Kh7GcpzzgJP4BvlMEDaoA+hmvWm9AElJJiIZ5MJYG8PsVhkzBenyUELMaJIDutWbOEG+ HFEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uhHL581pVZ78rpGpusp3WI56Gx3E7sF7B6MwrnAS96k=; b=EUxrT88cG5F3gQJl+HN6UX71RlozQvEl1ONUXicazXKyNr5fa+Hj5HEFmBoY8wdYVA /DAX3dVAoWiH4C7g603P/52mXED3jaLqZPUph6qc7VdcUW5nbmVoefiACamA4oeDTEnk mO5nPOhpGEd3SJNDOdWQGDjD/M1wxJWkFXOYUm1PO5VjnIIUvg/F9nBH5OyZryMPYtjy Q/iGL191q5zDZNMaUs25dDZmdyZXK6KQAduMgpfcBgC06/aHqwGk29GkjKh+HTz1SJeH Hfx8fs3KNbVBhlTHA6j3fAGLb5tH5/nkQAW5IKSu0fZifvsrTGD/KiqreiVpA6/tWjEh yk0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jAD8arav; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f17-20020a50d551000000b004588af9ea19si5482507edj.166.2022.11.04.09.49.07; Fri, 04 Nov 2022 09:49:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jAD8arav; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232043AbiKDQsF (ORCPT <rfc822;jimliu8233@gmail.com> + 99 others); Fri, 4 Nov 2022 12:48:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231680AbiKDQrf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Nov 2022 12:47:35 -0400 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::222]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AB8840445; Fri, 4 Nov 2022 09:47:29 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id DA7B140010; Fri, 4 Nov 2022 16:47:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667580447; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uhHL581pVZ78rpGpusp3WI56Gx3E7sF7B6MwrnAS96k=; b=jAD8aravNoAwXsGAU97Rgz+cSv3XEdMGLJolk0UC8/9ErrXVaLMWU+wmG3uBBwH6r/4s2u 31ioeY8+B15tmaRyVcsv5CvXQCCYNj8FRN5CUpZf6jqJAwb+MO06NTuDr0SXM8kKR4ki+5 t/Gy64wq6WPVEWeLBaqpp4tOuUn2+/1Ukg+Sb21voBtE8hQ0pD+kJCVTS82/4+Ds7xId1E jtaWTjOv9AdVZAXeZy+HDTKFIklFqBvUiDAGnFyns9474rfnKOfxZGTbn7WWd4sT4aDg+z MzDIHE8V9qWahZO0ZMbbU71vrLlYJoT/gsceTAmNQUB8Amf34RX6ep7QYgOPOg== From: Miquel Raynal <miquel.raynal@bootlin.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, devicetree@vger.kernel.org Cc: Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Tudor Ambarus <Tudor.Ambarus@microchip.com>, Pratyush Yadav <p.yadav@ti.com>, Michael Walle <michael@walle.cc>, <linux-mtd@lists.infradead.org>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, <linux-kernel@vger.kernel.org>, Miquel Raynal <miquel.raynal@bootlin.com> Subject: [PATCH v2 07/17] dt-bindings: mtd: onenand: Mention the expected node name Date: Fri, 4 Nov 2022 17:47:08 +0100 Message-Id: <20221104164718.1290859-8-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221104164718.1290859-1-miquel.raynal@bootlin.com> References: <20221104164718.1290859-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748584966515705289?= X-GMAIL-MSGID: =?utf-8?q?1748584966515705289?= |
Series |
Improve MTD bindings
|
|
Commit Message
Miquel Raynal
Nov. 4, 2022, 4:47 p.m. UTC
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 <miquel.raynal@bootlin.com>
---
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]$" + compatible: const: ti,omap2-onenand