enable APB2 DSI clock
This commit is contained in:
parent
59b9983d97
commit
dc392a6c68
@ -644,6 +644,12 @@ static inline void rcc_enableapb2(void)
|
||||
regval |= RCC_APB2ENR_LTDCEN;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32F7_DSIHOST
|
||||
/* LTDC clock enable */
|
||||
|
||||
regval |= RCC_APB2ENR_DSIEN;
|
||||
#endif
|
||||
|
||||
putreg32(regval, STM32_RCC_APB2ENR); /* Enable peripherals */
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user