[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250311122847.90081-1-balamanikandan.gunasundar@microchip.com>
Date: Tue, 11 Mar 2025 17:58:44 +0530
From: Balamanikandan Gunasundar <balamanikandan.gunasundar@...rochip.com>
To: <miquel.raynal@...tlin.com>, <richard@....at>, <vigneshr@...com>,
<robh@...nel.org>, <krzk+dt@...nel.org>, <conor+dt@...nel.org>,
<nicolas.ferre@...rochip.com>, <alexandre.belloni@...tlin.com>,
<claudiu.beznea@...on.dev>, <krzysztof.kozlowski+dt@...aro.org>
CC: <balamanikandan.gunasundar@...rochip.com>,
<linux-mtd@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH v2 0/3] dt-bindings: mtd: microchip-nand: convert txt to yaml
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@microchip.com/
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
Powered by blists - more mailing lists