From: sashiko-bot@kernel.org
To: "Rosen Penev" <rosenp@gmail.com>
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCHv2] ARM: dts: marvell: armada-388: use onnn,pca9655 compatible
Date: Tue, 08 Sep 2026 06:12:07 +0000 [thread overview]
Message-ID: <20260908061208.0984E1F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260908060438.43338-1-rosenp@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Dropping the 'nxp,pca9555' fallback compatible string breaks backwards compatibility with older kernels and bootloaders.
- [Low] The new compatible string 'onnn,pca9655' is not documented in the device tree bindings schema.
--
commit 0aa44d4fbea2198095d07080778a930cfaf868f9
Author: Rosen Penev <rosenp@gmail.com>
ARM: dts: marvell: armada-388: use onnn,pca9655 compatible
This commit updates the Armada 388 ClearFog and Helios4 device trees to use
the "onnn,pca9655" compatible string for their PCA9655 GPIO expanders,
removing the previous "nxp,pca9555" compatible and a stale comment.
> diff --git a/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi b/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi
> --- a/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi
> +++ b/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi
[ ... ]
> * 15-SFP_MOD_DEF0
> */
> expander0: gpio-expander@20 {
> - /*
> - * This is how it should be:
> - * compatible = "onnn,pca9655", "nxp,pca9555";
> - * but you can't do this because of the way I2C works.
> - */
> - compatible = "nxp,pca9555";
> + compatible = "onnn,pca9655";
[Severity: Low]
Is the new compatible string "onnn,pca9655" documented in the device tree
bindings schema? Running dt validation tools like make dtbs_check against
the modified device tree files might report schema validation failures for
expander0.
[Severity: High]
Does dropping the "nxp,pca9555" fallback compatible string break backwards
compatibility with older kernels and bootloaders?
When booting an older kernel (e.g. LTS v5.10, prior to the addition of
"onnn,pca9655") with this newly compiled device tree binary (DTB), the
driver's OF match table will fail to recognize "onnn,pca9655".
Because the "nxp,pca9555" fallback has been removed instead of combined into
a proper compatible list, probing will fail, making dependent hardware
functionality such as SFP modules unusable.
> diff --git a/arch/arm/boot/dts/marvell/armada-388-helios4.dts b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
> --- a/arch/arm/boot/dts/marvell/armada-388-helios4.dts
> +++ b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
[ ... ]
> * 6-USB3 power
> */
> expander0: gpio-expander@20 {
> - /*
> - * This is how it should be:
> - * compatible = "onnn,pca9655",
> - * "nxp,pca9555";
> - * but you can't do this because of
> - * the way I2C works.
> - */
> - compatible = "nxp,pca9555";
> + compatible = "onnn,pca9655";
[Severity: High]
Similarly for expander0 on the Helios4 board, does removing the fallback
compatible string prevent older kernels from probing the I2C GPIO expander
and break USB3 power functionality when a user updates their DTB independently
of their kernel?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260908060438.43338-1-rosenp@gmail.com?part=1
next prev parent reply other threads:[~2026-09-08 6:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-08 6:04 [PATCHv2] ARM: dts: marvell: armada-388: use onnn,pca9655 compatible Rosen Penev
2026-09-08 6:12 ` sashiko-bot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-09-07 0:59 Rosen Penev
2026-09-07 1:12 ` sashiko-bot
2026-09-07 1:19 ` Rosen Penev
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=20260908061208.0984E1F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=rosenp@gmail.com \
--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