diff options
author | Li Jun <jun.li@freescale.com> | 2015-06-17 16:38:47 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-09-17 09:23:51 -0500 |
commit | ca3f620faed53c7a68aa92244bd8b8aa6c2c1a59 (patch) | |
tree | b16458b355f2517db6645332ee060fe073b5670b /include/linux/usb | |
parent | 9168a980005e3370207079aff5ae4fdca89be142 (diff) |
MLK-11123-8 usb: chipidea: set usb gadeget's otg capabilities
Set gadget's otg capabilities according to controller's capability and otg
properties in device tree.
Signed-off-by: Li Jun <jun.li@freescale.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/chipidea.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h index 5fcb7b70f374..fbb1b0f4bdf4 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h @@ -53,6 +53,7 @@ struct ci_hdrc_platform_data { #define CI_HDRC_IMX_ADP_ATTACH_EVENT 13 int (*notify_event)(struct ci_hdrc *ci, unsigned event); struct regulator *reg_vbus; + struct usb_otg_caps ci_otg_caps; bool tpl_support; bool adp_support; u32 ahbburst_config; |