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 <olivier.moysan@foss.st.com> Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Link: https://lore.kernel.org/r/20220609095234.375925-1-olivier.moysan@foss.st.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent bc05f30 commit 9905394

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)