drivers: usb_dc_stm32: enable VDDUSB if needed

This is required on boards that isolate VDDUSB from the system.

Signed-off-by: Pushpal Sidhu <psidhu.devel@gmail.com>
This commit is contained in:
Pushpal Sidhu 2018-04-25 13:44:23 -07:00 committed by Kumar Gala
commit e2b27d820d
2 changed files with 20 additions and 0 deletions

View file

@ -55,6 +55,11 @@
#include <stm32l4xx_ll_rng.h>
#endif
#ifdef CONFIG_USB
/* Required to remove USB transceiver supply isolation */
#include <stm32l4xx_ll_pwr.h>
#endif /* CONFIG_USB */
#endif /* !_ASMLANGUAGE */
#endif /* _STM32L4X_SOC_H_ */