From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Rob Herring <robh@kernel.org>
Cc: Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Linus Walleij <linus.walleij@linaro.org>,
linux-mtd@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] dt-bindings: mtd/partitions: Convert arm-firmware-suite to DT schema
Date: Thu, 30 Jun 2022 09:16:36 +0200 [thread overview]
Message-ID: <20220630091636.03386395@xps-13> (raw)
In-Reply-To: <20220629185031.23826-1-robh@kernel.org>
Hi Rob,
robh@kernel.org wrote on Wed, 29 Jun 2022 12:50:30 -0600:
> Convert the arm,arm-firmware-suite partition binding to DT schema
> format. Simple conversion as there's only a compatible property.
>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
> ---
> v2:
> - Fix example dtc warning
> ---
> .../mtd/partitions/arm,arm-firmware-suite.txt | 17 -----------
> .../partitions/arm,arm-firmware-suite.yaml | 28 +++++++++++++++++++
> 2 files changed, 28 insertions(+), 17 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt
> create mode 100644 Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml
>
> diff --git a/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt b/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt
> deleted file mode 100644
> index d5c5616f6db5..000000000000
> --- a/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -ARM AFS - ARM Firmware Suite Partitions
> -=======================================
> -
> -The ARM Firmware Suite is a flash partitioning system found on the
> -ARM reference designs: Integrator AP, Integrator CP, Versatile AB,
> -Versatile PB, the RealView family, Versatile Express and Juno.
> -
> -Required properties:
> -- compatible : (required) must be "arm,arm-firmware-suite"
> -
> -Example:
> -
> -flash@0 {
> - partitions {
> - compatible = "arm,arm-firmware-suite";
> - };
> -};
> diff --git a/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml b/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml
> new file mode 100644
> index 000000000000..76c88027b6d2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml
> @@ -0,0 +1,28 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mtd/partitions/arm,arm-firmware-suite.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ARM Firmware Suite (AFS) Partitions
> +
> +maintainers:
> + - Linus Walleij <linus.walleij@linaro.org>
> +
> +description: |
> + The ARM Firmware Suite is a flash partitioning system found on the
> + ARM reference designs: Integrator AP, Integrator CP, Versatile AB,
> + Versatile PB, the RealView family, Versatile Express and Juno.
> +
> +properties:
> + compatible:
> + const: arm,arm-firmware-suite
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + partitions {
> + compatible = "arm,arm-firmware-suite";
> + };
> +...
Thanks,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
WARNING: multiple messages have this Message-ID (diff)
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Rob Herring <robh@kernel.org>
Cc: Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Linus Walleij <linus.walleij@linaro.org>,
linux-mtd@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] dt-bindings: mtd/partitions: Convert arm-firmware-suite to DT schema
Date: Thu, 30 Jun 2022 09:16:36 +0200 [thread overview]
Message-ID: <20220630091636.03386395@xps-13> (raw)
In-Reply-To: <20220629185031.23826-1-robh@kernel.org>
Hi Rob,
robh@kernel.org wrote on Wed, 29 Jun 2022 12:50:30 -0600:
> Convert the arm,arm-firmware-suite partition binding to DT schema
> format. Simple conversion as there's only a compatible property.
>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
> ---
> v2:
> - Fix example dtc warning
> ---
> .../mtd/partitions/arm,arm-firmware-suite.txt | 17 -----------
> .../partitions/arm,arm-firmware-suite.yaml | 28 +++++++++++++++++++
> 2 files changed, 28 insertions(+), 17 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt
> create mode 100644 Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml
>
> diff --git a/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt b/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt
> deleted file mode 100644
> index d5c5616f6db5..000000000000
> --- a/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -ARM AFS - ARM Firmware Suite Partitions
> -=======================================
> -
> -The ARM Firmware Suite is a flash partitioning system found on the
> -ARM reference designs: Integrator AP, Integrator CP, Versatile AB,
> -Versatile PB, the RealView family, Versatile Express and Juno.
> -
> -Required properties:
> -- compatible : (required) must be "arm,arm-firmware-suite"
> -
> -Example:
> -
> -flash@0 {
> - partitions {
> - compatible = "arm,arm-firmware-suite";
> - };
> -};
> diff --git a/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml b/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml
> new file mode 100644
> index 000000000000..76c88027b6d2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml
> @@ -0,0 +1,28 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mtd/partitions/arm,arm-firmware-suite.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ARM Firmware Suite (AFS) Partitions
> +
> +maintainers:
> + - Linus Walleij <linus.walleij@linaro.org>
> +
> +description: |
> + The ARM Firmware Suite is a flash partitioning system found on the
> + ARM reference designs: Integrator AP, Integrator CP, Versatile AB,
> + Versatile PB, the RealView family, Versatile Express and Juno.
> +
> +properties:
> + compatible:
> + const: arm,arm-firmware-suite
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + partitions {
> + compatible = "arm,arm-firmware-suite";
> + };
> +...
Thanks,
Miquèl
next prev parent reply other threads:[~2022-06-30 7:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-29 18:50 [PATCH v2] dt-bindings: mtd/partitions: Convert arm-firmware-suite to DT schema Rob Herring
2022-06-29 18:50 ` Rob Herring
2022-06-30 7:16 ` Miquel Raynal [this message]
2022-06-30 7:16 ` Miquel Raynal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220630091636.03386395@xps-13 \
--to=miquel.raynal@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
--cc=robh@kernel.org \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.