Skip to content

Commit 550d1bd

Browse files
krzkWim Van Sebroeck
authored andcommitted
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>
1 parent 017bca9 commit 550d1bd

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Documentation/devicetree/bindings/mfd/rohm,bd96801-pmic.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ properties:
5757
- prstb
5858
- intb-only
5959

60-
timeout-sec:
61-
maxItems: 2
60+
timeout-sec: true
6261

6362
regulators:
6463
$ref: /schemas/regulator/rohm,bd96801-regulator.yaml
@@ -72,7 +71,10 @@ required:
7271
- interrupt-names
7372
- regulators
7473

75-
additionalProperties: false
74+
allOf:
75+
- $ref: /schemas/watchdog/watchdog.yaml
76+
77+
unevaluatedProperties: false
7678

7779
examples:
7880
- |

0 commit comments

Comments
 (0)