Skip to contentSkip to conversation

dt-bindings: gpu: arm,mali-utgard: Use unevaluatedProperties

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Aug 30, 2020 – Sep 3, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: gpu: arm,mali-utgard: Use unevaluatedProperties

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]+'

---
 Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml +1 -1
index 6226d31ec4b7..021690391bea 100644
@@ -119,7 +119,7 @@ required:
   - clocks
   - clock-names
 
-additionalProperties: false
+unevaluatedProperties: false
 
 allOf:
   - if:
Signature · 6 lines
2.17.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 7 lines · 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]+'

When unevaluatedProperties support is actually implemented (there's a prototype), this will still be a warning. You need to document any additional properties/nodes.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel