[PATCH 1/2] dt-bindings: mfd: qcom,pm8008: make the interrupt line optional

From: Oleg Keri

Date: Tue Sep 08 2026 - 09:46:17 EST


The PM8008 raises an interrupt for its own status, its temperature alarm
and its two GPIOs, but the pin does not have to be routed. On the Lenovo
Yoga Slim 7x Gen 11 it is not: the platform firmware describes the PMIC
with an I2C connection and nothing else, and the vendor driver talks to it
purely over I2C.

Drop interrupts from the required list, along with interrupt-controller
and #interrupt-cells, which cannot work without it. Add a dependency so
that a node claiming to be an interrupt controller still has to say where
its own interrupt comes from.

Signed-off-by: Oleg Keri <okerixx@xxxxxxxxx>
---
Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml
index 0c6e1870db1d..db1592e115e8 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml
@@ -88,7 +88,6 @@ properties:
required:
- compatible
- reg
- - interrupts
- vdd-l1-l2-supply
- vdd-l3-l4-supply
- vdd-l5-supply
@@ -97,10 +96,12 @@ required:
- gpio-controller
- "#gpio-cells"
- gpio-ranges
- - interrupt-controller
- - "#interrupt-cells"
- "#thermal-sensor-cells"

+dependentRequired:
+ interrupt-controller: [ interrupts ]
+ "#interrupt-cells": [ interrupts ]
+
additionalProperties: false

examples:
--
2.55.0