dt-bindings: mfd: rohm,bd96801-pmic: Correct timeout-sec length and reference watchdog schema

The parent node of ROHM BD96801 PMIC is also holding properties for the
watchdog, thus it should reference watchdog.yaml schema.  OTOH, the
timeout-sec property is used only as one number.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
Acked-by: Lee Jones <lee@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
Krzysztof Kozlowski 2025-10-20 18:52:22 +02:00 committed by Wim Van Sebroeck
parent 017bca9163
commit 550d1bda39

View File

@ -57,8 +57,7 @@ properties:
- prstb
- intb-only
timeout-sec:
maxItems: 2
timeout-sec: true
regulators:
$ref: /schemas/regulator/rohm,bd96801-regulator.yaml
@ -72,7 +71,10 @@ required:
- interrupt-names
- regulators
additionalProperties: false
allOf:
- $ref: /schemas/watchdog/watchdog.yaml
unevaluatedProperties: false
examples:
- |