From: sashiko-bot@kernel.org
To: "Jishnu Prakash" <jishnu.prakash@oss.qualcomm.com>
Cc: mfd@lists.linux.dev, devicetree@vger.kernel.org, robh@kernel.org,
conor+dt@kernel.org, lee@kernel.org
Subject: Re: [PATCH v6 7/8] dt-bindings: mfd: pm8008: Make interrupts optional
Date: Fri, 04 Dec 2026 06:13:54 +0000 [thread overview]
Message-ID: <sashiko-outbox-249192@kernel.org> (raw)
In-Reply-To: <20261204-pm8010_i2c_support-v6-7-55c4146e1bd4@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: mfd: qcom,pm8008: dependencies breaks
interrupts-extended
--
commit 18e8ed005cfaa09e57c54e749030db8655921b61
Author: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
dt-bindings: mfd: pm8008: Make interrupts optional
This commit removes interrupts, interrupt-controller, and #interrupt-cells
from the required list in the qcom,pm8008 binding and adds a dependencies
rule tying interrupt-controller to interrupts and #interrupt-cells.
> diff --git a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml
> index 64d4e26d16fa7..e6f2f1a9614a5 100644
> --- a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml
> +++ b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml
> @@ -121,7 +121,6 @@ allOf:
> required:
> - compatible
> - reg
> - - interrupts
> - vdd-l1-l2-supply
> - vdd-l3-l4-supply
> - vdd-l5-supply
> @@ -130,10 +129,11 @@ required:
> - gpio-controller
> - "#gpio-cells"
> - gpio-ranges
> - - interrupt-controller
> - - "#interrupt-cells"
> - "#thermal-sensor-cells"
>
> +dependencies:
> + interrupt-controller: [ interrupts, "#interrupt-cells" ]
[Severity: Medium]
Does this dependencies rule break dtbs_check for nodes that use
interrupts-extended instead of interrupts?
Previously, dtschema rewrote interrupts in the top-level required list to
accept either interrupts or interrupts-extended. List-valued entries under
dependencies are not rewritten the same way, so any node declaring
interrupt-controller now literally requires interrupts.
All seven in-tree qcom,pm8008 nodes (such as in
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts) pair
interrupt-controller with interrupts-extended and will fail dtbs_check.
The schema example uses interrupts, so dt_binding_check misses this.
A schema-valued dependency (or allOf if/then) requiring #interrupt-cells
along with a oneOf over interrupts and interrupts-extended, as in
Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml, would preserve
support for interrupts-extended.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-pm8010_i2c_support-v6-0-55c4146e1bd4@oss.qualcomm.com?part=7
next prev parent reply other threads:[~2026-12-04 6:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 5:50 [PATCH v6 0/8] mfd: qcom-pm8008: Add support for PM8010 over I2C Jishnu Prakash
2026-12-04 5:50 ` [PATCH v6 1/8] dt-bindings: mfd: pm8008: Add qcom,pm8010-i2c compatible Jishnu Prakash
2026-12-04 5:50 ` [PATCH v6 2/8] regulator: pm8008: Add PM8010 support Jishnu Prakash
2026-12-04 5:50 ` [PATCH v6 3/8] dt-bindings: mfd: pm8008: Add mode constants for PM8010 regulators Jishnu Prakash
2026-12-04 6:00 ` sashiko-bot
2026-12-04 5:50 ` [PATCH v6 4/8] regulator: pm8008: Add mode voting support for PM8010 Jishnu Prakash
2026-12-04 5:58 ` sashiko-bot
2026-12-04 5:50 ` [PATCH v6 5/8] mfd: qcom-pm8008: Drop GPIO support Jishnu Prakash
2026-12-04 5:50 ` [PATCH v6 6/8] mfd: qcom-pm8008: Add PM8010 support Jishnu Prakash
2026-12-04 5:50 ` [PATCH v6 7/8] dt-bindings: mfd: pm8008: Make interrupts optional Jishnu Prakash
2026-12-04 6:13 ` sashiko-bot [this message]
2026-12-04 5:50 ` [PATCH v6 8/8] mfd: qcom-pm8008: Tolerate missing interrupt Jishnu Prakash
2026-12-04 6:04 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-249192@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jishnu.prakash@oss.qualcomm.com \
--cc=lee@kernel.org \
--cc=mfd@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.