All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpio: pca953x: Add support for MaxLinear's XRA1200 / XRA1200P
@ 2026-10-25 15:48 Uwe Kleine-König
  2026-10-25 15:53 ` Uwe Kleine-König
  2026-10-25 15:54 ` sashiko-bot
  0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2026-10-25 15:48 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski; +Cc: linux-gpio

These are documented to be compatible with PCA9534 and PCA9554
respectively. The difference between the two is, that the XRA1200P has
the configurable pull-ups enabled upon power-up.

Datasheet available at https://www.maxlinear.com/ds/xra1200.pdf.

Signed-off-by: Uwe Kleine-König <ukleinek@debian.org>
---
 drivers/gpio/gpio-pca953x.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index afec5ec23696..ea01fd152ac2 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -124,6 +124,8 @@ static const struct i2c_device_id pca953x_id[] = {
 	{ .name = "tca9538", .driver_data = 8  | PCA953X_TYPE | PCA_INT },
 	{ .name = "tca9539", .driver_data = 16 | PCA953X_TYPE | PCA_INT },
 	{ .name = "tca9554", .driver_data = 8  | PCA953X_TYPE | PCA_INT },
+	{ .name = "xra1200", .driver_data = 8  | PCA953X_TYPE },
+	{ .name = "xra1200p", .driver_data = 8  | PCA953X_TYPE },
 	{ .name = "xra1202", .driver_data = 8  | PCA953X_TYPE },
 
 	{ .name = "tcal6408", .driver_data = 8  | PCA953X_TYPE | PCA_LATCH_INT },
@@ -1485,6 +1487,9 @@ static const struct of_device_id pca953x_dt_ids[] = {
 	{ .compatible = "nxp,pcal9554b", .data = OF_953X( 8, PCA_LATCH_INT), },
 	{ .compatible = "nxp,pcal9555a", .data = OF_953X(16, PCA_LATCH_INT), },
 
+	{ .compatible = "maxlinear,xra1200",  .data = OF_953X( 8, PCA_INT), },
+	{ .compatible = "maxlinear,xra1200p", .data = OF_953X( 8, PCA_INT), },
+
 	{ .compatible = "maxim,max7310", .data = OF_953X( 8, 0), },
 	{ .compatible = "maxim,max7312", .data = OF_953X(16, PCA_INT), },
 	{ .compatible = "maxim,max7313", .data = OF_953X(16, PCA_INT), },
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-25 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-25 15:48 [PATCH] gpio: pca953x: Add support for MaxLinear's XRA1200 / XRA1200P Uwe Kleine-König
2026-10-25 15:53 ` Uwe Kleine-König
2026-10-25 15:54 ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.