[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1562148496-26789-1-git-send-email-fabrice.gasnier@st.com>
Date: Wed, 3 Jul 2019 12:08:13 +0200
From: Fabrice Gasnier <fabrice.gasnier@...com>
To: <jic23@...nel.org>, <robh+dt@...nel.org>, <alexandre.torgue@...com>
CC: <mark.rutland@....com>, <mcoquelin.stm32@...il.com>,
<lars@...afoo.de>, <knaack.h@....de>, <pmeerw@...erw.net>,
<fabrice.gasnier@...com>, <linux-iio@...r.kernel.org>,
<devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v2 0/3] STM32 ADC analog switches supply control
This series adds support for SYSCFG bits that control ADC analog switches
supply on STM32MP1 and STM32H7.
The ADC inputs are multiplexed with analog switches which have reduced
performances when their supply is below 2.7V. Analog switches supply
can be controlled using SYSCFG bits, to reach full ADC performance.
---
Changes in v2:
- Rework since: "Add missing vdda-supply to STM32 ADC" series [1].
- Booster is handled by a regulator driver, see
"regulator: add support for the STM32 ADC booster" series [2].
- Only enable vdd regulator when needed
- Fix typos
[1] https://lkml.org/lkml/2019/6/19/411
[2] https://lkml.org/lkml/2019/6/28/188
Fabrice Gasnier (3):
dt-bindings: iio: adc: stm32: add analog switches supply control
iio: adc: stm32-adc: add analog switches supply control
ARM: dts: stm32: add syscfg to ADC on stm32mp157c
.../devicetree/bindings/iio/adc/st,stm32-adc.txt | 6 +
arch/arm/boot/dts/stm32mp157c.dtsi | 1 +
drivers/iio/adc/stm32-adc-core.c | 193 ++++++++++++++++++++-
3 files changed, 199 insertions(+), 1 deletion(-)
--
2.7.4
Powered by blists - more mailing lists