linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver
@ 2017-03-27  6:22 Nandor Han
  2017-03-27  6:23 ` [PATCH 1/3] gpio - Add EXAR XRA1403 SPI GPIO " Nandor Han
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Nandor Han @ 2017-03-27  6:22 UTC (permalink / raw)
  To: linus.walleij, gnurou, robh+dt, mark.rutland, linux-gpio,
	devicetree, linux-kernel
  Cc: Nandor Han

The patchset will add a driver to support basic functionality for
XRA1403 device. Features supported:
	- configure gpin as input/out
	- get/set gpio status

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

Testing:

1. XRA1403 connected to iMX53 MCU
2. Export gpio from userspace
3. Verify that corresponding gpio directories are created
   in `/sys/class/gpio/gpioXX`
4. Export gpios from first and second bank as output
5. Set the output gpio pin to high/low and verify with the 
   oscilloscope that gpio status is according with the configured
   value.

Nandor Han (3):
  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      |  37 +++
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 MAINTAINERS                                        |   8 +
 drivers/gpio/Kconfig                               |   5 +
 drivers/gpio/Makefile                              |   1 +
 drivers/gpio/gpio-xra1403.c                        | 252 +++++++++++++++++++++
 6 files changed, 304 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-xra1403.txt
 create mode 100644 drivers/gpio/gpio-xra1403.c

-- 
2.10.1

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

end of thread, other threads:[~2017-04-08  7:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27  6:22 [PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver Nandor Han
2017-03-27  6:23 ` [PATCH 1/3] gpio - Add EXAR XRA1403 SPI GPIO " Nandor Han
2017-03-29  2:07   ` Linus Walleij
2017-04-05 13:24     ` Han, Nandor (GE Healthcare)
2017-04-07 10:07       ` Linus Walleij
2017-04-08  7:38         ` Han, Nandor (GE Healthcare)
2017-03-31 12:38   ` Rob Herring
2017-03-27  6:23 ` [PATCH 2/3] doc,dts - add XRA1403 DTS binding documentation Nandor Han
2017-03-29  2:09   ` Linus Walleij
2017-03-31 18:49   ` Rob Herring
2017-03-27  6:23 ` [PATCH 3/3] Add XRA1403 support to MAINTAINERS file Nandor Han
2017-03-29  1:50 ` [PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver Linus Walleij
2017-04-05 12:46   ` Han, Nandor (GE Healthcare)

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).