[PATCH V2] dt-bindings: mtd: convert "fixed-partitions" to the json-schema

Rob Herring robh at kernel.org
Thu Dec 10 22:56:16 EST 2020


On Thu, 10 Dec 2020 18:23:52 +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> This standardizes its documentation, allows validating with Makefile
> checks and helps writing DTS files.
> 
> Noticeable changes:
> 1. Dropped "Partitions can be represented by sub-nodes of a flash
>    device." as we also support subpartitions (don't have to be part of
>    flash device node)
> 2. Dropped "to Linux" as bindings are meant to be os agnostic.
> 
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> ---
> V2: Add #address-cells and #size-cells
>     Move "compatible =" property up in examples
>     Add minItems to the "reg"
> ---
>  .../devicetree/bindings/mtd/partition.txt     | 131 +--------------
>  .../mtd/partitions/fixed-partitions.yaml      | 152 ++++++++++++++++++
>  2 files changed, 154 insertions(+), 129 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml
> 

Applied, thanks!



More information about the linux-mtd mailing list