[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1490963559-32159-1-git-send-email-fabrice.gasnier@st.com>
Date: Fri, 31 Mar 2017 14:32:36 +0200
From: Fabrice Gasnier <fabrice.gasnier@...com>
To: <jic23@...nel.org>, <linux@...linux.org.uk>, <robh+dt@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <linux-iio@...r.kernel.org>, <mark.rutland@....com>,
<mcoquelin.stm32@...il.com>, <alexandre.torgue@...com>,
<lars@...afoo.de>, <knaack.h@....de>, <pmeerw@...erw.net>,
<fabrice.gasnier@...com>, <benjamin.gaignard@...aro.org>,
<benjamin.gaignard@...com>, <linus.walleij@...aro.org>
Subject: [PATCH v2 0/2] iio: allow to set STM32 ADC resolution
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
Powered by blists - more mailing lists