summaryrefslogtreecommitdiff
path: root/drivers/clk/clk_stm32f.c
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-02-08 17:20:51 +0100
committerTom Rini <trini@konsulko.com>2018-03-13 21:45:37 -0400
commit6243c884485182d7dd949c8ef1965d71593c9e4d (patch)
treebc9b388c733f1c583d24be38e734d3b4a616f6a3 /drivers/clk/clk_stm32f.c
parent5e993508cb25f422553796513f78aee78fcc96e3 (diff)
clk: clk_stm32f: Add DSI clock support
DSI clock is available on STM32F769-disco and STM32F469-disco board. Signed-off-by: Yannick Fertre <yannick.fertre@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'drivers/clk/clk_stm32f.c')
-rw-r--r--drivers/clk/clk_stm32f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk_stm32f.c b/drivers/clk/clk_stm32f.c
index a683911ebf..d8eab1a88d 100644
--- a/drivers/clk/clk_stm32f.c
+++ b/drivers/clk/clk_stm32f.c
@@ -432,7 +432,7 @@ static ulong stm32_clk_get_rate(struct clk *clk)
return (sysclk >> stm32_get_apb_shift(regs, APB1));
/* APB2 CLOCK */
- case STM32F7_APB2_CLOCK(TIM1) ... STM32F7_APB2_CLOCK(LTDC):
+ case STM32F7_APB2_CLOCK(TIM1) ... STM32F7_APB2_CLOCK(DSI):
switch (clk->id) {
/*
* particular case for SDMMC1 and SDMMC2 :