All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] gpio: Add a driver for Cadence GPIO controller
@ 2018-12-18 16:10 ` Jan Kotas
  0 siblings, 0 replies; 10+ messages in thread
From: Jan Kotas @ 2018-12-18 16:10 UTC (permalink / raw)
  To: linus.walleij, bgolaszewski, robh+dt, mark.rutland
  Cc: linux-gpio, devicetree, linux-kernel, Jan Kotas

This patchset adds a driver support for Cadence GPIO controller.

Number of supported lines is configurable.
The driver initializes all pins as inputs in probe().
Currently it only supports level-sensitive interrupts.

The interrupts controller was tested with I2C and SPI IPs
acting as interrupt sources.

Changes since V2:
	Added spinlocks in request, free and irq_set_type functions.

Changes since V1:
	Switched to generic GPIO infrastructure.
	Redesigned interrupts, now uses chained irqchip.
	Drop support for edge-sensitive interrupts.
	Restore bypass settings at unexport/remove.

Jan Kotas (2):
  dt-bindings: gpio: Add bindings for Cadence GPIO
  gpio: Add Cadence GPIO driver

 .../devicetree/bindings/gpio/cdns,gpio.txt         |  44 ++++
 drivers/gpio/Kconfig                               |   8 +
 drivers/gpio/Makefile                              |   1 +
 drivers/gpio/gpio-cadence.c                        | 291 +++++++++++++++++++++
 4 files changed, 344 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/cdns,gpio.txt
 create mode 100644 drivers/gpio/gpio-cadence.c

-- 
2.15.0

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

end of thread, other threads:[~2018-12-21 10:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-18 16:10 [PATCH v3 0/2] gpio: Add a driver for Cadence GPIO controller Jan Kotas
2018-12-18 16:10 ` Jan Kotas
2018-12-18 16:10 ` [PATCH v3 1/2] dt-bindings: gpio: Add bindings for Cadence GPIO Jan Kotas
2018-12-18 16:10   ` Jan Kotas
2018-12-21 10:40   ` Linus Walleij
2018-12-21 10:40     ` Linus Walleij
2018-12-18 16:10 ` [PATCH v3 2/2] gpio: Add Cadence GPIO driver Jan Kotas
2018-12-18 16:10   ` Jan Kotas
2018-12-21 10:41   ` Linus Walleij
2018-12-21 10:41     ` Linus Walleij

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.