summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/host.c
diff options
context:
space:
mode:
authorPeter Chen2014-08-19 03:51:56 +0200
committerGreg Kroah-Hartman2014-09-24 06:28:41 +0200
commitf6a9ff07832a9d30d457e976e6233b4351cd4cdf (patch)
treef6df9103fd4466bf982148ecbff768c2740d16bc /drivers/usb/chipidea/host.c
parentusb: common: add API to get if the platform supports TPL (diff)
downloadkernel-qcow2-linux-f6a9ff07832a9d30d457e976e6233b4351cd4cdf.tar.gz
kernel-qcow2-linux-f6a9ff07832a9d30d457e976e6233b4351cd4cdf.tar.xz
kernel-qcow2-linux-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 'drivers/usb/chipidea/host.c')
-rw-r--r--drivers/usb/chipidea/host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index a93d950e9468..0d6b24cb2270 100644
--- a/drivers/usb/chipidea/host.c
+++ b/drivers/usb/chipidea/host.c
@@ -60,6 +60,7 @@ static int host_start(struct ci_hdrc *ci)
hcd->power_budget = ci->platdata->power_budget;
hcd->phy = ci->transceiver;
+ hcd->tpl_support = ci->platdata->tpl_support;
ehci = hcd_to_ehci(hcd);
ehci->caps = ci->hw_bank.cap;