[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181217153652.20056-1-jank@cadence.com>
Date: Mon, 17 Dec 2018 15:36:50 +0000
From: Jan Kotas <jank@...ence.com>
To: <linus.walleij@...aro.org>, <bgolaszewski@...libre.com>,
<robh+dt@...nel.org>, <mark.rutland@....com>
CC: <linux-gpio@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Jan Kotas <jank@...ence.com>
Subject: [PATCH v2 0/2] gpio: Add a driver for Cadence GPIO controller
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 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 | 275 +++++++++++++++++++++
4 files changed, 328 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/cdns,gpio.txt
create mode 100644 drivers/gpio/gpio-cadence.c
--
2.15.0
Powered by blists - more mailing lists