diff options
Diffstat (limited to 'include/linux/usb/chipidea.h')
| -rw-r--r-- | include/linux/usb/chipidea.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h index 25629948c842..7d399671a566 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h | |||
| @@ -18,12 +18,17 @@ struct ci_hdrc_platform_data { | |||
| 18 | unsigned long flags; | 18 | unsigned long flags; |
| 19 | #define CI_HDRC_REGS_SHARED BIT(0) | 19 | #define CI_HDRC_REGS_SHARED BIT(0) |
| 20 | #define CI_HDRC_REQUIRE_TRANSCEIVER BIT(1) | 20 | #define CI_HDRC_REQUIRE_TRANSCEIVER BIT(1) |
| 21 | #define CI_HDRC_PULLUP_ON_VBUS BIT(2) | ||
| 22 | #define CI_HDRC_DISABLE_STREAMING BIT(3) | 21 | #define CI_HDRC_DISABLE_STREAMING BIT(3) |
| 22 | /* | ||
| 23 | * Only set it when DCCPARAMS.DC==1 and DCCPARAMS.HC==1, | ||
| 24 | * but otg is not supported (no register otgsc). | ||
| 25 | */ | ||
| 26 | #define CI_HDRC_DUAL_ROLE_NOT_OTG BIT(4) | ||
| 23 | enum usb_dr_mode dr_mode; | 27 | enum usb_dr_mode dr_mode; |
| 24 | #define CI_HDRC_CONTROLLER_RESET_EVENT 0 | 28 | #define CI_HDRC_CONTROLLER_RESET_EVENT 0 |
| 25 | #define CI_HDRC_CONTROLLER_STOPPED_EVENT 1 | 29 | #define CI_HDRC_CONTROLLER_STOPPED_EVENT 1 |
| 26 | void (*notify_event) (struct ci_hdrc *ci, unsigned event); | 30 | void (*notify_event) (struct ci_hdrc *ci, unsigned event); |
| 31 | struct regulator *reg_vbus; | ||
| 27 | }; | 32 | }; |
| 28 | 33 | ||
| 29 | /* Default offset of capability registers */ | 34 | /* Default offset of capability registers */ |
