[PATCH] spi: dt-bindings: Make "additionalProperties: true" explicit
Heiko Stübner
heiko at sntech.de
Thu Oct 5 02:57:12 PDT 2023
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 at kernel.org>
> ---
> 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 at sntech.de>
More information about the Linux-rockchip
mailing list