Message ID | 20221104164718.1290859-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 l7csp520014wru; Fri, 4 Nov 2022 09:52:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7TevGWxh44PYp7MlA/Sco1tC8pKLKFQ0wz9VHNiDUfP65BYem2hIE/yL+6y8E3O+f4XOOK X-Received: by 2002:a17:907:948f:b0:7ae:1e63:5e73 with SMTP id dm15-20020a170907948f00b007ae1e635e73mr8559252ejc.461.1667580733023; Fri, 04 Nov 2022 09:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667580733; cv=none; d=google.com; s=arc-20160816; b=JRrCiz1p8PxlAmRU7o7QF0ElGGEU36DmecN4Luz2S5gYxv2AfDZrpAiYuNaJWRUHej xmGUlcBtSKM/iYOksVn58IdJf57SfGB3Hv02w60SWfbLT6pUVQEF09T3icfpiVU3W+Mr uA3rsoAnl3Vi+Kk/QOXxctOIqCxME4mbcCDxlQ3wayJLmnBPG/dB+9x8yr/CXRcsiAfO gidh3JWQBDIks/33+KxjX5wm84A7DoMTvm2fwqj46EoADo2mCLHFcrZ+stw3CdW4kOjB BKN4H9bMFC2RL675+8quCb0gupRJvhf9BioehoirVoRy16zhojDhxkerHkG0SnM2E5EO eRGA== 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=0fIqM8+TrFmIHp+bhWk8G2d37OKgw25Pj0KyUVFDMr8RKzexWj4GoBjEC4CHvtbxG2 h1iHua+MZIgM4KEbA3KiHBQBnp17yd/VgtnLDZNcISR+5Xf7CEF8sdNvacx3uEBVBvA9 1PabvKUArLEBkpTVQop4oVPmqd2+hYajmZvzqQoqwLbkbFFQHXiy5MYPzglBVwzyX0lm dsOECn5X+oDjeGSXoycB8TusgpYnQl3w3zjJbwVB4SzYB9ixnDZS1cVUPiRUkRYVG1eP lg7LzGmNP16hJV2pcCdSPOxOyEYVc1y79i9hauq8Oo3t3e0FRxtoIdUt4GBpEXlBZqvw Mfag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FNDTfcPT; 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 hg7-20020a1709072cc700b007811ace1701si5601559ejc.445.2022.11.04.09.51.47; Fri, 04 Nov 2022 09:52:13 -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=FNDTfcPT; 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 S232099AbiKDQsk (ORCPT <rfc822;jimliu8233@gmail.com> + 99 others); Fri, 4 Nov 2022 12:48:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231791AbiKDQrk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Nov 2022 12:47:40 -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 B340A40444; Fri, 4 Nov 2022 09:47:31 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 0233A4000F; Fri, 4 Nov 2022 16:47:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667580450; 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=IMd5yQHc0mg7inpTTSKlKhmW8IystLlC3mwO9N5nbf0=; b=FNDTfcPTtyJh2vWCDfbV0YsXKparDkVC09tH0f2e9VUX64GkFKoIlb3KcmAr8i4tiUKQzx FfoNQBiPQ0K/qhH6TtXB/c0eF6iHAPB7SljAQwnhn9hbp1xfJmMuZOEKt2ZKmyz/viud38 TPi+mZ3Psr82zqW/raLhsFY7LudPor9khshmZNfI3f8+0t8TYUs50iaYSFmx9r566JZB+E guHkTIi3qTaeFtNUGY42O6OPLE+1gcVVfqhnLqrgK4UObxHYqIW5w/ffb0Fp1Jy5emVlwT K3MgEdI+Ma43O4+O/k9m3iKdJKK6T2CDfL82yLnAcNcXTNHjkQaWWEDubWBHpg== 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 09/17] dt-bindings: mtd: spi-nor: Drop common properties Date: Fri, 4 Nov 2022 17:47:10 +0100 Message-Id: <20221104164718.1290859-10-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?1748585134806201096?= X-GMAIL-MSGID: =?utf-8?q?1748585134806201096?= |
Series |
Improve MTD bindings
|
|
Commit Message
Miquel Raynal
Nov. 4, 2022, 4:47 p.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(-)
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: