Re: [PATCH 1/3] dt-bindings: mtd: move partition binding to its own file

From: Rob Herring
Date: Mon Jan 25 2021 - 17:25:13 EST


On Fri, 15 Jan 2021 16:38:59 +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@xxxxxxxxxx>
>
> Single partition binding is quite common and may be:
> 1. Used by multiple parsers
> 2. Extended for more specific cases
>
> Move it to separated file to avoid code duplication.
>
> Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx>
> ---
> .../mtd/partitions/fixed-partitions.yaml | 33 +------------
> .../bindings/mtd/partitions/partition.yaml | 47 +++++++++++++++++++
> 2 files changed, 48 insertions(+), 32 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/mtd/partitions/partition.yaml
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>