2024-02-08 11:45:36

by Nayab Sayed

[permalink] [raw]
Subject: [PATCH] dt-bindings: mtd: update references from partition.txt to mtd.yaml

Commit f902baa917b6 ("dt-bindings: mtd: Remove useless file about
partitions") removed the file partition.txt. Hence, in this commit, the
lines mentioning this file are updated to reference mtd.yaml, which now
includes partition{,s}.yaml.

Signed-off-by: Nayab Sayed <[email protected]>
---
Documentation/devicetree/bindings/mtd/davinci-nand.txt | 2 +-
Documentation/devicetree/bindings/mtd/flctl-nand.txt | 2 +-
Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt | 2 +-
Documentation/devicetree/bindings/mtd/gpio-control-nand.txt | 2 +-
Documentation/devicetree/bindings/mtd/gpmi-nand.yaml | 2 +-
Documentation/devicetree/bindings/mtd/hisi504-nand.txt | 2 +-
Documentation/devicetree/bindings/mtd/nvidia-tegra20-nand.txt | 2 +-
Documentation/devicetree/bindings/mtd/orion-nand.txt | 2 +-
Documentation/devicetree/bindings/mtd/samsung-s3c2410.txt | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Documentation/devicetree/bindings/mtd/davinci-nand.txt b/Documentation/devicetree/bindings/mtd/davinci-nand.txt
index edebeae1f5b3..eb8e2ff4dbd2 100644
--- a/Documentation/devicetree/bindings/mtd/davinci-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/davinci-nand.txt
@@ -68,7 +68,7 @@ Deprecated properties:
false.

Nand device bindings may contain additional sub-nodes describing partitions of
-the address space. See partition.txt for more detail. The NAND Flash timing
+the address space. See mtd.yaml for more detail. The NAND Flash timing
values must be programmed in the chip select’s node of AEMIF
memory-controller (see Documentation/devicetree/bindings/memory-controllers/
davinci-aemif.txt).
diff --git a/Documentation/devicetree/bindings/mtd/flctl-nand.txt b/Documentation/devicetree/bindings/mtd/flctl-nand.txt
index 427f46dc60ad..51518399d737 100644
--- a/Documentation/devicetree/bindings/mtd/flctl-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/flctl-nand.txt
@@ -15,7 +15,7 @@ The DMA fields are not used yet in the driver but are listed here for
completing the bindings.

The device tree may optionally contain sub-nodes describing partitions of the
-address space. See partition.txt for more detail.
+address space. See mtd.yaml for more detail.

Example:

diff --git a/Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt b/Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt
index 25f07c1f9e44..530c017e014e 100644
--- a/Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt
@@ -22,7 +22,7 @@ Deprecated properties:
(R/B# pins not connected).

Each flash chip described may optionally contain additional sub-nodes
-describing partitions of the address space. See partition.txt for more
+describing partitions of the address space. See mtd.yaml for more
detail.

Examples:
diff --git a/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt b/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
index 486a17d533d7..0edf55d47ea8 100644
--- a/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
@@ -26,7 +26,7 @@ Optional properties:
read to ensure that the GPIO accesses have completed.

The device tree may optionally contain sub-nodes describing partitions of the
-address space. See partition.txt for more detail.
+address space. See mtd.yaml for more detail.

Examples:

diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml b/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml
index ba086c34626d..021c0da0b072 100644
--- a/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml
@@ -12,7 +12,7 @@ maintainers:
description: |
The GPMI nand controller provides an interface to control the NAND
flash chips. The device tree may optionally contain sub-nodes
- describing partitions of the address space. See partition.txt for
+ describing partitions of the address space. See mtd.yaml for
more detail.

properties:
diff --git a/Documentation/devicetree/bindings/mtd/hisi504-nand.txt b/Documentation/devicetree/bindings/mtd/hisi504-nand.txt
index 8963983ae7cb..362203e7d50e 100644
--- a/Documentation/devicetree/bindings/mtd/hisi504-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/hisi504-nand.txt
@@ -22,7 +22,7 @@ The following ECC strength and step size are currently supported:
- nand-ecc-strength = <16>, nand-ecc-step-size = <1024>

Flash chip may optionally contain additional sub-nodes describing partitions of
-the address space. See partition.txt for more detail.
+the address space. See mtd.yaml for more detail.

Example:

diff --git a/Documentation/devicetree/bindings/mtd/nvidia-tegra20-nand.txt b/Documentation/devicetree/bindings/mtd/nvidia-tegra20-nand.txt
index e737e5beb7bf..4a00ec2b2540 100644
--- a/Documentation/devicetree/bindings/mtd/nvidia-tegra20-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/nvidia-tegra20-nand.txt
@@ -39,7 +39,7 @@ Optional children node properties:
- wp-gpios: GPIO specifier for the write protect pin.

Optional child node of NAND chip nodes:
-Partitions: see partition.txt
+Partitions: see mtd.yaml

Example:
nand-controller@70008000 {
diff --git a/Documentation/devicetree/bindings/mtd/orion-nand.txt b/Documentation/devicetree/bindings/mtd/orion-nand.txt
index 2d6ab660e603..b9997b1f13ac 100644
--- a/Documentation/devicetree/bindings/mtd/orion-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/orion-nand.txt
@@ -13,7 +13,7 @@ Optional properties:
registers in usecs

The device tree may optionally contain sub-nodes describing partitions of the
-address space. See partition.txt for more detail.
+address space. See mtd.yaml for more detail.

Example:

diff --git a/Documentation/devicetree/bindings/mtd/samsung-s3c2410.txt b/Documentation/devicetree/bindings/mtd/samsung-s3c2410.txt
index 09815c40fc8a..635455350660 100644
--- a/Documentation/devicetree/bindings/mtd/samsung-s3c2410.txt
+++ b/Documentation/devicetree/bindings/mtd/samsung-s3c2410.txt
@@ -19,7 +19,7 @@ Optional child properties:

Each child device node may optionally contain a 'partitions' sub-node,
which further contains sub-nodes describing the flash partition mapping.
-See partition.txt for more detail.
+See mtd.yaml for more detail.

Example:


---
base-commit: 547ab8fc4cb04a1a6b34377dd8fad34cd2c8a8e3
change-id: 20240208-partition-txt-d6ee0c8b4693

Best regards,
--
Nayab Sayed <[email protected]>



2024-02-15 13:45:27

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: mtd: update references from partition.txt to mtd.yaml


On Thu, 08 Feb 2024 17:12:12 +0530, Nayab Sayed wrote:
> Commit f902baa917b6 ("dt-bindings: mtd: Remove useless file about
> partitions") removed the file partition.txt. Hence, in this commit, the
> lines mentioning this file are updated to reference mtd.yaml, which now
> includes partition{,s}.yaml.
>
> Signed-off-by: Nayab Sayed <[email protected]>
> ---
> Documentation/devicetree/bindings/mtd/davinci-nand.txt | 2 +-
> Documentation/devicetree/bindings/mtd/flctl-nand.txt | 2 +-
> Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt | 2 +-
> Documentation/devicetree/bindings/mtd/gpio-control-nand.txt | 2 +-
> Documentation/devicetree/bindings/mtd/gpmi-nand.yaml | 2 +-
> Documentation/devicetree/bindings/mtd/hisi504-nand.txt | 2 +-
> Documentation/devicetree/bindings/mtd/nvidia-tegra20-nand.txt | 2 +-
> Documentation/devicetree/bindings/mtd/orion-nand.txt | 2 +-
> Documentation/devicetree/bindings/mtd/samsung-s3c2410.txt | 2 +-
> 9 files changed, 9 insertions(+), 9 deletions(-)
>

Acked-by: Rob Herring <[email protected]>


2024-02-26 10:46:26

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: mtd: update references from partition.txt to mtd.yaml

On Thu, 2024-02-08 at 11:42:12 UTC, Nayab Sayed wrote:
> Commit f902baa917b6 ("dt-bindings: mtd: Remove useless file about
> partitions") removed the file partition.txt. Hence, in this commit, the
> lines mentioning this file are updated to reference mtd.yaml, which now
> includes partition{,s}.yaml.
>
> Signed-off-by: Nayab Sayed <[email protected]>
> Acked-by: Rob Herring <[email protected]>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel