Skip to content

Commit 9905394

Browse files
Olivier Moysanjic23
authored andcommitted
iio: adc: stm32: fix maximum clock rate for stm32mp15x
Change maximum STM32 ADC input clock rate to 36MHz, as specified in STM32MP15x datasheets. Fixes: d58c67d ("iio: adc: stm32-adc: add support for STM32MP1") Signed-off-by: Olivier Moysan <[email protected]> Reviewed-by: Fabrice Gasnier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent bc05f30 commit 9905394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iio/adc/stm32-adc-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ static const struct stm32_adc_priv_cfg stm32h7_adc_priv_cfg = {
809809
static const struct stm32_adc_priv_cfg stm32mp1_adc_priv_cfg = {
810810
.regs = &stm32h7_adc_common_regs,
811811
.clk_sel = stm32h7_adc_clk_sel,
812-
.max_clk_rate_hz = 40000000,
812+
.max_clk_rate_hz = 36000000,
813813
.has_syscfg = HAS_VBOOSTER | HAS_ANASWVDD,
814814
.num_irqs = 2,
815815
.num_adcs = 2,

0 commit comments

Comments
 (0)