diff mbox series

dt-bindings: power/supply: qcom,pmi8998-char: Add missing "interrupt-controller" to example

Message ID 20240925173413.1905782-1-robh@kernel.org
State Accepted
Commit 5d121065a6993e5ab4ccc0c9629241f256d11ad0
Headers show
Series dt-bindings: power/supply: qcom,pmi8998-char: Add missing "interrupt-controller" to example | expand

Commit Message

Rob Herring (Arm) Sept. 25, 2024, 5:34 p.m. UTC
Enabling dtc interrupt_provider check reveals the example is missing
the "interrupt-controller" property as it is a dependency of
"#interrupt-cells".

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml   | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml b/Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml
index 277c47e048b6..a1b4926e7190 100644
--- a/Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml
+++ b/Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml
@@ -61,6 +61,7 @@  examples:
       #address-cells = <1>;
       #size-cells = <0>;
       #interrupt-cells = <4>;
+      interrupt-controller;
 
       charger@1000 {
         compatible = "qcom,pmi8998-charger";