[PATCH] spi: dt-bindings: nvidia,tegra210-quad-peripheral-props: correct additional properties

Krzysztof Kozlowski posted 1 patch 3 years, 8 months ago
.../bindings/spi/nvidia,tegra210-quad-peripheral-props.yaml    | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] spi: dt-bindings: nvidia,tegra210-quad-peripheral-props: correct additional properties
Posted by Krzysztof Kozlowski 3 years, 8 months ago
Re-usable schemas should use additionalProperties:true, so the schema
using it will check for evaluated properties.

Fixes: e23917822d3c ("spi: dt-bindings: split peripheral prods")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../bindings/spi/nvidia,tegra210-quad-peripheral-props.yaml    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad-peripheral-props.yaml b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad-peripheral-props.yaml
index 24e0c2181d25..2c3cada75339 100644
--- a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad-peripheral-props.yaml
+++ b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad-peripheral-props.yaml
@@ -29,5 +29,4 @@ properties:
     minimum: 0
     maximum: 255
 
-unevaluatedProperties: true
-
+additionalProperties: true
-- 
2.34.1
Re: [PATCH] spi: dt-bindings: nvidia,tegra210-quad-peripheral-props: correct additional properties
Posted by Mark Brown 3 years, 7 months ago
On Wed, 10 Aug 2022 16:12:36 +0300, Krzysztof Kozlowski wrote:
> Re-usable schemas should use additionalProperties:true, so the schema
> using it will check for evaluated properties.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: dt-bindings: nvidia,tegra210-quad-peripheral-props: correct additional properties
      commit: 63e2df2d9e46e7f9bbbe4a2b94426bfaedb32807

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
Re: [PATCH] spi: dt-bindings: nvidia,tegra210-quad-peripheral-props: correct additional properties
Posted by Rob Herring 3 years, 8 months ago
On Wed, 10 Aug 2022 16:12:36 +0300, Krzysztof Kozlowski wrote:
> Re-usable schemas should use additionalProperties:true, so the schema
> using it will check for evaluated properties.
> 
> Fixes: e23917822d3c ("spi: dt-bindings: split peripheral prods")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../bindings/spi/nvidia,tegra210-quad-peripheral-props.yaml    | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>