Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1613961

[PATCH v2 0/2] iio: allow to set STM32 ADC resolution

From Fabrice Gasnier <fabrice.gasnier@st.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] iio: allow to set STM32 ADC resolution
Date 2017-03-31 14:40 +0200
Message-ID <tr40p-4Bg-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


STM32 ADC supports several resolution. Add dt option so resolution
can be tuned at probe time. By default, maximum resolution is used
when it isn't set.

---
Changes in v2:
 - rename property from 'st,adc-res' to 'assigned-resolution-bits' so it
 is more common.

Fabrice Gasnier (2):
  dt-bindings: iio: stm32-adc: add option to set resolution
  iio: adc: stm32: add dt option to set resolution

 .../devicetree/bindings/iio/adc/st,stm32-adc.txt   |  4 ++
 drivers/iio/adc/stm32-adc.c                        | 50 +++++++++++++++++++++-
 2 files changed, 53 insertions(+), 1 deletion(-)

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] iio: allow to set STM32 ADC resolution  Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-03-31 14:40 +0200
  [PATCH v2 1/2] dt-bindings: iio: stm32-adc: add option to set resolution Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-03-31 14:40 +0200
    Re: [PATCH v2 1/2] dt-bindings: iio: stm32-adc: add option to set  resolution Rob Herring <robh@kernel.org> - 2017-04-03 18:50 +0200
      Re: [PATCH v2 1/2] dt-bindings: iio: stm32-adc: add option to set  resolution Jonathan Cameron <jic23@kernel.org> - 2017-04-03 21:50 +0200

csiph-web