Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Jerome Brunet" <jbrunet@baylibre.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v6 3/5] dt-bindings: mfd: x-powers,axp152: Document AXP318W
Date: Fri, 31 Jul 2026 14:53:37 +0000	[thread overview]
Message-ID: <20260731145338.4479A1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260731-axp318-regulator-v6-3-b4e745552a35@baylibre.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The compatible string `x-powers,axp318w` is omitted from the conditional block that makes the `interrupts` property optional.
--

--- Patch [3]: [PATCH v6 3/5] dt-bindings: mfd: x-powers,axp152: Document AXP318W ---
commit 0a2fd6c8b0d8fd1a45bf4a464bf3e71df8fa62f6
Author: Andre Przywara <andre.przywara@arm.com>

dt-bindings: mfd: x-powers,axp152: Document AXP318W

This commit documents the AXP318W PMIC in the x-powers,axp152 bindings.
It adds the new compatible string to the lists of PMICs that lack PWM
frequency properties, and adds new input supply properties.

> diff --git a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
> index 45f015d63df16..38556c32417b3 100644
> --- a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
> +++ b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
> @@ -83,6 +83,7 @@ allOf:

[Severity: Medium]
Was the x-powers,axp318w compatible string intentionally omitted from the
interrupt requirement conditional block earlier in this file?

Looking at the block just above this hunk:

  - if:
      not:
        properties:
          compatible:
            contains:
              enum:
                - x-powers,axp15060
                - x-powers,axp305
                - x-powers,axp313a
                - x-powers,axp323
    then:
      required:
        - interrupts

Since x-powers,axp318w is missing from this exclusion list, the interrupts
property will be strictly enforced during schema validation. Does
this match the expected configuration for this PMIC?

>            contains:
>              enum:
>                - x-powers,axp313a
> +              - x-powers,axp318w
>                - x-powers,axp323
>                - x-powers,axp15060
>                - x-powers,axp717

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260731-axp318-regulator-v6-0-b4e745552a35@baylibre.com?part=3

  reply	other threads:[~2026-07-31 14:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-31 14:43 [PATCH v6 0/5] regulator: Add X-Powers AXP318W PMIC support Jerome Brunet
2026-07-31 14:43 ` [PATCH v6 1/5] mfd: axp20x: Constify axp313 and axp717 cells Jerome Brunet
2026-07-31 14:43 ` [PATCH v6 2/5] mfd: axp20x-i2c: Fix i2c instantiation Jerome Brunet
2026-07-31 14:43 ` [PATCH v6 3/5] dt-bindings: mfd: x-powers,axp152: Document AXP318W Jerome Brunet
2026-07-31 14:53   ` sashiko-bot [this message]
2026-07-31 15:42     ` Jerome Brunet
2026-07-31 14:43 ` [PATCH v6 4/5] mfd: axp20x: Add support for AXP318W PMIC Jerome Brunet
2026-07-31 14:53   ` sashiko-bot
2026-07-31 15:45     ` Jerome Brunet
2026-07-31 14:43 ` [PATCH v6 5/5] regulator: axp20x: add support for the AXP318W Jerome Brunet

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=20260731145338.4479A1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet@baylibre.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox