[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8d0d8b27-35ff-3693-cf80-897b80c26b4e@linaro.org>
Date: Thu, 7 Apr 2022 09:48:49 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Mikhail Zhilkin <csharper2005@...il.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>
Cc: NOGUCHI Hiroshi <drvlabo@...il.com>, Karim <Karimdplay@...il.com>,
M <x1@...root.org>, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: mtd: partitions: Add binding for
Sercomm parser
On 06/04/2022 21:59, Mikhail Zhilkin wrote:
> Add YAML binding for Sercomm partition parser.
>
> Signed-off-by: Mikhail Zhilkin <csharper2005@...il.com>
> ---
> .../mtd/partitions/sercomm,sc-partitions.yaml | 70 +++++++++++++++++++
> 1 file changed, 70 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mtd/partitions/sercomm,sc-partitions.yaml
>
(...)
> +
> +properties:
> + compatible:
> + const: sercomm,sc-partitions
> +
> + scpart-id:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description: Partition id in Sercomm partition map
Do you really need it? The reg should define the order, unless you
expect some incomplete partition list?
In any case this requires vendor prefix.
> +
> +required:
> + - compatible
Missing reg.
> + - scpart-id
> +
> +additionalProperties: false
Are you sure that you tested your bindings? You miss here address/size
cells and children, so you should have big fat warning.
Plus your DTS example has error and does not compile...
Best regards,
Krzysztof
Powered by blists - more mailing lists