[PATCH v2 0/3] dt-bindings: mtd: microchip-nand: convert txt to yaml
From: Balamanikandan Gunasundar
Date: Tue Mar 11 2025 - 08:31:26 EST
Convert microchip nand controllers from text to yaml
This patch is a respin of
https://lore.kernel.org/all/20240320-linux-next-nand-yaml-v1-0-2d2495363e88@xxxxxxxxxxxxx/
Summary of changes:
[PATCH v2 1/3] dt-bindings: mtd: microchip-nand: convert txt to yaml
- Change the filename to match the compatible string
- Drop items and oneOf in the compatible property as it is just an enum
- Remove the if in the #address-cells and #size-cells
- Remove the unwanted comments that refers to .txt files
- Fix reg property description
- Define the properties in a list and add constraints
- Fix DT coding style and droped unused labels
[PATCH v2 2/3] dt-bindings: mtd: microchip-nand: add atmel pmecc
- Rename filename to match compatible string
- Add constraints for sam9x7
- Droped unused dt labels
[PATCH v2 3/3] dt-bindings: mtd: atmel-nand: add legacy nand
- Filename matching the compatibles
- Remove "bindings" from the subject
- Remove "deprecated" as these are the only bindings available for the devices
- Add missing constraints.
- Add default for nand-ecc-mode
- Add 32 in pmecc-cap for sama5d2
- Add default for sector-size, pmecc-lookup-table-offset, nand-bus-width
Balamanikandan Gunasundar (3):
dt-bindings: mtd: microchip-nand: convert txt to yaml
dt-bindings: mtd: microchip-nand: add atmel pmecc
dt-bindings: mtd: atmel-nand: add legacy nand controllers
.../devicetree/bindings/mtd/atmel-nand.txt | 227 ------------------
.../devicetree/bindings/mtd/atmel-nand.yaml | 163 +++++++++++++
.../mtd/microchip,nand-controller.yaml | 175 ++++++++++++++
.../bindings/mtd/microchip,pmecc.yaml | 67 ++++++
4 files changed, 405 insertions(+), 227 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/mtd/atmel-nand.txt
create mode 100644 Documentation/devicetree/bindings/mtd/atmel-nand.yaml
create mode 100644 Documentation/devicetree/bindings/mtd/microchip,nand-controller.yaml
create mode 100644 Documentation/devicetree/bindings/mtd/microchip,pmecc.yaml
--
2.34.1