All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Allow to tune sampling time on STM32 ADC
@ 2017-07-24 16:10 ` Fabrice Gasnier
  0 siblings, 0 replies; 27+ messages in thread
From: Fabrice Gasnier @ 2017-07-24 16:10 UTC (permalink / raw)
  To: jic23, robh+dt
  Cc: linux, mark.rutland, mcoquelin.stm32, alexandre.torgue, lars,
	knaack.h, pmeerw, fabrice.gasnier, linux-iio, devicetree,
	linux-arm-kernel, linux-kernel

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

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

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

Thread overview: 27+ 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
2017-07-24 16:10 ` Fabrice Gasnier
2017-07-24 16:10 ` Fabrice Gasnier
2017-07-24 16:10 ` [PATCH v2 1/3] iio: adc: stm32: fix common clock rate Fabrice Gasnier
2017-07-24 16:10   ` Fabrice Gasnier
2017-07-24 16:10   ` Fabrice Gasnier
2017-07-30 16:19   ` Jonathan Cameron
2017-07-30 16:19     ` Jonathan Cameron
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
2017-07-24 16:10   ` [PATCH v2 2/3] dt-bindings: iio: adc: stm32: add optional st, min-sample-time-nsecs Fabrice Gasnier
2017-07-24 16:10   ` Fabrice Gasnier
2017-07-30 16:24   ` [PATCH v2 2/3] dt-bindings: iio: adc: stm32: add optional st,min-sample-time-nsecs Jonathan Cameron
2017-07-30 16:24     ` Jonathan Cameron
2017-07-30 16:24     ` Jonathan Cameron
2017-08-03 17:01   ` Rob Herring
2017-08-03 17:01     ` Rob Herring
2017-08-03 17:01     ` Rob Herring
2017-08-09 13:13     ` Jonathan Cameron
2017-08-09 13:13       ` Jonathan Cameron
2017-08-09 13:13       ` Jonathan Cameron
2017-07-24 16:10 ` [PATCH v2 3/3] " Fabrice Gasnier
2017-07-24 16:10   ` [PATCH v2 3/3] iio: adc: stm32: add optional st, min-sample-time-nsecs Fabrice Gasnier
2017-07-24 16:10   ` Fabrice Gasnier
2017-08-09 13:17   ` [PATCH v2 3/3] iio: adc: stm32: add optional st,min-sample-time-nsecs Jonathan Cameron
2017-08-09 13:17     ` Jonathan Cameron
2017-08-09 13:17     ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.