devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Allow to tune sampling time on STM32 ADC
@ 2017-07-24 16:10 Fabrice Gasnier
       [not found] ` <1500912640-23927-1-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Fabrice Gasnier @ 2017-07-24 16:10 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

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).
---
Changes in v2:
- Better describe fix patch
- Use 'st,min-sample-time-nsecs' instead of 'min-sample-time'.
- Add a comment on of_property_read_u32_index() use.

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

 .../devicetree/bindings/iio/adc/st,stm32-adc.txt   |   5 +
 drivers/iio/adc/stm32-adc-core.c                   |  10 +-
 drivers/iio/adc/stm32-adc.c                        | 140 ++++++++++++++++++++-
 3 files changed, 146 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] 9+ messages in thread

end of thread, other threads:[~2017-08-09 13:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-24 16:10 [PATCH v2 0/3] Allow to tune sampling time on STM32 ADC Fabrice Gasnier
     [not found] ` <1500912640-23927-1-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-07-24 16:10   ` [PATCH v2 1/3] iio: adc: stm32: fix common clock rate Fabrice Gasnier
     [not found]     ` <1500912640-23927-2-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-07-30 16:19       ` Jonathan Cameron
2017-07-24 16:10 ` [PATCH v2 2/3] dt-bindings: iio: adc: stm32: add optional st, min-sample-time-nsecs Fabrice Gasnier
     [not found]   ` <1500912640-23927-3-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-07-30 16:24     ` [PATCH v2 2/3] dt-bindings: iio: adc: stm32: add optional st,min-sample-time-nsecs Jonathan Cameron
2017-08-03 17:01   ` Rob Herring
2017-08-09 13:13     ` Jonathan Cameron
2017-07-24 16:10 ` [PATCH v2 3/3] iio: adc: stm32: add optional st, min-sample-time-nsecs Fabrice Gasnier
     [not found]   ` <1500912640-23927-4-git-send-email-fabrice.gasnier-qxv4g6HH51o@public.gmane.org>
2017-08-09 13:17     ` [PATCH v2 3/3] iio: adc: stm32: add optional st,min-sample-time-nsecs 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).