* [PATCH] dt-bindings: gpu: arm,mali-utgard: Use unevaluatedProperties
@ 2020-08-30 8:40 Krzysztof Kozlowski
2020-09-03 15:25 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2020-08-30 8:40 UTC (permalink / raw)
To: David Airlie, Daniel Vetter, Rob Herring, Maxime Ripard,
Heiko Stuebner, dri-devel, devicetree, linux-kernel
Cc: Krzysztof Kozlowski
Additional properties or nodes actually might appear (e.g. operating
points table) so use unevaluatedProperties to fix dtbs_check warnings
like:
arch/arm/boot/dts/exynos4210-i9100.dt.yaml: gpu@13000000:
'opp_table' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
index 6226d31ec4b7..021690391bea 100644
--- a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
+++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
@@ -119,7 +119,7 @@ required:
- clocks
- clock-names
-additionalProperties: false
+unevaluatedProperties: false
allOf:
- if:
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: gpu: arm,mali-utgard: Use unevaluatedProperties
2020-08-30 8:40 [PATCH] dt-bindings: gpu: arm,mali-utgard: Use unevaluatedProperties Krzysztof Kozlowski
@ 2020-09-03 15:25 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-09-03 15:25 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: David Airlie, Daniel Vetter, Maxime Ripard, Heiko Stuebner,
dri-devel, devicetree, linux-kernel@vger.kernel.org
On Sun, Aug 30, 2020 at 2:40 AM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> Additional properties or nodes actually might appear (e.g. operating
> points table) so use unevaluatedProperties to fix dtbs_check warnings
> like:
>
> arch/arm/boot/dts/exynos4210-i9100.dt.yaml: gpu@13000000:
> 'opp_table' does not match any of the regexes: 'pinctrl-[0-9]+'
When unevaluatedProperties support is actually implemented (there's a
prototype), this will still be a warning. You need to document any
additional properties/nodes.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-03 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-30 8:40 [PATCH] dt-bindings: gpu: arm,mali-utgard: Use unevaluatedProperties Krzysztof Kozlowski
2020-09-03 15:25 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).