[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1487347429-31761-1-git-send-email-fabrice.gasnier@st.com>
Date: Fri, 17 Feb 2017 17:03:45 +0100
From: Fabrice Gasnier <fabrice.gasnier@...com>
To: <jic23@...nel.org>, <linux@...linux.org.uk>, <robh+dt@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <linux-iio@...r.kernel.org>, <mark.rutland@....com>,
<mcoquelin.stm32@...il.com>, <alexandre.torgue@...com>,
<lars@...afoo.de>, <knaack.h@....de>, <pmeerw@...erw.net>,
<fabrice.gasnier@...com>, <benjamin.gaignard@...aro.org>,
<benjamin.gaignard@...com>, <linus.walleij@...aro.org>
Subject: [RFC 0/4] iio: trigger: Add OF support and GPIO based trigger
Hi,
I send this as an RFC, as I'm digging to try to get as generic
as possible GPIO based trigger support, as discussed earlier in
other patchset "Add EXTI GPIO trigger support to STM32 ADC":
https://www.spinics.net/lists/arm-kernel/msg559091.html
Following various comments on this, I sent this RFC to address two
topics, that I see as possible prerequisite:
- Add trigger OF support
- GPIO based trigger
Please feel free to advise.
Best Regards.
Fabrice Gasnier (4):
dt-bindings: iio: introduce trigger providers, consumers
iio: trigger: add OF support
dt-bindings: iio: add support for GPIO triggers
iio: trigger: add GPIO trigger
.../devicetree/bindings/iio/iio-bindings.txt | 37 +++++++
.../bindings/iio/trigger/iio-trig-gpio.txt | 26 +++++
drivers/iio/industrialio-trigger.c | 100 ++++++++++++++++++
drivers/iio/trigger/Kconfig | 9 ++
drivers/iio/trigger/Makefile | 1 +
drivers/iio/trigger/iio-trig-gpio.c | 112 +++++++++++++++++++++
include/linux/iio/trigger.h | 4 +
7 files changed, 289 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/trigger/iio-trig-gpio.txt
create mode 100644 drivers/iio/trigger/iio-trig-gpio.c
--
1.9.1
Powered by blists - more mailing lists