usb: chipidea: add tx/rx burst size configuration interface
The user can adjust it through dts or platform data Signed-off-by: Peter Chen <peter.chen@freescale.com>
This commit is contained in:
@@ -34,6 +34,8 @@ struct ci_hdrc_platform_data {
|
||||
#define CI_HDRC_TURN_VBUS_EARLY_ON BIT(7)
|
||||
#define CI_HDRC_SET_NON_ZERO_TTHA BIT(8)
|
||||
#define CI_HDRC_OVERRIDE_AHB_BURST BIT(9)
|
||||
#define CI_HDRC_OVERRIDE_TX_BURST BIT(10)
|
||||
#define CI_HDRC_OVERRIDE_RX_BURST BIT(11)
|
||||
enum usb_dr_mode dr_mode;
|
||||
#define CI_HDRC_CONTROLLER_RESET_EVENT 0
|
||||
#define CI_HDRC_CONTROLLER_STOPPED_EVENT 1
|
||||
@@ -43,6 +45,8 @@ struct ci_hdrc_platform_data {
|
||||
/* interrupt threshold setting */
|
||||
u32 itc_setting;
|
||||
u32 ahb_burst_config;
|
||||
u32 tx_burst_size;
|
||||
u32 rx_burst_size;
|
||||
};
|
||||
|
||||
/* Default offset of capability registers */
|
||||
|
Reference in New Issue
Block a user