devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] iio: add support for STM32H7 ADC
@ 2017-05-29  9:28 Fabrice Gasnier
  2017-05-29  9:28 ` [PATCH v2 1/5] dt-bindings: iio: stm32-adc: add support for STM32H7 Fabrice Gasnier
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Fabrice Gasnier @ 2017-05-29  9:28 UTC (permalink / raw)
  To: jic23, linux, robh+dt, linux-arm-kernel, devicetree, linux-kernel
  Cc: linux-iio, mark.rutland, mcoquelin.stm32, alexandre.torgue, lars,
	knaack.h, pmeerw, fabrice.gasnier, benjamin.gaignard,
	benjamin.gaignard

Add support for STM32H7 Analog to Digital Converter variant.
It has up to 20 external channels, resolution ranges from 8 to 16bits.
Differences are regarding clocking, registers and bitfields have also
been re-arranged, but behavior is similar. It also has additional self
calibration and power on/off procedures.

---
Changes in v2:
- update bindings with Rob's remarks, document stm32h7 resolutions
- Slightly re-arrange channels definition, remove a trivial comment

Fabrice Gasnier (5):
  dt-bindings: iio: stm32-adc: add support for STM32H7
  iio: adc: stm32: make core adc clock optional by default
  iio: adc: stm32: introduce compatible data cfg
  iio: adc: stm32: make per instance bus clock optional
  iio: adc: stm32: add support for STM32H7

 .../devicetree/bindings/iio/adc/st,stm32-adc.txt   |  28 +-
 drivers/iio/adc/stm32-adc-core.c                   | 269 +++++++-
 drivers/iio/adc/stm32-adc-core.h                   |   2 +
 drivers/iio/adc/stm32-adc.c                        | 762 +++++++++++++++++++--
 4 files changed, 972 insertions(+), 89 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2017-06-07 20:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-29  9:28 [PATCH v2 0/5] iio: add support for STM32H7 ADC Fabrice Gasnier
2017-05-29  9:28 ` [PATCH v2 1/5] dt-bindings: iio: stm32-adc: add support for STM32H7 Fabrice Gasnier
2017-06-03  9:27   ` Jonathan Cameron
     [not found]   ` <1496050100-25854-2-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-06-07 20:09     ` Rob Herring
     [not found] ` <1496050100-25854-1-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-05-29  9:28   ` [PATCH v2 2/5] iio: adc: stm32: make core adc clock optional by default Fabrice Gasnier
2017-06-03  9:28     ` Jonathan Cameron
2017-05-29  9:28 ` [PATCH v2 3/5] iio: adc: stm32: introduce compatible data cfg Fabrice Gasnier
2017-06-03  9:28   ` Jonathan Cameron
2017-05-29  9:28 ` [PATCH v2 4/5] iio: adc: stm32: make per instance bus clock optional Fabrice Gasnier
2017-06-03  9:29   ` Jonathan Cameron
2017-05-29  9:28 ` [PATCH v2 5/5] iio: adc: stm32: add support for STM32H7 Fabrice Gasnier
     [not found]   ` <1496050100-25854-6-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-06-03  9:32     ` 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).