Skip to contentSkip to conversation

XRA1403,gpio - add XRA1403 gpio expander driver

PATCH Superseded Nandor Han 7 participants 16 messages Apr 13, 2017 – Apr 26, 2017

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Nandor Han

author
#0 lore raw

v2 cover XRA1403,gpio - add XRA1403 gpio expander driver

The patchset will add a driver to support basic functionality for XRA1403 device. Features supported:
- get/set GPIO direction (input, output)
- get/set GPIO level (low, high)

Documentation: A gpio-xra1403.txt file was added to document the DTS
bindings related to driver.

Testing:

1.1 XRA1403 connected to iMX53 MCU
1.2 Use the GPIO tools provided by kernel from tools/gpio dir

2.1 lsgpio

root@csmon ppd:~# lsgpio
GPIO chip: gpiochip8, "xra1403", 16 GPIO lines

        line  0: unnamed unused [output]
        line  1: unnamed unused [output]
        line  2: unnamed unused [output]
        line  3: unnamed unused [output]
        line  4: unnamed unused [output]
        line  5: unnamed unused
        line  6: unnamed unused
        line  7: unnamed unused [output]
        line  8: unnamed unused [output]
        line  9: unnamed unused

line 10: unnamed unused [output]
line 11: unnamed unused
line 12: unnamed unused
line 13: unnamed unused
line 14: unnamed unused
line 15: unnamed unused [output]
GPIO chip: gpiochip7, "xra1403", 16 GPIO lines

        line  0: unnamed unused
        line  1: unnamed unused
        line  2: unnamed unused
        line  3: unnamed unused
        line  4: unnamed unused
        line  5: unnamed unused
        line  6: unnamed unused
        line  7: unnamed unused
        line  8: unnamed unused
        line  9: unnamed unused

line 10: unnamed unused
line 11: unnamed unused
line 12: unnamed unused
line 13: unnamed unused
line 14: unnamed unused
line 15: unnamed unused

3.1 gpio-hammer

root@csmon ppd:~# gpio-hammer -n gpiochip8 -o0 -o1 -o2 -o3 Hammer lines [0, 1, 2, 3] on gpiochip8, initial states: [0, 0, 0, 0] [\] [0: 0, 1: 0, 2: 0, 3: 0]
...
[\] [0: 1, 1: 1, 2: 1, 3: 1]

When using gpio-hammer I also attached an oscilloscope to one of the pins and I was able to monitor and validate the GPIO status.

Nandor Han (4):
dt-bindings: gpio - add exar to vendor prefixes list gpio - Add EXAR XRA1403 SPI GPIO expander driver doc,dts - add XRA1403 DTS binding documentation Add XRA1403 support to MAINTAINERS file

 .../devicetree/bindings/gpio/gpio-xra1403.txt      |  46 ++++
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 MAINTAINERS                                        |   8 +
 drivers/gpio/Kconfig                               |   5 +
 drivers/gpio/Makefile                              |   1 +
 drivers/gpio/gpio-xra1403.c                        | 236 +++++++++++++++++++++
 6 files changed, 297 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-xra1403.txt
 create mode 100644 drivers/gpio/gpio-xra1403.c
Signature · 1 line
2.10.1
author
#1 lore raw

PATCH v2 1/4 dt-bindings: gpio - add exar to vendor prefixes list

Add Exar Corporation to vendors list.

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
index c7d1b72..ba9058c 100644
@@ -104,6 +104,7 @@ ettus	NI Ettus Research
 eukrea  Eukréa Electromatique
 everest	Everest Semiconductor Co. Ltd.
 everspin	Everspin Technologies, Inc.
+exar	Exar Corporation
 excito	Excito
 ezchip	EZchip Semiconductor
 faraday	Faraday Technology Corporation
Signature · 1 line
2.10.1
maintainer Acked-by on v2 1/4
#2 lore raw

Re: [PATCH v2 1/4] dt-bindings: gpio - add exar to vendor prefixes list

Quoted 1 line · Nandor Han

Add Exar Corporation to vendors list.

This patch has nothing to do with gpio, so that should be dropped from the subject.

Quoted 4 lines
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +

Otherwise,

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#4 lore raw

PATCH v2 2/4 gpio - Add EXAR XRA1403 SPI GPIO expander driver

In reply to Nandor Han

This is a simple driver that provides a /sys/class/gpio interface for controlling and configuring the GPIO lines. It does not provide support for chip select or interrupts.

---
 drivers/gpio/Kconfig        |   5 +
 drivers/gpio/Makefile       |   1 +
 drivers/gpio/gpio-xra1403.c | 236 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 242 insertions(+)
 create mode 100644 drivers/gpio/gpio-xra1403.c
