mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: Rosen Penev <rosenp@gmail.com>, devicetree@vger.kernel.org
Cc: Russell King <linux@armlinux.org.uk>,
	Andrew Lunn <andrew@lunn.ch>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	"moderated list:ARM/Marvell Kirkwood and Armada 370, 375,
	38x,..." <linux-arm-kernel@lists.infradead.org>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCHv2] ARM: dts: marvell: armada-388: use onnn,pca9655 compatible
Date: Wed, 30 Sep 2026 08:49:10 +0200	[thread overview]
Message-ID: <87a4oz8c9l.fsf@BLaptop.bootlin.com> (raw)
In-Reply-To: <20260908060438.43338-1-rosenp@gmail.com>

Rosen Penev <rosenp@gmail.com> writes:

> The PCA9655s on the ClearFog and Helios4 boards are
> register-compatible with the pca9555, and the gpio-pca953x driver has
> matched "onnn,pca9655" in its OF match table since
> commit 6d49b3a0f351 ("gpio: pca953x: Add support for the On Semi
> pca9655").  OF matching is tried before the legacy I2C ID-table
> matching that the old comment alluded to, so the restriction no longer
> applies.  List the real part and drop the stale comment.
>
> The I2C client is now named "pca9655" instead of "pca9555", but the
> expander is otherwise identical.
>
> Assisted-by: opencode:big-pickle
> Signed-off-by: Rosen Penev <rosenp@gmail.com>

Applied on mvebu/dt

Thanks,

Gregory
> ---
>  v2: rebase.
>  arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi | 7 +------
>  arch/arm/boot/dts/marvell/armada-388-helios4.dts   | 9 +--------
>  2 files changed, 2 insertions(+), 14 deletions(-)
>
> diff --git a/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi b/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi
> index f8a06ae4a3c9..4a61e9d1a2c0 100644
> --- a/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi
> +++ b/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi
> @@ -131,12 +131,7 @@ &i2c0 {
>  	 * 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";
>  		gpio-controller;
>  		#gpio-cells = <2>;
>  		reg = <0x20>;
> diff --git a/arch/arm/boot/dts/marvell/armada-388-helios4.dts b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
> index 39b2d4fa742c..bf6d70e2078b 100644
> --- a/arch/arm/boot/dts/marvell/armada-388-helios4.dts
> +++ b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
> @@ -160,14 +160,7 @@ i2c@11000 {
>  				 *  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";
>  					gpio-controller;
>  					#gpio-cells = <2>;
>  					reg = <0x20>;
> -- 
> 2.55.0
>

-- 
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2026-09-30  6:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-08  6:04 Rosen Penev
2026-09-30  6:49 ` Gregory CLEMENT [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-09-07  0:59 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=87a4oz8c9l.fsf@BLaptop.bootlin.com \
    --to=gregory.clement@bootlin.com \
    --cc=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=robh@kernel.org \
    --cc=rosenp@gmail.com \
    --cc=sebastian.hesselbarth@gmail.com \
    /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

all inboxes | Powered by JetHome®