Message ID | 20221104164718.1290859-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 l7csp518516wru; Fri, 4 Nov 2022 09:48:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7c1g3rbd/XFI69mkRUy1M2CKyH2wih82ovLqTSz56Jp55gRZ+6zNZ35ztxniE1HoFjZ6wd X-Received: by 2002:a17:906:794a:b0:7a0:72b8:2368 with SMTP id l10-20020a170906794a00b007a072b82368mr35286570ejo.601.1667580535019; Fri, 04 Nov 2022 09:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667580535; cv=none; d=google.com; s=arc-20160816; b=AX52KrjH4BJ1lm3m4iwr6tdUX6O4IQIKCWw2jocVBQSSJlGTugOd1IjURxniTbJdye UvjcYwmnAiV0k7HRxIKJeenZciVoLAJ+xW2RQHfu6+khlf2/U4VGrx6LHtamMR6vArZ8 T5wx/m07cInirMxpVHw1pgv+3bD69l59X0SFk1ogpHZwubcvoH4cE4KH029NE8SodreY 55nSXLizAwv0fdIPtNo57sjzIG6D2nFpA3fGzHc/rvhDJ2G77OrSHGKobHjAPqVnB2LT BV7g1DdgMD9umesOq4ijx696Zcfx3iJyzbPByJn3TMM8mQp5Oj8d5COLMLzaY4UILCm0 pvFQ== 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=WceLSiGOlRINCqyUd1jW4UYhsmYs/JAoxJf3hmc4TWRruxcGjqiz+MV9xl7iinftQ+ opmpTiYxQ+ntqm+1/NSaWN4ris8f6wTrOtDrK7gfzEgNwQ8xPVvpq2Xm8oPfoj4Ow87V ZhUZTpxE7sxtLQNJ1d4iKKg174i5EuyqKmpdcW6GTvKbFvfkYxXHrEky9WKje2F5aLOE WG3ff+Tfb21ViqG/fxh40GVHg4gD+w8vGLidHSQTWL/n+WWsFXKSSTfcE3oOpNIkCTF2 6GgZifcNrwwGYIRfLixDMPczKErJyK6tuHeF4mIY7JnNDnta/sm67QX+F+qsXF6Ps5Ez IO7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=iKTxZ6dR; 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-20020a50d551000000b004588af9ea19si5480644edj.166.2022.11.04.09.48.29; Fri, 04 Nov 2022 09:48:55 -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=iKTxZ6dR; 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 S231649AbiKDQrc (ORCPT <rfc822;jimliu8233@gmail.com> + 99 others); Fri, 4 Nov 2022 12:47:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231238AbiKDQrZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Nov 2022 12:47:25 -0400 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB9CE31EF9; Fri, 4 Nov 2022 09:47:24 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 6119740007; Fri, 4 Nov 2022 16:47:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667580443; 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=6Y3Ilf0k1Zb565CDODTPYfsRYtki95YJmPfK8ZRRt10=; b=iKTxZ6dREfCsN0mTYQ64N+B6C0rk1kphN36VYOjBtaLCmQfd81/rL3BnpA6UbUMjSdR3LS qVnDtFCdvpNxoDuP90TZLLNs0QAoZFYBDduK2DSQHeAzYpgarAYrPA9E84J3LRAVty10+Y ixmeGdb15jzNAYo/ae2stTiyP5dmDMgqGp4O+y3oNnJpXceq5YDkgoI4yC8U8JoP5vQPC7 GueIQZag0QZROTmy50/IWCQ/wtQg2MjEC/0TFm2TRgoBtljxvNPUMJiwV2HRKe6twMvOTU PynrYDbSnQoOSRoDaoRKer/3VbVlWWqdNIWLEln6rg2oHKvM79l/QYe0xxli7w== 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>, Rob Herring <robh@kernel.org> Subject: [PATCH v2 03/17] dt-bindings: mtd: nand-chip: Reference mtd.yaml Date: Fri, 4 Nov 2022 17:47:04 +0100 Message-Id: <20221104164718.1290859-4-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, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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?1748584926869106764?= X-GMAIL-MSGID: =?utf-8?q?1748584926869106764?= |
Series |
Improve MTD bindings
|
|
Commit Message
Miquel Raynal
Nov. 4, 2022, 4:47 p.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(+)
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