Skip to contentSkip to conversation

i2c: muxes: pca954x: add pca9545 support

PATCH In review Frank Wunderlich 3 participants 3 messages Jun 6, 2025 – Jul 17, 2025 I2C muxes

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: muxes: pca954x: add pca9545 support

From: Frank Wunderlich <[email protected]>

Add support for 4 channel pca9545 found on Bananapi R4.

---
 drivers/i2c/muxes/pca954x.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/i2c/muxes/pca954x.c +6 -0
index 9dd269727036..d13947a0d9cc 100644
@@ -22,6 +22,7 @@ enum pca_type {
 	MAX7369,
 	PCA9543,
 	PCA9544,
+	PCA9545,
 	PCA9546,
 	PCA9547,
 	PCA9548,
@@ -79,6 +80,10 @@ static const struct chip_desc chips[] = {
 		.muxtype = pca954x_ismux,
 		.width = 4,
 	},
+	[PCA9545] = {
+		.muxtype = pca954x_isswi,
+		.width = 4,
+	},
 	[PCA9546] = {
 		.muxtype = pca954x_isswi,
 		.width = 4,
@@ -141,6 +146,7 @@ static const struct udevice_id pca954x_ids[] = {
 	{ .compatible = "maxim,max7369", .data = MAX7369 },
 	{ .compatible = "nxp,pca9543", .data = PCA9543 },
 	{ .compatible = "nxp,pca9544", .data = PCA9544 },
+	{ .compatible = "nxp,pca9545", .data = PCA9545 },
 	{ .compatible = "nxp,pca9546", .data = PCA9546 },
 	{ .compatible = "nxp,pca9547", .data = PCA9547 },
 	{ .compatible = "nxp,pca9548", .data = PCA9548 },
Signature · 1 line
2.43.0
Acked-by on v1 1/1
#1 lore raw
Quoted 33 lines · Frank Wunderlich

From: Frank Wunderlich <[email protected]>

Add support for 4 channel pca9545 found on Bananapi R4.

---
  drivers/i2c/muxes/pca954x.c | 6 ++++++
  1 file changed, 6 insertions(+)
drivers/i2c/muxes/pca954x.c +5 -0
index 9dd269727036..d13947a0d9cc 100644
@@ -22,6 +22,7 @@ enum pca_type {
  	MAX7369,
  	PCA9543,
  	PCA9544,
+	PCA9545,
  	PCA9546,
  	PCA9547,
  	PCA9548,
@@ -79,6 +80,10 @@ static const struct chip_desc chips[] = {
  		.muxtype = pca954x_ismux,
  		.width = 4,
  	},
+	[PCA9545] = {
+		.muxtype = pca954x_isswi,
+		.width = 4,
+	},
  	[PCA9546] = {
  		.muxtype = pca954x_isswi,
  		.width = 4,

drivers/i2c/muxes/pca954x.c static const struct udevice_id pca954x_ids[] = { · line 152

Quoted 7 lines
drivers/i2c/muxes/pca954x.c +1 -0
@@ -141,6 +146,7 @@ static const struct udevice_id pca954x_ids[] = {
  	{ .compatible = "maxim,max7369", .data = MAX7369 },
  	{ .compatible = "nxp,pca9543", .data = PCA9543 },
  	{ .compatible = "nxp,pca9544", .data = PCA9544 },
+	{ .compatible = "nxp,pca9545", .data = PCA9545 },
  	{ .compatible = "nxp,pca9546", .data = PCA9546 },
  	{ .compatible = "nxp,pca9547", .data = PCA9547 },
  	{ .compatible = "nxp,pca9548", .data = PCA9548 },

Thanks,
Michal

#2 lore raw
In reply to Frank Wunderlich

Hello Frank,

Quoted 8 lines · Frank Wunderlich

From: Frank Wunderlich <[email protected]>

Add support for 4 channel pca9545 found on Bananapi R4.

---
  drivers/i2c/muxes/pca954x.c | 6 ++++++
  1 file changed, 6 insertions(+)

applied to u-boot-i2c master, thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Johanna Denk, Tabea Lutz
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: [email protected]