Skip to contentSkip to conversation

gpio: pca953x: Add devices to Kconfig help

PATCH In review Aaron Sierra 4 participants 5 messages Feb 7, 2014 – Feb 13, 2014 1 message not in the archive GPIO

lore
Share & tools
lore
#1 lore raw

PATCH 1/3 gpio: pca953x: Add devices to Kconfig help

In reply to a message not in the archive

The pca953x driver supports tca6424 (24-bit) and pca9505 (40-bit) devices. They were the only supported devices not mentioned in the Kconfig help.

---
 drivers/gpio/Kconfig        |    4 ++++
 drivers/gpio/gpio-pca953x.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
drivers/gpio/Kconfig +4 -0
index 6973387..fd7ad66 100644
@@ -476,6 +476,10 @@ config GPIO_PCA953X
 	  16 bits:	max7312, max7313, pca9535, pca9539, pca9555, pca9575,
 			tca6416
 
+	  24 bits:	tca6424
+
+	  40 bits:	pca9505
+
 config GPIO_PCA953X_IRQ
 	bool "Interrupt controller support for PCA953x"
 	depends on GPIO_PCA953X=y
drivers/gpio/gpio-pca953x.c +1 -1
index 019b23b..cede6f6 100644
@@ -1,5 +1,5 @@
 /*
- *  PCA953x 4/8/16 bit I/O ports
+ *  PCA953x 4/8/16/24/40 bit I/O ports
  *
  *  Copyright (C) 2005 Ben Gardner <[email protected]>
  *  Copyright (C) 2007 Marvell International Ltd.
Signature · 1 line
1.7.9.5
#2 lore raw
Quoted 5 lines · Aaron Sierra

The pca953x driver supports tca6424 (24-bit) and pca9505 (40-bit) devices. They were the only supported devices not mentioned in the Kconfig help.

Can I get some help from the previous pca953x contributors to have a look at these new patches? An ACK or similar would be nice.

Yours,
Linus Walleij

#3 lore raw

Hi all,

Quoted 10 lines · Linus Walleij
Quoted 5 lines · Aaron Sierra

The pca953x driver supports tca6424 (24-bit) and pca9505 (40-bit) devices. They were the only supported devices not mentioned in the Kconfig help.

Can I get some help from the previous pca953x contributors to have a look at these new patches? An ACK or similar would be nice.

I've had a quick glance at the relevant datasheets and don't see any problems. The XRA1202 (added by patch) is explicitly compatible with the PCA9538 (already supported), and the datasheets for the PCA9698 (added by patch) and the PCA9505 (already supported) can be read side-by-side.

cheers,
Graeme

#4 lore raw
In reply to Linus Walleij
Quoted 8 lines · Linus Walleij
Quoted 5 lines · Aaron Sierra

The pca953x driver supports tca6424 (24-bit) and pca9505 (40-bit) devices. They were the only supported devices not mentioned in the Kconfig help.

Quoted 7 lines

Can I get some help from the previous pca953x contributors to have a look at these new patches? An ACK or similar would be nice.

Yours,
Linus Walleij

Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com