Skip to content

XRA1403,gpio - add XRA1403 gpio expander driver

Nandor Han linux-devicetree linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gpio - Add EXAR XRA1403 SPI GPIO expander driverDocumentation/devicetree/bindings/vendor-prefixes.txt drivers/gpio/Kconfig drivers/gpio/Makefile +1 more+259 -02 replies
1/3gpio - Add EXAR XRA1403 SPI GPIO expander driver+0 -01 reply
1/3gpio - Add EXAR XRA1403 SPI GPIO expander driver+0 -00 replies
2/3doc,dts - add XRA1403 DTS binding documentationDocumentation/devicetree/bindings/gpio/gpio-xra1403.txt+37 -02 replies
3/3Add XRA1403 support to MAINTAINERS fileMAINTAINERS+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] XRA1403,gpio - add XRA1403 gpio expander driver

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
Signature · 1 line
2.10.1