All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: allow to set STM32 ADC resolution
@ 2017-03-31 12:32 ` Fabrice Gasnier
  0 siblings, 0 replies; 21+ messages in thread
From: Fabrice Gasnier @ 2017-03-31 12:32 UTC (permalink / raw)
  To: jic23, linux, robh+dt, linux-arm-kernel, devicetree, linux-kernel
  Cc: linux-iio, mark.rutland, mcoquelin.stm32, alexandre.torgue, lars,
	knaack.h, pmeerw, fabrice.gasnier, benjamin.gaignard,
	benjamin.gaignard, linus.walleij

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

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

end of thread, other threads:[~2017-04-03 19:46 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31 12:32 [PATCH v2 0/2] iio: allow to set STM32 ADC resolution Fabrice Gasnier
2017-03-31 12:32 ` Fabrice Gasnier
2017-03-31 12:32 ` Fabrice Gasnier
2017-03-31 12:32 ` [PATCH v2 1/2] dt-bindings: iio: stm32-adc: add option to set resolution Fabrice Gasnier
2017-03-31 12:32   ` Fabrice Gasnier
2017-03-31 12:32   ` Fabrice Gasnier
2017-04-03 16:46   ` Rob Herring
2017-04-03 16:46     ` Rob Herring
2017-04-03 16:46     ` Rob Herring
2017-04-03 19:45     ` Jonathan Cameron
2017-04-03 19:45       ` Jonathan Cameron
2017-04-03 19:45       ` Jonathan Cameron
2017-03-31 12:32 ` [PATCH v2 2/2] iio: adc: stm32: add dt " Fabrice Gasnier
2017-03-31 12:32   ` Fabrice Gasnier
2017-03-31 12:32   ` Fabrice Gasnier
2017-04-02  8:54   ` Jonathan Cameron
2017-04-02  8:54     ` Jonathan Cameron
2017-04-02  8:54     ` Jonathan Cameron
2017-04-03 19:46     ` Jonathan Cameron
2017-04-03 19:46       ` Jonathan Cameron
2017-04-03 19:46       ` 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.