devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Allow to tune sampling time on STM32 ADC
@ 2017-07-18 12:35 Fabrice Gasnier
  2017-07-18 12:35 ` [PATCH 1/3] iio: adc: stm32: fix common clock rate Fabrice Gasnier
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Fabrice Gasnier @ 2017-07-18 12:35 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,
	benjamin.gaignard-QSEj5FYQhm4dnm+yROfE0A,
	benjamin.gaignard-qxv4g6HH51o, linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

STM32 ADC allows each channel to be sampled with a different sampling
time. This series fixes common clock rate and adds optional device
tree property, so minimum sampling time can be tuned. This is done via
device tree as it's tightly coupled with hardware (analog source).

Fabrice Gasnier (3):
  iio: adc: stm32: fix common clock rate
  dt-bindings: iio: adc: stm32: add optional min-sample-time
  iio: adc: stm32: add optional min-sample-time

 .../devicetree/bindings/iio/adc/st,stm32-adc.txt   |   5 +
 drivers/iio/adc/stm32-adc-core.c                   |  10 +-
 drivers/iio/adc/stm32-adc.c                        | 134 ++++++++++++++++++++-
 3 files changed, 140 insertions(+), 9 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

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

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-18 12:35 [PATCH 0/3] Allow to tune sampling time on STM32 ADC Fabrice Gasnier
2017-07-18 12:35 ` [PATCH 1/3] iio: adc: stm32: fix common clock rate Fabrice Gasnier
     [not found]   ` <1500381332-17086-2-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-07-23 10:51     ` Jonathan Cameron
2017-07-24  7:43       ` Fabrice Gasnier
     [not found]         ` <0385445a-8be9-6e67-b19d-b72466c23e34-qxv4g6HH51o@public.gmane.org>
2017-07-24 15:03           ` Jonathan Cameron
2017-07-18 12:35 ` [PATCH 2/3] dt-bindings: iio: adc: stm32: add optional min-sample-time Fabrice Gasnier
     [not found]   ` <1500381332-17086-3-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-07-23 10:53     ` Jonathan Cameron
2017-07-24  7:55       ` Fabrice Gasnier
     [not found]         ` <81cabf83-689c-277a-5cf9-510df5cc9045-qxv4g6HH51o@public.gmane.org>
2017-07-24 15:04           ` Jonathan Cameron
2017-07-18 12:35 ` [PATCH 3/3] " Fabrice Gasnier
2017-07-23 11:00   ` Jonathan Cameron
2017-07-24  8:16     ` Fabrice Gasnier
     [not found]       ` <80041c76-4428-9330-6dcb-4ca0f718d2e3-qxv4g6HH51o@public.gmane.org>
2017-07-24 15:06         ` 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).