|
@@ -393,6 +393,20 @@ enum dwc2_ep0_state {
|
|
* 0 - No
|
|
* 0 - No
|
|
* 1 - Yes
|
|
* 1 - Yes
|
|
* @hird_threshold: Value of BESL or HIRD Threshold.
|
|
* @hird_threshold: Value of BESL or HIRD Threshold.
|
|
|
|
+ * @ref_clk_per: Indicates in terms of pico seconds the period
|
|
|
|
+ * of ref_clk.
|
|
|
|
+ * 62500 - 16MHz
|
|
|
|
+ * 58823 - 17MHz
|
|
|
|
+ * 52083 - 19.2MHz
|
|
|
|
+ * 50000 - 20MHz
|
|
|
|
+ * 41666 - 24MHz
|
|
|
|
+ * 33333 - 30MHz (default)
|
|
|
|
+ * 25000 - 40MHz
|
|
|
|
+ * @sof_cnt_wkup_alert: Indicates in term of number of SOF's after which
|
|
|
|
+ * the controller should generate an interrupt if the
|
|
|
|
+ * device had been in L1 state until that period.
|
|
|
|
+ * This is used by SW to initiate Remote WakeUp in the
|
|
|
|
+ * controller so as to sync to the uF number from the host.
|
|
* @activate_stm_fs_transceiver: Activate internal transceiver using GGPIO
|
|
* @activate_stm_fs_transceiver: Activate internal transceiver using GGPIO
|
|
* register.
|
|
* register.
|
|
* 0 - Deactivate the transceiver (default)
|
|
* 0 - Deactivate the transceiver (default)
|
|
@@ -472,6 +486,10 @@ struct dwc2_core_params {
|
|
u32 max_transfer_size;
|
|
u32 max_transfer_size;
|
|
u32 ahbcfg;
|
|
u32 ahbcfg;
|
|
|
|
|
|
|
|
+ /* GREFCLK parameters */
|
|
|
|
+ u32 ref_clk_per;
|
|
|
|
+ u16 sof_cnt_wkup_alert;
|
|
|
|
+
|
|
/* Host parameters */
|
|
/* Host parameters */
|
|
bool host_dma;
|
|
bool host_dma;
|
|
bool dma_desc_enable;
|
|
bool dma_desc_enable;
|