Re: [PATCH v3 06/15] iio: adc: stm32-adc: add vreg enable option to manage diversity

From: Joshua Crofts

Date: Wed Sep 30 2026 - 13:49:10 EST


On Wed, 30 Sep 2026 16:18:27 +0200
Fabrice Gasnier <fabrice.gasnier@xxxxxxxxxxx> wrote:

> Add a boolean (has_vregen) in adc configuration structure to prevent
> setting the reserved bit (CR_ADVREGEN bit 28) on STM32MP2 SoCs.
> This bit is present on earlier stm32h7, stm32mp13 and stm32mp15.
> No functional change intended.
>
> Co-developed-by: Cheick Traore <cheick.traore-ext@xxxxxx>
> Signed-off-by: Cheick Traore <cheick.traore-ext@xxxxxx>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@xxxxxxxxxxx>
> ---

Reviewed-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>

--
Kind regards,
Joshua Crofts