Re: [PATCH v3 13/17] dt-bindings: mtd: nvmem-cells: Drop range property from example

From: Rob Herring
Date: Wed Nov 16 2022 - 16:00:01 EST



On Mon, 14 Nov 2022 10:03:11 +0100, Miquel Raynal wrote:
> Memory mapped devices such as parallel NOR flash could make use of the
> 'ranges' property to translate a nvmem 'reg' cell address to a CPU
> address but in practice there is no upstream user nor any declaration of
> this property being valid in this case yet, leading to a warning when
> constraining a bit more the schema:
>
> .../mtd/partitions/nvmem-cells.example.dtb: calibration@f00000:
> Unevaluated properties are not allowed ('ranges' was unexpected)
>
> So let's drop the property from the example, knowing that someone might
> actually properly define it some day.
>
> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/mtd/partitions/nvmem-cells.yaml | 1 -
> 1 file changed, 1 deletion(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>