Re: [PATCH] spi: dt-bindings: Make "additionalProperties: true" explicit
From: Heiko Stübner
Date: Thu Oct 05 2023 - 12:15:31 EST
Am Montag, 25. September 2023, 23:26:00 CEST schrieb Rob Herring:
> Make it explicit that child nodes have additional properties and the
> child node schema is not complete. The complete schemas are applied
> separately based the compatible strings.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/spi/rockchip-sfc.yaml | 2 ++
> diff --git a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml
> index 339fb39529f3..ac1503de0478 100644
> --- a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml
> +++ b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml
> @@ -47,6 +47,8 @@ properties:
> patternProperties:
> "^flash@[0-3]$":
> type: object
> + additionalProperties: true
> +
> properties:
> reg:
> minimum: 0
For rockchip-sfc:
Acked-by: Heiko Stuebner <heiko@xxxxxxxxx>