dt-bindings: power/supply: qcom,pmi8998-charger: Drop incorrect "#interrupt-cells" from example
Subsystems (3)
Rob Herring (Arm)
maintainerPATCH v2 1/1 dt-bindings: power/supply: qcom,pmi8998-charger: Drop incorrect "#interrupt-cells" from example
Enabling dtc interrupt_provider check reveals the example is missing the "interrupt-controller" property as it is a dependency of "#interrupt-cells". However, the PMIC parent node is not an interrupt controller at all, so the "#interrupt-cells" is erroneous.
---
v2:
- Drop "#interrupt-cells" rather than add "interrupt-controller"
--- .../devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml | 1 - 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/power/supply/qcom,pmi8998-charger.yaml +0 -1
@@ -60,7 +60,6 @@ examples: pmic { #address-cells = <1>; #size-cells = <0>; - #interrupt-cells = <4>; charger@1000 { compatible = "qcom,pmi8998-charger";
Signature · 1 line
2.45.2
Quoted 9 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". However, the PMIC parent node is not an interrupt controller at all, so the "#interrupt-cells" is erroneous.Signed-off-by Rob Herring (Arm) <[email protected]>---
v2:
- Drop "#interrupt-cells" rather than add "interrupt-controller"
Best regards,
Krzysztof
Sebastian Reichel
AppliedQuoted 6 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". However, the PMIC parent node is not an interrupt controller at all, so the "#interrupt-cells" is erroneous.
Applied, thanks!
[1/1] dt-bindings: power/supply: qcom,pmi8998-charger: Drop incorrect "#interrupt-cells" from example
commit: 5d121065a6993e5ab4ccc0c9629241f256d11ad0
Best regards,
Signature · 1 line
Sebastian Reichel <[email protected]>