Skip to content

Commit

Permalink
dt-bindings: mtd: Remove useless file about partitions
Browse files Browse the repository at this point in the history
There is already a real partitions.yaml file, so assuming everybody
knows hot to read yaml schema now, this text file is no longer needed,
so drop it.

Depending on the situation, the lines referring to this file are either
dropped or edited to point to mtd.yaml which includes partition{,s}.yaml.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-3-miquel.raynal@bootlin.com
  • Loading branch information
miquelraynal committed Nov 17, 2022
1 parent 5d96ea4 commit f902baa
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 42 deletions.
6 changes: 2 additions & 4 deletions Documentation/devicetree/bindings/mtd/atmel-nand.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ Optional properties:
- atmel,rb: an integer identifying the native Ready/Busy pin. Only meaningful
on sama5 SoCs.

All generic properties described in
Documentation/devicetree/bindings/mtd/{common,nand}.txt also apply to the NAND
device node, and NAND partitions should be defined under the NAND node as
described in Documentation/devicetree/bindings/mtd/partition.txt.
All generic properties are described in the generic yaml files under
Documentation/devicetree/bindings/mtd/.

* ECC engine (PMECC) bindings:

Expand Down
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/mtd/ingenic,nand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ properties:
type: object
description:
Node containing description of fixed partitions.
See Documentation/devicetree/bindings/mtd/partition.txt

patternProperties:
"^nand@[a-f0-9]$":
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/mtd/lpc32xx-mlc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ accuracy:)
- nxp,wr_low: WR_LOW

Optional subnodes:
- Partitions, see Documentation/devicetree/bindings/mtd/partition.txt
- Partitions, see Documentation/devicetree/bindings/mtd/mtd.yaml

Example:

Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/mtd/lpc32xx-slc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ clock speed:)
- nxp,rsetup: Read setup time (R_SETUP)

Optional subnodes:
- Partitions, see Documentation/devicetree/bindings/mtd/partition.txt
- Partitions, see Documentation/devicetree/bindings/mtd/mtd.yaml

Example:

Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/mtd/mtk-nand.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Example:
};

NAND chip optional subnodes:
- Partitions, see Documentation/devicetree/bindings/mtd/partition.txt
- Partitions, see Documentation/devicetree/bindings/mtd/mtd.yaml

Example:
nand@0 {
Expand Down
33 changes: 0 additions & 33 deletions Documentation/devicetree/bindings/mtd/partition.txt

This file was deleted.

2 changes: 1 addition & 1 deletion drivers/mtd/parsers/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ config MTD_OF_PARTS
This provides a open firmware device tree partition parser
which derives the partition map from the children of the
flash memory node, as described in
Documentation/devicetree/bindings/mtd/partition.txt.
Documentation/devicetree/bindings/mtd/mtd.yaml.

config MTD_OF_PARTS_BCM4908
bool "BCM4908 partitioning support"
Expand Down

0 comments on commit f902baa

Please sign in to comment.