Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1694873
| From | Fabrice Gasnier <fabrice.gasnier@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/3] Allow to tune sampling time on STM32 ADC |
| Date | 2017-07-24 18:20 +0200 |
| Message-ID | <u6Ofn-7i4-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH v2 0/3] Allow to tune sampling time on STM32 ADC Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-07-24 18:20 +0200
csiph-web