linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] dt-bindings: mtd: marvell-nand: Add YAML scheme
@ 2022-10-26 13:45 Vadym Kochan
  2022-10-26 13:45 ` [PATCH v5 1/2] dt-bindings: mtd: marvell-nand: Convert to YAML DT scheme Vadym Kochan
  2022-10-26 13:45 ` [PATCH v5 2/2] arm64: dts: marvell: cp11x: Fix nand_controller node name according to YAML Vadym Kochan
  0 siblings, 2 replies; 15+ messages in thread
From: Vadym Kochan @ 2022-10-26 13:45 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
	Rob Herring, Krzysztof Kozlowski, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, linux-mtd, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: Elad Nachman, Vadym Kochan, Chris Packham

Add YAML scheme for the Marvell's NAND controller
to validate it's DT bindings. Old txt file is deleted,
not included the compatibles and properties which were marked as
deprecated.

Also fix node name in cp11x DTSI acording to nand-controller.yaml

v5:
   1) Get back "label" and "partitions" properties but without
      ref to the "partition.yaml" which was wrongly used.

   2) Add "additionalProperties: false" for nand@ because all possible
      properties are described.

v4:
   1) Remove "label" and "partitions" properties

   2) Use 2 clocks for A7K/8K platform which is a requirement

v3:
  1) Remove txt version from the MAINTAINERS list

  2) Use enum for some of compatible strings

  3) Drop:
        #address-cells
        #size-cells:

     as they are inherited from the nand-controller.yaml

  4) Add restriction to use 2 clocks for A8K SoC

  5) Dropped description for clock-names and extend it with 
     minItems: 1

  6) Drop description for "dmas"

  7) Use "unevalautedProperties: false"

  8) Drop quites from yaml refs.

  9) Use 4-space indentation for the example section

v2:
  1) Fixed warning by yamllint with incorrect indentation for compatible list

Vadym Kochan (2):
  dt-bindings: mtd: marvell-nand: Convert to YAML DT scheme
  arm64: dts: marvell: cp11x: Fix nand_controller node name according to
    YAML

 .../bindings/mtd/marvell,nand-controller.yaml | 195 ++++++++++++++++++
 .../devicetree/bindings/mtd/marvell-nand.txt  | 126 -----------
 MAINTAINERS                                   |   1 -
 arch/arm64/boot/dts/marvell/armada-cp11x.dtsi |   2 +-
 4 files changed, 196 insertions(+), 128 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml
 delete mode 100644 Documentation/devicetree/bindings/mtd/marvell-nand.txt

-- 
2.17.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-11-04 16:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 13:45 [PATCH v5 0/2] dt-bindings: mtd: marvell-nand: Add YAML scheme Vadym Kochan
2022-10-26 13:45 ` [PATCH v5 1/2] dt-bindings: mtd: marvell-nand: Convert to YAML DT scheme Vadym Kochan
2022-10-26 14:03   ` Krzysztof Kozlowski
2022-10-26 21:57     ` Vadym Kochan
2022-10-27 13:02       ` Krzysztof Kozlowski
2022-10-27 13:18         ` Miquel Raynal
2022-10-27 13:24           ` Krzysztof Kozlowski
2022-10-27 13:50             ` Miquel Raynal
2022-10-27 14:51               ` Krzysztof Kozlowski
2022-10-28  7:47                 ` Miquel Raynal
2022-10-28 11:31                   ` Krzysztof Kozlowski
2022-10-28 12:50                     ` Miquel Raynal
2022-10-31 12:29                       ` Vadym Kochan
2022-11-04 16:51                         ` Miquel Raynal
2022-10-26 13:45 ` [PATCH v5 2/2] arm64: dts: marvell: cp11x: Fix nand_controller node name according to YAML Vadym Kochan

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).