lkml.org 
[lkml]   [2017]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] iio: adc: stm32: Add support for differential channels
Date
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

\
 
 \ /
  Last update: 2017-10-25 11:30    [W:0.058 / U:3.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site