From: sashiko-bot@kernel.org
To: Frank.Li@oss.nxp.com
Cc: robh@kernel.org, devicetree@vger.kernel.org, Frank.Li@kernel.org,
imx@lists.linux.dev, conor+dt@kernel.org
Subject: Re: [PATCH 1/1] regulator: dt-bindings: Convert ltc3589.txt to yaml format
Date: Tue, 07 Jul 2026 21:23:28 +0000 [thread overview]
Message-ID: <20260707212329.179281F00ADB@smtp.kernel.org> (raw)
In-Reply-To: <20260707211612.2757349-1-Frank.Li@oss.nxp.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The schema uses `additionalProperties: false` at the root but fails to document the `interrupts` property, causing valid device trees that use the PMIC interrupt to fail validation.
- [Low] The `lltc,fb-voltage-divider` property is missing from the `required` list for the `sw1`, `sw2`, `sw3`, `bb-out`, `ldo1`, and `ldo2` regulator nodes in the YAML schema.
--
--- Patch [1]: [PATCH 1/1] regulator: dt-bindings: Convert ltc3589.txt to yaml format ---
commit d75bd969ae4548dedbfaa0e3da2470b322b67662
Author: Frank Li <Frank.Li@nxp.com>
regulator: dt-bindings: Convert ltc3589.txt to yaml format
Convert ltc3589.txt to yaml format.
> diff --git a/Documentation/devicetree/bindings/regulator/lltc,ltc3589.yaml b/Documentation/devicetree/bindings/regulator/lltc,ltc3589.yaml
> new file mode 100644
> index 0000000000000..3bf44fbe321bc
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/regulator/lltc,ltc3589.yaml
[ ... ]
> +properties:
> + compatible:
> + enum:
> + - lltc,ltc3589
> + - lltc,ltc3589-1
> + - lltc,ltc3589-2
> +
> + reg:
> + maxItems: 1
> +
> + regulators:
> + type: object
[Severity: Medium]
Should interrupts be defined in this properties block?
The schema uses additionalProperties: false at the root level, but the driver
supports interrupts for thermal and undervoltage warnings. Will valid device
trees that specify the interrupts property fail validation without it being
explicitly allowed here?
> + additionalProperties: false
> +
> + patternProperties:
> + "^(sw1|sw2|sw3|bb-out|ldo1|ldo2)$":
> + type: object
> + unevaluatedProperties: false
> + $ref: regulator.yaml#
> +
> + properties:
> + lltc,fb-voltage-divider:
[Severity: Low]
Does lltc,fb-voltage-divider need to be added to a required list for these
regulators?
The old text binding specified this as a required property for sw1, sw2, sw3,
bb-out, ldo1, and ldo2. Without a required list in this patternProperties
block, won't device trees that omit lltc,fb-voltage-divider incorrectly pass
schema validation?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260707211612.2757349-1-Frank.Li@oss.nxp.com?part=1
prev parent reply other threads:[~2026-07-07 21:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 21:16 [PATCH 1/1] regulator: dt-bindings: Convert ltc3589.txt to yaml format Frank.Li
2026-07-07 21:23 ` sashiko-bot [this message]
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=20260707212329.179281F00ADB@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=Frank.Li@oss.nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox