[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1389711077-20949-1-git-send-email-srinivas.kandagatla@st.com>
Date: Tue, 14 Jan 2014 14:51:17 +0000
From: <srinivas.kandagatla@...com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Rob Landley <rob@...dley.net>,
Russell King <linux@....linux.org.uk>,
<devicetree@...r.kernel.org>, <linux-doc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<srinivas.kandagatla@...com>
Subject: [PATCH v1 0/5] pinctrl: st: Add interrupt controller support.
From: Srinivas Kandagatla <srinivas.kandagatla@...com>
Hi Linus W,
This series of patches add interrupt controller support to ST pinctrl driver.
ST pin controller GPIO bank can have one of the two possible types of
interrupt-wirings.
First type is via irqmux, single interrupt is used by multiple gpio
banks. This reduces number of interrupts numbers required by pin controller.
All these gpio banks belong to a single pin controller.
Second type has a dedicated interrupt per gpio bank. Interrupt number usage is
very high in this case.
This patch adds support to both these wirings.
Also, ST pin controller hardware only supports level triggered interrupts.
However for drivers like gpio keypad requires edge trigger interrupt support,
so one of the patch adds edge trigger interrupt support in software by using
the existing level trigger support in hardware.
Patch 01: Is a minor typo fix.
Patch 02: Adds level interrupt support to pin controller.
Patch 03: Adds software edge trigger support.
Patch 04,05 : Updates STiH415, STiH416 dts files for interrupt support.
As Patch-01 only has a typo fix I did not move it out of this series.
Comments?
Thanks,
srini
Srinivas Kandagatla (5):
pinctrl: st: Fix a typo in probe
pinctrl: st: Add Interrupt support.
pinctrl: st: Add software edge trigger interrupt support.
ARM:STi: STiH416: Add interrupt support for pin controller
ARM:STi: STiH415: Add interrupt support for pin controller
.../devicetree/bindings/pinctrl/pinctrl-st.txt | 60 ++++-
arch/arm/boot/dts/stih415-pinctrl.dtsi | 75 +++++
arch/arm/boot/dts/stih416-pinctrl.dtsi | 81 ++++++
drivers/pinctrl/pinctrl-st.c | 287 +++++++++++++++++++-
4 files changed, 492 insertions(+), 11 deletions(-)
--
1.7.6.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists