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 04/17] dt-bindings: mtd: nand: Drop common properties already defined in generic files
Date: Mon, 14 Nov 2022 10:03:02 +0100 [thread overview]
Message-ID: <20221114090315.848208-5-miquel.raynal@bootlin.com> (raw)
In-Reply-To: <20221114090315.848208-1-miquel.raynal@bootlin.com>
generic files, so let's drop these properties from the individual NAND
controller bindings when no additional information is provided rather
than the possible presence of the property.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
.../bindings/mtd/allwinner,sun4i-a10-nand.yaml | 9 +--------
.../bindings/mtd/arasan,nand-controller.yaml | 5 +----
.../devicetree/bindings/mtd/intel,lgm-ebunand.yaml | 10 +---------
Documentation/devicetree/bindings/mtd/qcom,nandc.yaml | 3 ---
4 files changed, 3 insertions(+), 24 deletions(-)
diff --git a/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml b/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml
index 4741864da48e..65521924ee1c 100644
--- a/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml
@@ -14,9 +14,6 @@ maintainers:
- Maxime Ripard <mripard@kernel.org>
properties:
- "#address-cells": true
- "#size-cells": true
-
compatible:
enum:
- allwinner,sun4i-a10-nand
@@ -49,11 +46,7 @@ properties:
dma-names:
const: rxtx
- pinctrl-names: true
-
patternProperties:
- "^pinctrl-[0-9]+$": true
-
"^nand@[a-f0-9]+$":
type: object
properties:
@@ -91,6 +84,6 @@ required:
- clocks
- clock-names
-additionalProperties: false
+unevaluatedProperties: false
...
diff --git a/Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml b/Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml
index f013fb976d95..d028269cdbaa 100644
--- a/Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml
+++ b/Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml
@@ -35,9 +35,6 @@ properties:
interrupts:
maxItems: 1
- "#address-cells": true
- "#size-cells": true
-
required:
- compatible
- reg
@@ -45,7 +42,7 @@ required:
- clock-names
- interrupts
-additionalProperties: true
+unevaluatedProperties: true
examples:
- |
diff --git a/Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml b/Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml
index 741c66ee06c3..7c83a328845e 100644
--- a/Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml
+++ b/Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml
@@ -39,12 +39,6 @@ properties:
- const: tx
- const: rx
- "#address-cells":
- const: 1
-
- "#size-cells":
- const: 0
-
patternProperties:
"^nand@[a-f0-9]+$":
type: object
@@ -67,10 +61,8 @@ required:
- clocks
- dmas
- dma-names
- - "#address-cells"
- - "#size-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
diff --git a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
index 482a2c068740..3cc90c64e974 100644
--- a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
+++ b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
@@ -31,9 +31,6 @@ properties:
- const: core
- const: aon
- "#address-cells": true
- "#size-cells": true
-
patternProperties:
"^nand@[a-f0-9]$":
type: object
--
2.34.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2022-11-14 9:04 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-14 9:02 [PATCH v3 00/17] Improve MTD bindings Miquel Raynal
2022-11-14 9:02 ` [PATCH v3 01/17] dt-bindings: mtd: Clarify all partition subnodes Miquel Raynal
2022-11-17 21:16 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 02/17] dt-bindings: mtd: Remove useless file about partitions Miquel Raynal
2022-11-17 21:16 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 03/17] dt-bindings: mtd: nand-chip: Reference mtd.yaml Miquel Raynal
2022-11-17 21:16 ` Miquel Raynal
2022-11-14 9:03 ` Miquel Raynal [this message]
2022-11-17 21:16 ` [PATCH v3 04/17] dt-bindings: mtd: nand: Drop common properties already defined in generic files Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 05/17] dt-bindings: mtd: nand: Standardize the child node name Miquel Raynal
2022-11-17 21:16 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 06/17] dt-bindings: mtd: ingenic: Mark partitions in the controller node as deprecated Miquel Raynal
2022-11-17 21:16 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 07/17] dt-bindings: mtd: onenand: Mention the expected node name Miquel Raynal
2022-11-17 21:15 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 08/17] dt-bindings: mtd: sunxi-nand: Add an example to validate the bindings Miquel Raynal
2022-11-17 21:15 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 09/17] dt-bindings: mtd: spi-nor: Drop common properties Miquel Raynal
2022-11-17 21:15 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 10/17] dt-bindings: mtd: physmap: Reuse the generic definitions Miquel Raynal
2022-11-17 21:15 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 11/17] dt-bindings: mtd: partitions: Constrain the list of parsers Miquel Raynal
2022-11-17 21:15 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 12/17] dt-bindings: mtd: partitions: Change qcom,smem-part partition type Miquel Raynal
2022-11-17 21:15 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 13/17] dt-bindings: mtd: nvmem-cells: Drop range property from example Miquel Raynal
2022-11-16 20:56 ` Rob Herring
2022-11-17 21:15 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 14/17] dt-bindings: mtd: nvmem-cells: Inherit from MTD partitions Miquel Raynal
2022-11-17 21:15 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 15/17] dt-bindings: mtd: Argue in favor of keeping additionalProperties set to true Miquel Raynal
2022-11-17 21:15 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 16/17] dt-bindings: mtd: Drop object types when referencing other files Miquel Raynal
2022-11-17 21:15 ` Miquel Raynal
2022-11-14 9:03 ` [PATCH v3 17/17] dt-bindings: mtd: Standardize the style in the examples Miquel Raynal
2022-11-17 21:15 ` Miquel Raynal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221114090315.848208-5-miquel.raynal@bootlin.com \
--to=miquel.raynal@bootlin.com \
--cc=Tudor.Ambarus@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=michael@walle.cc \
--cc=pratyush@kernel.org \
--cc=richard@nod.at \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).