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

Joshua Crofts joshua.crofts1 at gmail.com
Wed Sep 30 08:01:10 PDT 2026


On Wed, 30 Sep 2026 16:18:27 +0200
Fabrice Gasnier <fabrice.gasnier at foss.st.com> 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 at st.com>
> Signed-off-by: Cheick Traore <cheick.traore-ext at st.com>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier at foss.st.com>
> ---

Reviewed-by: Joshua Crofts <joshua.crofts1 at gmail.com>

-- 
Kind regards,
Joshua Crofts



More information about the linux-arm-kernel mailing list