drivers/gpio/Kconfig +5 -0
index 63ceed2..53cbe9b 100644
@@ -1214,6 +1214,11 @@ config GPIO_PISOSR
 	  GPIO driver for SPI compatible parallel-in/serial-out shift
 	  registers. These are input only devices.
 
+config GPIO_XRA1403
+	tristate "EXAR XRA1403 16-bit GPIO expander"
+	help
+	  GPIO driver for EXAR XRA1403 16-bit SPI-based GPIO expander.
+
 endmenu
 
 menu "SPI or I2C GPIO expanders"
drivers/gpio/Makefile +1 -0
index 095598e..76dc3d7 100644
@@ -140,6 +140,7 @@ obj-$(CONFIG_GPIO_XGENE)	+= gpio-xgene.o
 obj-$(CONFIG_GPIO_XGENE_SB)	+= gpio-xgene-sb.o
 obj-$(CONFIG_GPIO_XILINX)	+= gpio-xilinx.o
 obj-$(CONFIG_GPIO_XLP)		+= gpio-xlp.o
+obj-$(CONFIG_GPIO_XRA1403)	+= gpio-xra1403.o
 obj-$(CONFIG_GPIO_XTENSA)	+= gpio-xtensa.o
 obj-$(CONFIG_GPIO_ZEVIO)	+= gpio-zevio.o
 obj-$(CONFIG_GPIO_ZYNQ)		+= gpio-zynq.o
drivers/gpio/gpio-xra1403.c new file +236 -0

236 lines not on this page · raw message

Signature · 6 lines
2.10.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw

Re: [PATCH v2 2/4] gpio - Add EXAR XRA1403 SPI GPIO expander driver

reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross…

Hi Nandor,

[auto build test ERROR on gpio/for-next]
[also build test ERROR on v4.11-rc6 next-20170413]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Nandor-Han/XRA1403-gpio-add-XRA1403-gpio-expander-driver/20170413-215739
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: frv-allyesconfig (attached as .config)
compiler: frv-linux-gcc (GCC) 6.2.0

reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=frv

All errors (new ones prefixed by >>):

drivers//gpio/gpio-xra1403.c: In function 'xra1403_dbg_show':

>> drivers//gpio/gpio-xra1403.c:133:2: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration]
     seq_puts(s, "xra reg:");
     ^~~~~~~~
>> drivers//gpio/gpio-xra1403.c:135:3: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]
      seq_printf(s, " %2.2x", reg);
      ^~~~~~~~~~

cc1: some warnings being treated as errors

vim +/seq_puts +133 drivers//gpio/gpio-xra1403.c

127 struct xra1403 *xra = gpiochip_get_data(chip);
128 int value[xra1403_regmap_cfg.max_register];
129 int i;
130 unsigned int gcr;
131 unsigned int gsr;
132

 > 133		seq_puts(s, "xra reg:");
   134		for (reg = 0; reg <= xra1403_regmap_cfg.max_register; reg++)
 > 135			seq_printf(s, " %2.2x", reg);

