dt-bindings: power/supply: qcom,pmi8998-char: Add missing "interrupt-controller" to example
Subsystems (3)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: power/supply: qcom,pmi8998-char: Add missing "interrupt-controller" to example
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) <[email protected]>
--- .../devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml +1 -0
@@ -61,6 +61,7 @@ examples: #address-cells = <1>; #size-cells = <0>; #interrupt-cells = <4>; + interrupt-controller; charger@1000 { compatible = "qcom,pmi8998-charger";
Signature · 1 line
2.45.2
Quoted 14 lines · Rob Herring (Arm)
Enabling dtc
interrupt_providercheck reveals the example is missing the "interrupt-controller" property as it is a dependency of "#interrupt-cells".Signed-off-by Rob Herring (Arm) <[email protected]>--- .../devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml +0
-0
Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml examples: · line 64
Quoted 4 lines
Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml +1
-0@@ -61,6 +61,7 @@ examples: #address-cells = <1>; #size-cells = <0>; #interrupt-cells = <4>; + interrupt-controller;
Opposite, the interrupt-cells should be dropped. The parent ("pmic") is qcom,spmi-pmic.yaml which is not an interrupt controller, according to the bindings.
Best regards,
Krzysztof