Skip to content

Commit f2cfba2

Browse files
krzkWim Van Sebroeck
authored andcommitted
dt-bindings: watchdog: samsung-wdt: Define cluster constraints top-level
Properties should be always constrained in top-level part of the bindings, so move the samsung,cluster-index constrain from if: block. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
1 parent 2dea984 commit f2cfba2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ properties:
4949

5050
samsung,cluster-index:
5151
$ref: /schemas/types.yaml#/definitions/uint32
52+
enum: [0, 1, 2]
5253
description:
5354
Index of CPU cluster on which watchdog is running (in case of Exynos850,
5455
Exynos990 or Google gs101).
@@ -104,8 +105,6 @@ allOf:
104105
items:
105106
- const: watchdog
106107
- const: watchdog_src
107-
samsung,cluster-index:
108-
enum: [0, 1, 2]
109108
required:
110109
- samsung,cluster-index
111110
else:

0 commit comments

Comments
 (0)