adc: stm32mp13: add support of adc to stm32mp13
authorOlivier Moysan <olivier.moysan@foss.st.com>
Fri, 14 Nov 2025 16:08:52 +0000 (17:08 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 17 Nov 2025 16:43:21 +0000 (10:43 -0600)
commit58d718b111be8864553f0ac05072b0e04006173f
tree1e01d452b2a4717b134043670ffed928fb7ef434
parent87b0ab0365dc2bf884752bf86654367e11835fda
adc: stm32mp13: add support of adc to stm32mp13

Add support of STM32 ADCs to STM32MP13x. This patch introduces
stm32_adc_regspec structure, as this is already done in kernel
driver, to manage smartly the differences in register set
between STMP32MP15 and STM32MP13 ADCs.

Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/adc/stm32-adc-core.c
drivers/adc/stm32-adc.c