linux-arm-kernel.lists.infradead.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
  2017-07-24 16:10 ` [PATCH v2 1/3] iio: adc: stm32: fix common clock rate Fabrice Gasnier
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Fabrice Gasnier @ 2017-07-24 16:10 UTC (permalink / raw)
  To: linux-arm-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] 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
2017-07-24 16:10 ` [PATCH v2 1/3] iio: adc: stm32: fix common clock rate Fabrice Gasnier
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-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
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).