aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-08-19 09:51:56 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-23 21:28:41 -0700
commitf6a9ff07832a9d30d457e976e6233b4351cd4cdf (patch)
treef6df9103fd4466bf982148ecbff768c2740d16bc /include/linux/usb
parentusb: common: add API to get if the platform supports TPL (diff)
downloadlinux-dev-f6a9ff07832a9d30d457e976e6233b4351cd4cdf.tar.xz
linux-dev-f6a9ff07832a9d30d457e976e6233b4351cd4cdf.zip
usb: chipidea: add TPL support for targeted hosts
For OTG and Embedded hosts, they may need TPL (Targeted Peripheral List) for usb certification and other vender specific requirements, the platform can tell chipidea core driver if it supports tpl through DT or platform data. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/chipidea.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h
index bbe779f640be..e14c09a45c5a 100644
--- a/include/linux/usb/chipidea.h
+++ b/include/linux/usb/chipidea.h
@@ -31,6 +31,7 @@ struct ci_hdrc_platform_data {
#define CI_HDRC_CONTROLLER_STOPPED_EVENT 1
void (*notify_event) (struct ci_hdrc *ci, unsigned event);
struct regulator *reg_vbus;
+ bool tpl_support;
};
/* Default offset of capability registers */