* [PATCH RESEND] dt-bindings: mtd: atmel,dataflash: convert txt to yaml
@ 2025-03-17 13:31 Nayab Sayed
2025-03-17 16:41 ` Rob Herring (Arm)
2025-03-18 16:19 ` Miquel Raynal
0 siblings, 2 replies; 3+ messages in thread
From: Nayab Sayed @ 2025-03-17 13:31 UTC (permalink / raw)
To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Nicolas Ferre,
Alexandre Belloni, Claudiu Beznea
Cc: linux-mtd, devicetree, linux-arm-kernel, linux-kernel,
Nayab Sayed
Convert atmel-dataflash.txt into atmel,dataflash.yaml
Signed-off-by: Nayab Sayed <nayabbasha.sayed@microchip.com>
---
.../devicetree/bindings/mtd/atmel,dataflash.yaml | 55 ++++++++++++++++++++++
.../devicetree/bindings/mtd/atmel-dataflash.txt | 17 -------
2 files changed, 55 insertions(+), 17 deletions(-)
diff --git a/Documentation/devicetree/bindings/mtd/atmel,dataflash.yaml b/Documentation/devicetree/bindings/mtd/atmel,dataflash.yaml
new file mode 100644
index 000000000000..8c72fa346e36
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/atmel,dataflash.yaml
@@ -0,0 +1,55 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mtd/atmel,dataflash.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Atmel DataFlash
+
+maintainers:
+ - Nayab Sayed <nayabbasha.sayed@microchip.com>
+
+description:
+ The Atmel DataFlash is a low pin-count serial interface sequential access
+ Flash memory, compatible with SPI standard. The device tree may optionally
+ contain sub-nodes describing partitions of the address space.
+
+properties:
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - atmel,at45db321d
+ - atmel,at45db041e
+ - atmel,at45db642d
+ - atmel,at45db021d
+ - const: atmel,at45
+ - const: atmel,dataflash
+ - items:
+ - const: atmel,at45
+ - const: atmel,dataflash
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+allOf:
+ - $ref: mtd.yaml#
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ flash@1 {
+ compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
+ reg = <1>;
+ };
+ };
diff --git a/Documentation/devicetree/bindings/mtd/atmel-dataflash.txt b/Documentation/devicetree/bindings/mtd/atmel-dataflash.txt
deleted file mode 100644
index 1889a4db5b7c..000000000000
--- a/Documentation/devicetree/bindings/mtd/atmel-dataflash.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-* Atmel Data Flash
-
-Required properties:
-- compatible : "atmel,<model>", "atmel,<series>", "atmel,dataflash".
-
-The device tree may optionally contain sub-nodes describing partitions of the
-address space. See partition.txt for more detail.
-
-Example:
-
-flash@1 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
- spi-max-frequency = <25000000>;
- reg = <1>;
-};
---
base-commit: 4701f33a10702d5fc577c32434eb62adde0a1ae1
change-id: 20250317-atmel-dataflash-941cebc942ae
Best regards,
--
Nayab Sayed <nayabbasha.sayed@microchip.com>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] dt-bindings: mtd: atmel,dataflash: convert txt to yaml
2025-03-17 13:31 [PATCH RESEND] dt-bindings: mtd: atmel,dataflash: convert txt to yaml Nayab Sayed
@ 2025-03-17 16:41 ` Rob Herring (Arm)
2025-03-18 16:19 ` Miquel Raynal
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-03-17 16:41 UTC (permalink / raw)
To: Nayab Sayed
Cc: linux-arm-kernel, Vignesh Raghavendra, Miquel Raynal, devicetree,
Richard Weinberger, Nicolas Ferre, Claudiu Beznea, linux-kernel,
linux-mtd, Alexandre Belloni, Conor Dooley, Krzysztof Kozlowski
On Mon, 17 Mar 2025 19:01:08 +0530, Nayab Sayed wrote:
> Convert atmel-dataflash.txt into atmel,dataflash.yaml
>
> Signed-off-by: Nayab Sayed <nayabbasha.sayed@microchip.com>
> ---
> .../devicetree/bindings/mtd/atmel,dataflash.yaml | 55 ++++++++++++++++++++++
> .../devicetree/bindings/mtd/atmel-dataflash.txt | 17 -------
> 2 files changed, 55 insertions(+), 17 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] dt-bindings: mtd: atmel,dataflash: convert txt to yaml
2025-03-17 13:31 [PATCH RESEND] dt-bindings: mtd: atmel,dataflash: convert txt to yaml Nayab Sayed
2025-03-17 16:41 ` Rob Herring (Arm)
@ 2025-03-18 16:19 ` Miquel Raynal
1 sibling, 0 replies; 3+ messages in thread
From: Miquel Raynal @ 2025-03-18 16:19 UTC (permalink / raw)
To: Richard Weinberger, Vignesh Raghavendra, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Nicolas Ferre,
Alexandre Belloni, Claudiu Beznea, Nayab Sayed
Cc: linux-mtd, devicetree, linux-arm-kernel, linux-kernel
On Mon, 17 Mar 2025 19:01:08 +0530, Nayab Sayed wrote:
> Convert atmel-dataflash.txt into atmel,dataflash.yaml
>
>
Applied to mtd/next, thanks!
[1/1] dt-bindings: mtd: atmel,dataflash: convert txt to yaml
commit: 48a29721c967da1af657279fa696d6c386bdd5ca
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-03-18 16:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-17 13:31 [PATCH RESEND] dt-bindings: mtd: atmel,dataflash: convert txt to yaml Nayab Sayed
2025-03-17 16:41 ` Rob Herring (Arm)
2025-03-18 16:19 ` Miquel Raynal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox