linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] iio: stm32-adc: add support of adc for stm32mp13
@ 2022-09-28 16:41 Olivier Moysan
  2022-09-28 16:41 ` [PATCH 1/8] iio: adc: stm32-adc: fix channel sampling time init Olivier Moysan
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Olivier Moysan @ 2022-09-28 16:41 UTC (permalink / raw)
  To: Alexandre Torgue, Andy Shevchenko, Fabrice Gasnier,
	Jonathan Cameron, Lars-Peter Clausen, Maxime Coquelin, nuno.sa,
	Olivier Moysan, Paul Cercueil, Sebastian Andrzej Siewior,
	Wan Jiabing, Yannick Brosseau
  Cc: linux-arm-kernel, linux-iio, linux-kernel, linux-stm32

On STM32MP13 SoCs, each ADC peripheral has a single ADC block.
These ADC peripherals, ADC1 and ADC2, are fully independent.
The STM32MP131 SoC provides only ADC2, while other STM32MP13x
SoCs provide both ADC1 and ADC2.

The STM32MP13 ADC features and characteristics are slightly
different from STM32MP15 ADC ones, requiring a specific support
in the driver.

This patchset enables the ADC peripheral on STM32MP135F-DK board.

On STM32MP135F-DK board the ADC is connected to VDDA voltage
provided by the PMIC LOD1 supply, which has to be enabled through
SCMI regulator framework.
This serie introduces a fixed regulator to allow ADC probing,
while SCMI regulators support is not available. This does
not ensure ADC regulator enabling however.

Olivier Moysan (8):
  iio: adc: stm32-adc: fix channel sampling time init
  dt-bindings: iio: adc: stm32-adc: add stm32mp13 compatibles
  iio: adc: stm32-adc: add stm32mp13 support
  iio: adc: stm32: manage min sampling time on all internal channels
  ARM: dts: stm32: add adc support to stm32mp13
  ARM: dts: stm32: add adc pins muxing on stm32mp135f-dk
  ARM: dts: stm32: add dummy vdd_adc regulator on stm32mp135f-dk
  ARM: dts: stm32: add adc support on stm32mp135f-dk

 .../bindings/iio/adc/st,stm32-adc.yaml        |  68 ++++-
 arch/arm/boot/dts/stm32mp13-pinctrl.dtsi      |   7 +
 arch/arm/boot/dts/stm32mp131.dtsi             |  43 +++
 arch/arm/boot/dts/stm32mp133.dtsi             |  31 +++
 arch/arm/boot/dts/stm32mp135f-dk.dts          |  34 +++
 drivers/iio/adc/stm32-adc-core.c              |  21 ++
 drivers/iio/adc/stm32-adc-core.h              |  32 +++
 drivers/iio/adc/stm32-adc.c                   | 249 +++++++++++++++---
 8 files changed, 442 insertions(+), 43 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-10-02 13:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 16:41 [PATCH 0/8] iio: stm32-adc: add support of adc for stm32mp13 Olivier Moysan
2022-09-28 16:41 ` [PATCH 1/8] iio: adc: stm32-adc: fix channel sampling time init Olivier Moysan
2022-09-28 16:51   ` Andy Shevchenko
2022-10-02 13:33     ` Jonathan Cameron
2022-09-28 16:41 ` [PATCH 2/8] dt-bindings: iio: adc: stm32-adc: add stm32mp13 compatibles Olivier Moysan
2022-09-28 16:41 ` [PATCH 3/8] iio: adc: stm32-adc: add stm32mp13 support Olivier Moysan
2022-09-28 17:07   ` Andy Shevchenko
2022-10-02 13:42   ` Jonathan Cameron
2022-09-28 16:41 ` [PATCH 4/8] iio: adc: stm32: manage min sampling time on all internal channels Olivier Moysan
2022-09-28 16:41 ` [PATCH 5/8] ARM: dts: stm32: add adc support to stm32mp13 Olivier Moysan
2022-09-28 16:41 ` [PATCH 6/8] ARM: dts: stm32: add adc pins muxing on stm32mp135f-dk Olivier Moysan
2022-09-28 16:41 ` [PATCH 7/8] ARM: dts: stm32: add dummy vdd_adc regulator " Olivier Moysan
2022-09-28 16:41 ` [PATCH 8/8] ARM: dts: stm32: add adc support " Olivier Moysan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).