summaryrefslogtreecommitdiff
path: root/include/usb
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-03-29 15:42:21 +0100
committerMarek Vasut <marex@denx.de>2019-04-21 10:26:52 +0200
commit931e9d7aa7228867eec7e33fd45718e6018cc96d (patch)
treeb845ceee1a272cfd465b83b73137278a84957112 /include/usb
parent763bb106f66c147b7d0c3046dbba66a07d7a9dd2 (diff)
usb: dwc2: add support for STM32MP1
Add compatible "st,stm32mp1-hsotg" and associated driver data to manage the usb33d-supply and the ST specific register for VBus sensing. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> # Conflicts: # drivers/usb/gadget/dwc2_udc_otg.c Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/dwc2_udc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/dwc2_udc.h b/include/usb/dwc2_udc.h
index 369f6fbd4ad..a6c12212a9b 100644
--- a/include/usb/dwc2_udc.h
+++ b/include/usb/dwc2_udc.h
@@ -26,6 +26,7 @@ struct dwc2_plat_otg_data {
unsigned int tx_fifo_sz_array[DWC2_MAX_HW_ENDPOINTS];
unsigned char tx_fifo_sz_nb;
bool force_b_session_valid;
+ bool activate_stm_id_vb_detection;
};
int dwc2_udc_probe(struct dwc2_plat_otg_data *pdata);