[PATCH v2 0/5] iio: add support for STM32H7 ADC

Fabrice Gasnier fabrice.gasnier at st.com
Mon May 29 02:28:15 PDT 2017


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




More information about the linux-arm-kernel mailing list