devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] iio: adc: stm32: Add support for differential channels
@ 2017-10-25  9:27 Fabrice Gasnier
  2017-10-25  9:27 ` [PATCH v2 1/3] dt-bindings: iio: adc: stm32: add support for diff channels Fabrice Gasnier
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Fabrice Gasnier @ 2017-10-25  9:27 UTC (permalink / raw)
  To: jic23-DgEjT+Ai2ygdnm+yROfE0A, robh+dt-DgEjT+Ai2ygdnm+yROfE0A
  Cc: linux-I+IVW8TIWO2tmTQ+vhA3Yw, mark.rutland-5wv7dgnIgG8,
	mcoquelin.stm32-Re5JQEeQqe8AvxtiuMwx3w,
	alexandre.torgue-qxv4g6HH51o, lars-Qo5EllUWu/uELgA04lAiVw,
	knaack.h-Mmb7MZpHnFY, pmeerw-jW+XmwGofnusTnJN9+BGXg,
	fabrice.gasnier-qxv4g6HH51o, linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	benjamin.gaignard-QSEj5FYQhm4dnm+yROfE0A,
	benjamin.gaignard-qxv4g6HH51o

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

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

end of thread, other threads:[~2017-11-19 16:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-25  9:27 [PATCH v2 0/3] iio: adc: stm32: Add support for differential channels Fabrice Gasnier
2017-10-25  9:27 ` [PATCH v2 1/3] dt-bindings: iio: adc: stm32: add support for diff channels Fabrice Gasnier
2017-10-26 17:41   ` Jonathan Cameron
2017-10-27 14:37   ` Rob Herring
2017-11-19 16:48     ` Jonathan Cameron
     [not found] ` <1508923665-2274-1-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-10-25  9:27   ` [PATCH v2 2/3] iio: adc: stm32: remove const channel names definition Fabrice Gasnier
2017-10-26 17:45     ` Jonathan Cameron
2017-11-19 16:48       ` Jonathan Cameron
2017-10-25  9:27 ` [PATCH v2 3/3] iio: adc: stm32: add support for differential channels Fabrice Gasnier
     [not found]   ` <1508923665-2274-4-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-10-26 17:47     ` Jonathan Cameron
2017-11-19 16:49       ` 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).