* [PATCH] ARM: dts: marvell: armada-388: use onnn,pca9655 compatible
@ 2026-09-05 0:04 Rosen Penev
0 siblings, 0 replies; only message in thread
From: Rosen Penev @ 2026-09-05 0:04 UTC (permalink / raw)
To: devicetree
Cc: Andrew Lunn, Gregory Clement, Sebastian Hesselbarth, Russell King,
Rob Herring, Krzysztof Kozlowski, Conor Dooley,
moderated list:ARM/Marvell Kirkwood and Armada 370, 375, 38x,...,
open list
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>
---
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 6321425eb9c6..34f63b6fbc74 100644
--- a/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi
+++ b/arch/arm/boot/dts/marvell/armada-388-clearfog.dtsi
@@ -92,12 +92,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 c1c1b16392ef..562fa2e34da1 100644
--- a/arch/arm/boot/dts/marvell/armada-388-helios4.dts
+++ b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
@@ -195,14 +195,7 @@ &i2c0 {
* 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-05 0:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 0:04 [PATCH] ARM: dts: marvell: armada-388: use onnn,pca9655 compatible Rosen Penev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).