136 seq_puts(s, "\n value:");
137 for (reg = 0; reg < xra1403_regmap_cfg.max_register; reg++) {
138 regmap_read(xra->regmap, reg, &value[reg]);

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

#6 lore raw

Re: [PATCH v2 2/4] gpio - Add EXAR XRA1403 SPI GPIO expander driver

In reply to Nandor Han
Quoted 6 lines · Nandor Han

This is a simple driver that provides a /sys/class/gpio interface for controlling and configuring the GPIO lines. It does not provide support for chip select or interrupts.

I almost want to make the driver depend on !GPIO_SYSFS because of this commit message.

DO NOT USE OR ENCOURAGE THE USE OF THE GPIO SYSFS
INTERFACE.

Use the character device.

Use the example in tools/gpio/* as a guideline and testbed.

Use libgpiod as a rich userspace.

And the commit message should state that this is a driver for such and such Exar hardware instead.

Thanks.

drivers/gpio/gpio-xra1403.c line 27

Quoted 9 lines
drivers/gpio/gpio-xra1403.c new file +9 -0
+#include <linux/bitops.h>
+#include <linux/gpio/driver.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/mutex.h>
+#include <linux/of_device.h>
+#include <linux/of_gpio.h>
+#include <linux/spi/spi.h>
+#include <linux/regmap.h>

You are missing
#include <linux/seq_file.h>

and that is why the build robot is complaining.

Yours,
Linus Walleij

#7 lore raw

PATCH v2 2/4 gpio - Add EXAR XRA1403 SPI GPIO expander driver

DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTGludXMgV2FsbGVpaiBb bWFpbHRvOmxpbnVzLndhbGxlaWpAbGluYXJvLm9yZ10NCj4gU2VudDogMjQgQXByaWwgMjAxNyAx Njo0Nw0KPiBUbzogSGFuLCBOYW5kb3IgKEdFIEhlYWx0aGNhcmUpIDxuYW5kb3IuaGFuQGdlLmNv bT4NCj4gQ2M6IEdyZWcgS0ggPGdyZWdraEBsaW51eGZvdW5kYXRpb24ub3JnPjsgRGF2aWQgUy4g TWlsbGVyIDxkYXZlbUBkYXZlbWxvZnQubmV0PjsgR2VlcnQgVXl0dGVyaG9ldmVuIDxnZWVydEBs aW51eC0NCj4gbTY4ay5vcmc+OyBNYXVybyBDYXJ2YWxobyBDaGVoYWIgPG1jaGVoYWJAa2VybmVs Lm9yZz47IERhbmllbCBWZXR0ZXIgPGRhbmllbC52ZXR0ZXJAZmZ3bGwuY2g+OyBBbGV4YW5kcmUg Q291cmJvdA0KPiA8Z251cm91QGdtYWlsLmNvbT47IFJvYiBIZXJyaW5nIDxyb2JoK2R0QGtlcm5l bC5vcmc+OyBNYXJrIFJ1dGxhbmQgPG1hcmsucnV0bGFu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YXQuIEkgd2lsbCBjaGFuZ2UgaXQgaW4gdGhlIG5leHQgcmV2Lg0KDQo+IFlvdXJzLA0K PiBMaW51cyBXYWxsZWlqDQoNClRoYW5rcywNCiAgIE5hbmR5DQo=
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw

Re: [PATCH v2 2/4] gpio - Add EXAR XRA1403 SPI GPIO expander driver

In reply to Linus Walleij
Quoted 9 lines · Linus Walleij
Quoted 6 lines · Nandor Han

This is a simple driver that provides a /sys/class/gpio interface for controlling and configuring the GPIO lines. It does not provide support for chip select or interrupts.

Quoted 7 lines

I almost want to make the driver depend on !GPIO_SYSFS because of this commit message.

DO NOT USE OR ENCOURAGE THE USE OF THE GPIO SYSFS
INTERFACE.

Use the character device.

I doubt you will be able to convince the majority of people toggling GPIOs via a simple shell script to switch to write a complex C program. Not to mention cross compilation and the libraries dependencies here.

Is there some good cli tools to access the new char device? If they are shipped with most distros, that would reduce the pain.

Best,

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators."

#9 lore raw

Re: [PATCH v2 2/4] gpio - Add EXAR XRA1403 SPI GPIO expander driver

Hi Benjamin,

Quoted 18 lines · Benjamin Henrion
Quoted 9 lines · Linus Walleij
Quoted 6 lines · Nandor Han

This is a simple driver that provides a /sys/class/gpio interface for controlling and configuring the GPIO lines. It does not provide support for chip select or interrupts.

Quoted 7 lines

I almost want to make the driver depend on !GPIO_SYSFS because of this commit message.

DO NOT USE OR ENCOURAGE THE USE OF THE GPIO SYSFS
INTERFACE.

Use the character device.

Quoted 7 lines

I doubt you will be able to convince the majority of people toggling GPIOs via a simple shell script to switch to write a complex C program. Not to mention cross compilation and the libraries dependencies here.

Is there some good cli tools to access the new char device? If they are shipped with most distros, that would reduce the pain.

https://github.com/brgl/libgpiod

A bit early to expect it to be shipped with all distros, though.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#10 lore raw

Re: [PATCH v2 2/4] gpio - Add EXAR XRA1403 SPI GPIO expander driver

Quoted 6 lines · Geert Uytterhoeven
Quoted 2 lines

Is there some good cli tools to access the new char device? If they are shipped with most distros, that would reduce the pain.

https://github.com/brgl/libgpiod

A bit early to expect it to be shipped with all distros, though.

Buildroot has it.
For kernel development it is quite enough.

Signature · 6 lines
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#11 lore raw

Re: [PATCH v2 2/4] gpio - Add EXAR XRA1403 SPI GPIO expander driver

In reply to Benjamin Henrion
Quoted 4 lines · Benjamin Henrion

I doubt you will be able to convince the majority of people toggling GPIOs via a simple shell script to switch to write a complex C program. Not to mention cross compilation and the libraries dependencies here.

I do not need to convince anyone, I'm not into politics.

The way to attract users to the character device is by offering better features... so we smack in the following goodies:

- Need a userspace ABI? No more need to select CONFIG_GPIO_SYSFS! The chardev is always there for any gpio chip in newer kernels! Board vendors would have to actively delete core code to disable it!

- Need open drain? The chardev will support that, the sysfs will never.

- Need to set/get multiple lines with a single context switch? Chardev does this. Also the set operation will turn into a single register write if your driver implements .set_multiple()

- All future needs: line biasing? Schmitt triggers? Drive strengths? All that will use the character device, and the sysfs ABI will never support any of it.

Quoted 2 lines

Is there some good cli tools to access the new char device? If they are shipped with most distros, that would reduce the pain.

I have those that come with the kernel:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/gpio

Then libgpiod as mentioned:
https://github.com/brgl/libgpiod/tree/master/src/tools

Yours,
Linus Walleij

author
#12 lore raw

PATCH v2 3/4 doc,dts - add XRA1403 DTS binding documentation

In reply to Nandor Han

Add the XRA1403 DTS binding documentation.

---
 .../devicetree/bindings/gpio/gpio-xra1403.txt      | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-xra1403.txt
Documentation/devicetree/bindings/gpio/gpio-xra1403.txt new file +46 -0
new file mode 100644
index 0000000..e13cc39
@@ -0,0 +1,46 @@
+GPIO Driver for XRA1403 16-BIT GPIO Expander With Reset Input from EXAR
+
+The XRA1403 is an 16-bit GPIO expander with an SPI interface. Features available:
+	- Individually programmable inputs:
+		- Internal pull-up resistors
+		- Polarity inversion
+		- Individual interrupt enable
+		- Rising edge and/or Falling edge interrupt
+		- Input filter
+	- Individually programmable outputs
+		- Output Level Control
+		- Output Three-State Control
+
+Properties
+----------
+Check documentation for SPI and GPIO controllers regarding properties needed to configure the node.
+
+	- compatible = "exar,xra1403".
+	- reg - SPI id of the device.
+	- gpio-controller - marks the node as gpio.
+	- #gpio-cells - should be two where the first cell is the pin number
+		and the second one is used for optional parameters.
+
+Optional properties:
+-------------------
+	- reset-gpios: in case available used to control the device reset line.
+	- interrupt-controller - marks the node as interrupt controller.
+	- #interrupt-cells - should be two and represents the number of cells
+		needed to encode interrupt source.
+
+Example
+--------
+
+	gpioxra0: gpio@2 {
+		compatible = "exar,xra1403";
+		reg = <2>;
+
+		gpio-controller;
+		#gpio-cells = <2>;
+
+		interrupt-controller;
+		#interrupt-cells = <2>;
+
+		reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
+		spi-max-frequency = <1000000>;
+	};
Signature · 1 line
2.10.1
maintainer Acked-by on v2 3/4
#13 lore raw

Re: [PATCH v2 3/4] doc,dts - add XRA1403 DTS binding documentation

Quoted 1 line · Nandor Han

Add the XRA1403 DTS binding documentation.

"dt-bindings: gpio: ..." for the subject.

Quoted 6 lines
---
 .../devicetree/bindings/gpio/gpio-xra1403.txt      | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-xra1403.txt

Otherwise,

#14 lore raw

Re: [PATCH v2 3/4] doc,dts - add XRA1403 DTS binding documentation

In reply to Nandor Han
Quoted 3 lines · Nandor Han

Add the XRA1403 DTS binding documentation.

Patch applied with altered subject and Rob's ACK.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#15 lore raw

PATCH v2 4/4 Add XRA1403 support to MAINTAINERS file

In reply to Nandor Han

Add XRA1403 support to MAINTAINERS list.

---
 MAINTAINERS | 8 ++++++++
 1 file changed, 8 insertions(+)
MAINTAINERS +8 -0
index 892e958..0c5b984 100644
@@ -14013,6 +14013,14 @@ L:	[email protected]
 S:	Supported
 F:	drivers/char/xillybus/
 
+XRA1403 GPIO EXPANDER
+M:	Nandor Han <[email protected]>
+M:	Semi Malinen <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	drivers/gpio/gpio-xra1403.c
+F:	Documentation/devicetree/bindings/gpio/gpio-xra1403.txt
+
 XTENSA XTFPGA PLATFORM SUPPORT
 M:	Max Filippov <[email protected]>
 L:	[email protected]
Signature · 1 line
2.10.1