[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230524133918.1439516-1-olivier.moysan@foss.st.com>
Date: Wed, 24 May 2023 15:39:09 +0200
From: Olivier Moysan <olivier.moysan@...s.st.com>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Marek Vasut <marex@...x.de>
CC: Olivier Moysan <olivier.moysan@...s.st.com>,
<devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <kernel@...electronics.com>
Subject: [PATCH 0/8] ARM: dts: stm32: add adc internal channels on stm32mp15
Add STM32 ADC2 internal channels VREFINT and VDDCORE to STM32MP15x SoCs.
Add support of vrefint channel by adding access to vrefint calibration
data in OTP.
The internal channels are defined in STM32MP15 SoC DT according to
generic channel bindings. The STM32 driver does not support a mixed use
of legacy and generic channels. When generic channels are defined,
legacy channel are ignored. This involves that the board device trees
using legacy bindings have to be changed to generic bindings.
Adopt generic iio bindings on all STM32 boards implementing the ADC.
This serie does not update stm32mp15xx-dhcom-som and
stm32mp15xx-dhcor-avenger96 DTs. These DTs have to be updated also, but
this change is already handled through the following patch:
https://lore.kernel.org/linux-arm-kernel/20230518020547.487670-1-marex@denx.de/T/
Olivier Moysan (8):
ARM: dts: stm32: add adc internal channels to stm32mp15
ARM: dts: stm32: add vrefint calibration on stm32mp15
ARM: dts: stm32: add vrefint support to adc2 on stm32mp15
ARM: dts: stm32: enable adc on stm32mp15xx-dkx boards
ARM: dts: stm32: adopt generic iio bindings for adc channels on
stm32mp157c-ed1
ARM: dts: stm32: adopt generic iio bindings for adc channels on
emstamp-argon
ARM: dts: stm32: adopt generic iio bindings for adc channels on
dhcor-drc
ARM: dts: stm32: adopt generic iio bindings for adc channels on
dhcor-testbench
arch/arm/boot/dts/stm32mp151.dtsi | 17 +++++++++++
arch/arm/boot/dts/stm32mp157c-ed1.dts | 16 ++++++++--
.../boot/dts/stm32mp157c-emstamp-argon.dtsi | 6 ++--
.../dts/stm32mp15xx-dhcor-drc-compact.dtsi | 28 +++++++++++++++---
.../boot/dts/stm32mp15xx-dhcor-testbench.dtsi | 28 +++++++++++++++---
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 29 +++++++++++++------
6 files changed, 102 insertions(+), 22 deletions(-)
--
2.25.1
Powered by blists - more mailing lists