feat(drivers/st/usb): add device driver for STM32MP1

Add a device driver for Synopsis DWC2 USB IP of STM32MP15x,
this USB OTG device is only supported in device mode.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Change-Id: I90b21f094f6637b85f3ace23a3a3a2f6fd4e0951
This commit is contained in:
Patrick Delaunay 2020-09-14 09:47:44 +02:00 committed by Manish Pandey
parent efbd65fa7b
commit 9a138eb5f2
2 changed files with 1107 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
/*
* Copyright (c) 2021, STMicroelectronics - All Rights Reserved
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef STM32MP1_USB_H
#define STM32MP1_USB_H
#include <drivers/usb_device.h>
void stm32mp1_usb_init_driver(struct usb_handle *usb_core_handle,
struct pcd_handle *pcd_handle,
void *base_register);
#endif /* STM32MP1_USB_H */