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

Rob Herring robh at kernel.org
Mon Jan 25 17:23:54 EST 2021


On Fri, 15 Jan 2021 16:38:59 +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> 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 at milecki.pl>
> ---
>  .../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 at kernel.org>



More information about the linux-mtd mailing list