[PATCH v2 0/3] iio: adc: stm32: Add support for differential channels
Fabrice Gasnier
fabrice.gasnier at st.com
Wed Oct 25 02:27:42 PDT 2017
Add support for differential channels that can be found on STM32H7 ADC:
- Introduce new DT property 'st,adc-diff-channels'.
- Slightly rework single-ended channels definition in stm32-adc driver.
- Add support for differential channels to stm32-adc driver.
---
Changes in v2:
- Add an example and a note in dt-bindings to better explain
'st,adc-diff-channels' usage (based on Jonathan & Rob remarks).
- Update variable names in stm32_adc_chan_init_one() based on Jonathan remark.
Fabrice Gasnier (3):
dt-bindings: iio: adc: stm32: add support for diff channels
iio: adc: stm32: remove const channel names definition
iio: adc: stm32: add support for differential channels
.../devicetree/bindings/iio/adc/st,stm32-adc.txt | 24 +++
drivers/iio/adc/stm32-adc.c | 181 +++++++++++++--------
2 files changed, 137 insertions(+), 68 deletions(-)
--
1.9.1
More information about the linux-arm-kernel
mailing list