devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Add EXTI GPIO trigger support to STM32 ADC
@ 2017-02-28 16:51 Fabrice Gasnier
  2017-02-28 16:51 ` [PATCH v3 1/6] dt-bindings: iio: introduce trigger providers, consumers Fabrice Gasnier
                   ` (5 more replies)
  0 siblings, 6 replies; 26+ messages in thread
From: Fabrice Gasnier @ 2017-02-28 16:51 UTC (permalink / raw)
  To: jic23, linux, robh+dt, linux-arm-kernel, devicetree, linux-kernel
  Cc: mark.rutland, benjamin.gaignard, lars, alexandre.torgue,
	linux-iio, pmeerw, mcoquelin.stm32, knaack.h, fabrice.gasnier,
	linus.walleij, benjamin.gaignard

STM32 ADC, can use EXTI line (external interrupt) as trigger source
for conversions.
This patchset introduces:
- IIO trigger providers / consumers that can be configured from DT
- DT support for IIO interrupt trigger
- STM32 ADC EXTI trigger selection, configured by DT.

---
Changes in V3:
- Rework most of it, to use generic iio-interrupt-trigger
- Drop GPIO trigger, use generic interrupt binding instead
- Comments from V2 and RFC: iio: trigger: Add OF support and GPIO based trigger
  https://lkml.org/lkml/2017/2/17/478

---
Changes in V2:
- Fixed Kconfig dependencies

Fabrice Gasnier (5):
  dt-bindings: iio: introduce trigger providers, consumers
  iio: trigger: add OF support
  dt-bindings: iio: document interrupt trigger support
  dt-bindings: iio: stm32-adc: add external interrupt trigger
  iio: adc: stm32: add support for EXTI trigger

Grégor Boirie (1):
  iio: iio-interrupt-trigger: device-tree support

 .../devicetree/bindings/iio/adc/st,stm32-adc.txt   |  21 +++++
 .../devicetree/bindings/iio/iio-bindings.txt       |  38 ++++++++
 .../bindings/iio/trigger/iio-trig-interrupt.txt    |  22 +++++
 drivers/iio/adc/stm32-adc.c                        |  27 +++++-
 drivers/iio/industrialio-trigger.c                 | 100 +++++++++++++++++++++
 drivers/iio/trigger/iio-trig-interrupt.c           |  10 +++
 include/linux/iio/trigger.h                        |   4 +
 7 files changed, 219 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/trigger/iio-trig-interrupt.txt

-- 
1.9.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2017-03-19 22:58 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-28 16:51 [PATCH v3 0/6] Add EXTI GPIO trigger support to STM32 ADC Fabrice Gasnier
2017-02-28 16:51 ` [PATCH v3 1/6] dt-bindings: iio: introduce trigger providers, consumers Fabrice Gasnier
2017-03-03  6:21   ` Rob Herring
2017-03-03  9:32     ` Fabrice Gasnier
     [not found]       ` <df84b9b2-dc93-287a-1ed2-52c818a64a01-qxv4g6HH51o@public.gmane.org>
2017-03-05 11:45         ` Jonathan Cameron
2017-03-05 11:43     ` Jonathan Cameron
2017-03-05 12:13       ` Jonathan Cameron
     [not found]         ` <12a6a2f8-9ff6-a4f0-c9a2-c7de037019ef-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-03-15 19:25           ` Rob Herring
2017-03-17 15:59             ` Fabrice Gasnier
     [not found]               ` <f44cccd8-a607-117d-e444-ea3174eced18-qxv4g6HH51o@public.gmane.org>
2017-03-19 22:58                 ` Jonathan Cameron
2017-02-28 16:51 ` [PATCH v3 2/6] iio: trigger: add OF support Fabrice Gasnier
2017-03-05 12:11   ` Jonathan Cameron
2017-03-14 15:22   ` Linus Walleij
2017-02-28 16:51 ` [PATCH v3 3/6] dt-bindings: iio: document interrupt trigger support Fabrice Gasnier
     [not found]   ` <1488300679-3259-4-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-03-05 12:16     ` Jonathan Cameron
2017-03-15 19:29       ` Rob Herring
2017-02-28 16:51 ` [PATCH v3 4/6] iio: iio-interrupt-trigger: device-tree support Fabrice Gasnier
     [not found]   ` <1488300679-3259-5-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-03-05 12:18     ` Jonathan Cameron
2017-02-28 16:51 ` [PATCH v3 5/6] dt-bindings: iio: stm32-adc: add external interrupt trigger Fabrice Gasnier
2017-02-28 16:51 ` [PATCH v3 6/6] iio: adc: stm32: add support for EXTI trigger Fabrice Gasnier
2017-03-03 11:45   ` Lars-Peter Clausen
2017-03-03 13:00     ` Fabrice Gasnier
2017-03-03 15:46       ` Lars-Peter Clausen
2017-03-03 15:47         ` Lars-Peter Clausen
     [not found]   ` <1488300679-3259-7-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-03-05 12:21     ` Jonathan Cameron
2017-03-05 12:28       ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).