Message ID | 20221114090315.848208-4-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 l7csp2043169wru; Mon, 14 Nov 2022 01:05:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf5z9dq5d/0VJGXnzQzzFsgwIHOfWE/6JF2ibaFY25JaqcIby5qgfUZu+SvTLNXAh4we0xd0 X-Received: by 2002:a17:906:4417:b0:7ad:902c:cf11 with SMTP id x23-20020a170906441700b007ad902ccf11mr9770733ejo.582.1668416705951; Mon, 14 Nov 2022 01:05:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668416705; cv=none; d=google.com; s=arc-20160816; b=0dM4gzQ3Dwbsndj9S15NVF3yefeLN/TK1B3ptl4Fjx5mplRg5f+2dvPRZqkNaFM3b8 WxAXRN0r5mpmBh71RXNgd5X0huaMHyt1UAk5LA4t29kyOeFBdciV5zhBfs7wdCUd4zYZ 9WjsfOu224HgILrtRTN2ZwXT3OvdbmqoR2HrwwYj8l6U3Yz6ByP3QHbH9ERHS1liUpar fgpmhoI733IBzdadAKVfBLMFomNwV7tRL5mWCGnRd3lC2pF/KEa4vbSPzNywnISt1jlq QxK1wSeeYaUoVmx11df8Z8NICLFN7fPKEv7GwqZsGeiZTuQChYt4EyQHIlTSq4MUR6+P 3SxQ== 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=6Y3Ilf0k1Zb565CDODTPYfsRYtki95YJmPfK8ZRRt10=; b=yXbvnypC+hCMskSsaj2LAb49Rc/SozsEhjQ2d/GcYU+To/lA0uAfmGJ3GxUQvw2WQp 1ndFwYFj1Q82AF/lM7bA0eRng8ueHRRrNUaL5T+qHomMO5OM0mWncvAys7oJXUCkXHrx Hi2w4POO8fKQfE7KvaZoVtnzvPLfLIqXqBHXaaZkXRd7oJV9B05zQP4N9rBhXTTUzgdT 5BQJWJk/zb93oTEapT5Iyn37qdUDqBweBxY/6HQI2amMBP0BKPZA6Vl0FN/MhB2MeHP9 r+LghwJli2Jo8FKOCNeOkqAYVtuZey5BVJQTaF3trMglakwTPzY9g+VPz+cVDbm9mPyh o5cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=U5weO7ep; 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 e7-20020a170906504700b0077547abf08fsi6919923ejk.169.2022.11.14.01.04.38; Mon, 14 Nov 2022 01:05:05 -0800 (PST) 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=U5weO7ep; 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 S236770AbiKNJEF (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Mon, 14 Nov 2022 04:04:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236764AbiKNJDh (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 14 Nov 2022 04:03:37 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFD5938AF; Mon, 14 Nov 2022 01:03:28 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id E1669FF809; Mon, 14 Nov 2022 09:03:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668416606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6Y3Ilf0k1Zb565CDODTPYfsRYtki95YJmPfK8ZRRt10=; b=U5weO7ep3Ye7minqImiXDZllYYNsMWXY4DLWkB4nhJMCeQqZoElaOHaHYcvxN5QPLtxbid pQmuUpD18pj6+/GqBS9rBAeb4xVM1eOo1WFfCyduOnVskQy4Ok1MMfGcaYtRW5mttK2OoA pC/w9tJq6mHpS81V28oBmN4Hh78a75QzpDSVQ4tfo8CLD1b+JZ0aXzz0YBpA8WJfd0d1gq nKETdlV7TG6ZlSBDZCPQpZqQ5VJ9qfMbqTOgbGF/CKLRMdmHmL/ZfCmTjzGd87GaZ7i4Wt VBnr6ARRELUaIg6bbhNp1zVNgrw1U1DhlhI4qLK0lNhf66X6bH6RFdHheUE+Hg== 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 <pratyush@kernel.org>, Michael Walle <michael@walle.cc>, <linux-mtd@lists.infradead.org>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, <linux-kernel@vger.kernel.org>, Miquel Raynal <miquel.raynal@bootlin.com>, Rob Herring <robh@kernel.org> Subject: [PATCH v3 03/17] dt-bindings: mtd: nand-chip: Reference mtd.yaml Date: Mon, 14 Nov 2022 10:03:01 +0100 Message-Id: <20221114090315.848208-4-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221114090315.848208-1-miquel.raynal@bootlin.com> References: <20221114090315.848208-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 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?1749461715877858637?= X-GMAIL-MSGID: =?utf-8?q?1749461715877858637?= |
Series |
Improve MTD bindings
|
|
Commit Message
Miquel Raynal
Nov. 14, 2022, 9:03 a.m. UTC
A NAND chip is an MTD device. mtd.yaml already defines many useful and relevant properties, let's reference this file here to get access to these additional property definitions. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Rob Herring <robh@kernel.org> --- Documentation/devicetree/bindings/mtd/nand-chip.yaml | 3 +++ 1 file changed, 3 insertions(+)
Comments
On Mon, 2022-11-14 at 09:03:01 UTC, Miquel Raynal wrote: > A NAND chip is an MTD device. mtd.yaml already defines many useful and > relevant properties, let's reference this file here to get access to > these additional property definitions. > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > Acked-by: Rob Herring <robh@kernel.org> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next. Miquel
diff --git a/Documentation/devicetree/bindings/mtd/nand-chip.yaml b/Documentation/devicetree/bindings/mtd/nand-chip.yaml index 97ac3a3fbb52..8d5d2d3ef56b 100644 --- a/Documentation/devicetree/bindings/mtd/nand-chip.yaml +++ b/Documentation/devicetree/bindings/mtd/nand-chip.yaml @@ -9,6 +9,9 @@ title: NAND Chip and NAND Controller Generic Binding maintainers: - Miquel Raynal <miquel.raynal@bootlin.com> +allOf: + - $ref: "mtd.yaml#" + description: | This file covers the generic description of a NAND chip. It implies that the bus interface should not be taken into account: both raw NAND devices and