regulator: maxim,max8973: Document interrupts property
authorThierry Reding <treding@nvidia.com>
Mon, 6 Dec 2021 15:34:32 +0000 (16:34 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 7 Dec 2021 14:33:25 +0000 (14:33 +0000)
One of the examples in the bindings has an interrupts property and the
Linux kernel driver has support for requesting an interrupt as well. It
looks like the absence from the bindings was just an oversight. Add the
property to make sure the examples can be validated.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20211206153432.226963-1-thierry.reding@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/maxim,max8973.yaml

index 5452282..35c53e2 100644 (file)
@@ -86,6 +86,9 @@ properties:
   reg:
     maxItems: 1
 
+  interrupts:
+    maxItems: 1
+
 required:
   - compatible
   - reg