Re: [PATCH v4 2/4] dt-bindings: display: st,stm32-dsi: Remove unnecessary fields

From: Krzysztof Kozlowski
Date: Tue May 30 2023 - 08:28:24 EST

On Mon, 29 May 2023 11:13:57 +0200, Raphael Gallais-Pou wrote:
> "#address-cells" and "#size-cells" are two properties that are not
> mandatory. For instance, the DSI could refer to a bridge outside the scope
> of the node rather than include a 'panel@0' subnode. By doing so, address
> and size fields become then unnecessary, creating a warning at build time.
> Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@xxxxxxxxxxx>
> Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
> Reviewed-by: Marek Vasut <marex@xxxxxxx>
> ---
> Documentation/devicetree/bindings/display/st,stm32-dsi.yaml | 2 --
> 1 file changed, 2 deletions(-)

Running 'make dtbs_check' with the schema in this patch gives the
following warnings. Consider if they are expected or the schema is
incorrect. These may not be new warnings.

Note that it is not yet a requirement to have 0 warnings for dtbs_check.
This will change in the future.

Full log is available here:

dsi@40016c00: Unevaluated properties are not allowed ('panel-dsi@0' was unexpected)

dsi@5a000000: Unevaluated properties are not allowed ('panel-dsi@0' was unexpected)