[PATCH v3 0/4] dt-bindings: mtd: microchip-nand: convert txt to yaml
Balamanikandan Gunasundar
balamanikandan.gunasundar at microchip.com
Sun Jun 1 22:35:03 PDT 2025
Convert microchip nand controllers from text to yaml
Summary of changes:
Note:
- The changes are made on top of v6.15.
v2 -> v3:
[PATCH 1/4] dt-bindings: mtd: microchip-nand: convert txt to yaml
- Remove pmecc nodes in example as it has a seperate binding
[PATCH 2/4] dt-bindings: mtd: microchip-nand: add atmel pmecc
- Dropped '|' from description
- Merged the fallback compatibles
- Dropped 'base address and size of' from description
- Dropeed clock source description
- Modifed if/then condition. the clock source is only required for sam9x7
[PATCH 3/4] dt-bindings: mtd: atmel-nand: add legacy nand
- Dropped '|' from description
- Fix address-cells and size-cells ranges
- Define each gpio entry. RB, CE and CD
- Move vendor specific properties to last.
- Fix node names in examples.
[PATCH 4/4] MAINTAINERS: add entry for microchip nand controller
- New patch updating myself as maintainer.
v1 -> v2:
https://lore.kernel.org/all/20250311122847.90081-1-balamanikandan.gunasundar@microchip.com/
[PATCH 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 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 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 (4):
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
MAINTAINERS: add entry for microchip nand controller
.../devicetree/bindings/mtd/atmel-nand.txt | 227 ------------------
.../devicetree/bindings/mtd/atmel-nand.yaml | 167 +++++++++++++
.../mtd/microchip,nand-controller.yaml | 169 +++++++++++++
.../bindings/mtd/microchip,pmecc.yaml | 62 +++++
MAINTAINERS | 5 +-
5 files changed, 401 insertions(+), 229 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
More information about the linux-mtd
mailing list