Message ID | 20221114090315.848208-10-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 l7csp2043402wru; Mon, 14 Nov 2022 01:05:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf7d2CmmACH/9UZrR5JeurHVu1xs1K7wiX2xV+1T3nv6meXABzS/tvtplWp9tMDaU4EDx6hU X-Received: by 2002:a17:907:2071:b0:78d:4012:b60a with SMTP id qp17-20020a170907207100b0078d4012b60amr9549384ejb.476.1668416738414; Mon, 14 Nov 2022 01:05:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668416738; cv=none; d=google.com; s=arc-20160816; b=hNG5ansa2x6k2OEjq0j4+GRr5pOJ+DzekH4D2bYtFmH2Ly97ARKELISPNJsNGOXTxU KnXuM3nVZo1NIOambGosUAQrMzenKyFQ1I3K+KT0XoVuDnvftDI1FFS9ZMDamdi+GYx7 J9eWJzMH4rskERuNRA4rMXEkN0g65NJezdp0Yuynm1PIlHuR0YNbXI/gEzRFFWnDaGNg LHT64ioYY+SDPrMMG5E+6l3o8MkPVbYoW0QvED1mwyJcYi6sR5UthunARW3gYFLpghQR oHV2DJ9qT7ODIqSGd87FXH1slwqG4JLfZ/asOgusUZmF2SbYxB8mmKFcYTslcz4dl+EB X8mw== 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=IMd5yQHc0mg7inpTTSKlKhmW8IystLlC3mwO9N5nbf0=; b=gkpaLkGwr/Ml82FrYQ8lN+Mk3DtrM1q0Ekz9k5X5rdhd9RIPF1n+0/BSMcxeFDU2HQ 7yBNwx1HKUQ7mWQ8GgOJBWPIQmroF+dhlI034tjZ5kBpYIKZC9CCWqnLYMNDR7iuqE9F GVWkY971QJ9e+sbG6Gq/g731uHilkjJLqrIS5TPGr+JMRHukynXJlEunuqACedzt45lx tVwlsv2LCwtbaTYKxNZKK6bguGDjaqNWB3j+BMulp7oLXxz3CynXQd0z77uGrFDy8GbU pyDClBVh4d1vey7zAoYEo0TIcNi376tToUV+cmjV3mg9sBcGEM1PeCtAWOsyLKyHSlUm 6WPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ZUOFFzla; 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 ko16-20020a170907987000b0078d473448afsi6884492ejc.233.2022.11.14.01.05.15; Mon, 14 Nov 2022 01:05:38 -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=ZUOFFzla; 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 S236808AbiKNJEa (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Mon, 14 Nov 2022 04:04:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236783AbiKNJDp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 14 Nov 2022 04:03:45 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCB371D0E0; Mon, 14 Nov 2022 01:03:44 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id B2FD0FF805; Mon, 14 Nov 2022 09:03:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668416623; 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=IMd5yQHc0mg7inpTTSKlKhmW8IystLlC3mwO9N5nbf0=; b=ZUOFFzlahY/6zR8pZGIcGDlVQIV1XA+HsAoAWglps0ariGqxA2mYrg+w6at9ptJfOTq7gZ fXMmPHOnKlr+DZVvtUjbOv/X5i9aSRVwkTpaGjl2Z1bUrCgY/q/5wY3IukIxKFz5H7MViQ CupDkGaueHDRxqSLJM7bTIO35KfeRmSqJNBI7SBnmM4dETRj9ZAhdOEDnGbIP+wNnvRNWd 16qXoCZdH3PS9MU2jBBe175a7e/HfFvU6VlquHcrZor6HSLfs2cajaqSm3Y5pAFY4Ixxf3 gmrVWp5KjjG/GW2q5VGS9SAdYxirwmErogfunhcOLHlTQC7qZqlZYNcDmyk7og== 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 09/17] dt-bindings: mtd: spi-nor: Drop common properties Date: Mon, 14 Nov 2022 10:03:07 +0100 Message-Id: <20221114090315.848208-10-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, RCVD_IN_MSPIKE_H2,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?1749461750209425329?= X-GMAIL-MSGID: =?utf-8?q?1749461750209425329?= |
Series |
Improve MTD bindings
|
|
Commit Message
Miquel Raynal
Nov. 14, 2022, 9:03 a.m. UTC
When redefining common properties does not bring any additional information, just drop them from the SPI-NOR bindings because these properties already are definied in mtd.yaml. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> --- .../devicetree/bindings/mtd/jedec,spi-nor.yaml | 14 -------------- 1 file changed, 14 deletions(-)
Comments
On Mon, 2022-11-14 at 09:03:07 UTC, Miquel Raynal wrote: > When redefining common properties does not bring any additional > information, just drop them from the SPI-NOR bindings because these > properties already are definied in mtd.yaml. > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > Reviewed-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/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index 7149784a36ac..6cc491083650 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml @@ -70,20 +70,6 @@ properties: be used on such systems, to denote the absence of a reliable reset mechanism. - partitions: - type: object - - '#address-cells': true - '#size-cells': true - -patternProperties: - # Note: use 'partitions' node for new users - '^partition@': - type: object - - "^otp(-[0-9]+)?$": - type: object - unevaluatedProperties: false examples: