dt-bindings: arm: vexpress-config: Drop ineffective label limits
Subsystems (2)
Sudeep Holla
maintainerPATCH v2 1/1 dt-bindings: arm: vexpress-config: Drop ineffective label limits
The core Devicetree schema defines label as a scalar string. The vexpress-config regulator, amp, temp, power and energy child schemas apply maxItems: 1 to label. This keyword constrains arrays and has no effect on a string value.
Remove these ineffective constraints from the child schemas.
---
v1->v2:
- Mark label as available with maxItems constraint removed.
- Link to v1: https://lore.kernel.org/all/[email protected]
.../devicetree/bindings/arm/vexpress-config.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-)
Documentation/devicetree/bindings/arm/vexpress-config.yaml +5 -10
@@ -154,8 +154,7 @@ additionalProperties: false - const: 2 - description: device number - label: - maxItems: 1 + label: true unevaluatedProperties: false required:
@@ -175,8 +174,7 @@ additionalProperties: false - const: 3 - description: device number - label: - maxItems: 1 + label: true additionalProperties: false required:
@@ -196,8 +194,7 @@ additionalProperties: false - const: 4 - description: device number - label: - maxItems: 1 + label: true additionalProperties: false required:
@@ -235,8 +232,7 @@ additionalProperties: false - const: 12 - description: device number - label: - maxItems: 1 + label: true additionalProperties: false required:
@@ -262,8 +258,7 @@ additionalProperties: false - const: 13 - description: second device number - label: - maxItems: 1 + label: true additionalProperties: false required:
Signature · 1 line
2.43.0
Quoted 11 lines · Sudeep Holla
The core Devicetree schema defines label as a scalar string. The vexpress-config regulator, amp, temp, power and energy child schemas apply maxItems: 1 to label. This keyword constrains arrays and has no effect on a string value.
Remove these ineffective constraints from the child schemas.
Reported-by Sashiko <[email protected]>Signed-off-by Sudeep Holla <[email protected]>---
Best regards,
Krzysztof
Quoted 8 lines · Sudeep Holla
The core Devicetree schema defines label as a scalar string. The vexpress-config regulator, amp, temp, power and energy child schemas apply maxItems: 1 to label. This keyword constrains arrays and has no effect on a string value.
Remove these ineffective constraints from the child schemas.
[...]
Applied to sudeep.holla/linux (for-next/vexpress/updates), thanks!
[1/1] dt-bindings: arm: vexpress-config: Drop ineffective label limits
https://git.kernel.org/sudeep.holla/c/8c2f870460b2
Signature · 2 lines
Regards, Sudeep