Skip to contentSkip to conversation

dt-bindings: watchdog: arm,sp805: reference the PrimeCell binding

PATCH New David Yang 1 participant 1 message Nov 14

Subsystems (2)
lore
Share & tools
lore

David Yang

author
#0 lore raw

PATCH 1/1 dt-bindings: watchdog: arm,sp805: reference the PrimeCell binding

Unlike the other PrimeCell bindings, the binding ends in
unevaluatedProperties: false without referencing /schemas/arm/primecell.yaml#, so arm,primecell-periphid is not an evaluated property on an arm,sp805 node. Two nodes in the tree carry that property regardless -- watchdog@a2c000 in hisi-x5hd2.dtsi and watchdog@8000 in mps2.dtsi.

make CHECK_DTBS=y:

watchdog@a2c000 (arm,sp805): Unevaluated properties are not allowed ('arm,primecell-periphid' was unexpected)

Add the reference so the property becomes evaluable; both nodes then validate.

Fixes 73d3e43f9813 ("dt-bindings: watchdog: sp-805: Convert to Json-schema")
---
 Documentation/devicetree/bindings/watchdog/arm,sp805.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/arm,sp805.yaml +1 -0
index bd7c09ed1938..690456839fcc 100644
@@ -16,6 +16,7 @@ description: |+
 
 allOf:
   - $ref: /schemas/watchdog/watchdog.yaml#
+  - $ref: /schemas/arm/primecell.yaml#
 
 # Need a custom select here or 'arm,primecell' will match on lots of nodes
 select:
Signature · 1 line
2.53.0