[PATCH v6 2/7] dt-bindings: mtd: ubi-volume: allow UBI volumes to provide NVMEM

Miquel Raynal miquel.raynal at bootlin.com
Sun Dec 17 23:05:08 PST 2023


Hi Daniel,

> --- a/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml
> +++ b/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml
> @@ -15,21 +15,26 @@ maintainers:
>  
>  properties:
>    volid:
> -    $ref: "/schemas/types.yaml#/definitions/uint32"
> +    $ref: /schemas/types.yaml#/definitions/uint32
>      description:
>        Match UBI volume ID
>  
>    volname:
> -    $ref: "/schemas/types.yaml#/definitions/string"
> +    $ref: /schemas/types.yaml#/definitions/string
>      description:
>        Match UBI volume ID
>  
> +  nvmem-layout:
> +    $ref: /schemas/nvmem/layouts/nvmem-layout.yaml#
> +    description:
> +      This container may reference an NVMEM layout parser.
> +
>  anyOf:
>    - required:
> -    - volid
> +      - volid
>  
>    - required:
> -    - volname
> +      - volname

This should be squashed in patch 1.

Thanks,
Miquèl



More information about the linux-mtd mailing list