All of lore.kernel.org
 help / color / mirror / Atom feed
* [1/1] usb: host: xhci-plat: add platform TPL support
@ 2018-09-13 10:28 Mathias Nyman
  0 siblings, 0 replies; 3+ messages in thread
From: Mathias Nyman @ 2018-09-13 10:28 UTC (permalink / raw)
  To: Peter Chen, peter.chen; +Cc: mathias.nyman, linux-usb, linux-imx

On 13.09.2018 09:54, Peter Chen wrote:
> On Wed, Jul 18, 2018 at 2:45 PM Peter Chen <peter.chen@nxp.com> wrote:
>>
>> The TPL support is used to identify targeted devices during
>> EH2.0 and EH3.0 certification test, the user can add "tpl-support"
>> at dts to enable this feature.
>>
>> Signed-off-by: Peter Chen <peter.chen@nxp.com>
>> ---
>>   drivers/usb/host/xhci-plat.c | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
>> index c1b22fc64e38..270976cf4156 100644
>> --- a/drivers/usb/host/xhci-plat.c
>> +++ b/drivers/usb/host/xhci-plat.c
>> @@ -18,6 +18,7 @@
>>   #include <linux/usb/phy.h>
>>   #include <linux/slab.h>
>>   #include <linux/acpi.h>
>> +#include <linux/usb/of.h>
>>
>>   #include "xhci.h"
>>   #include "xhci-plat.h"
>> @@ -299,6 +300,8 @@ static int xhci_plat_probe(struct platform_device *pdev)
>>                  hcd->skip_phy_initialization = 1;
>>          }
>>
>> +       hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node);
>> +       xhci->shared_hcd->tpl_support = hcd->tpl_support;
>>          ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
>>          if (ret)
>>                  goto disable_usb_phy;
>> --
>> 2.14.1
>>
> 
> Ping...
> 

Thanks, adding to queue

-Mathias

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [1/1] usb: host: xhci-plat: add platform TPL support
@ 2018-09-13  6:54 Peter Chen
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Chen @ 2018-09-13  6:54 UTC (permalink / raw)
  To: peter.chen; +Cc: mathias.nyman, linux-usb, linux-imx

On Wed, Jul 18, 2018 at 2:45 PM Peter Chen <peter.chen@nxp.com> wrote:
>
> The TPL support is used to identify targeted devices during
> EH2.0 and EH3.0 certification test, the user can add "tpl-support"
> at dts to enable this feature.
>
> Signed-off-by: Peter Chen <peter.chen@nxp.com>
> ---
>  drivers/usb/host/xhci-plat.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> index c1b22fc64e38..270976cf4156 100644
> --- a/drivers/usb/host/xhci-plat.c
> +++ b/drivers/usb/host/xhci-plat.c
> @@ -18,6 +18,7 @@
>  #include <linux/usb/phy.h>
>  #include <linux/slab.h>
>  #include <linux/acpi.h>
> +#include <linux/usb/of.h>
>
>  #include "xhci.h"
>  #include "xhci-plat.h"
> @@ -299,6 +300,8 @@ static int xhci_plat_probe(struct platform_device *pdev)
>                 hcd->skip_phy_initialization = 1;
>         }
>
> +       hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node);
> +       xhci->shared_hcd->tpl_support = hcd->tpl_support;
>         ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
>         if (ret)
>                 goto disable_usb_phy;
> --
> 2.14.1
>

Ping...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [1/1] usb: host: xhci-plat: add platform TPL support
@ 2018-07-18  6:42 Peter Chen
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Chen @ 2018-07-18  6:42 UTC (permalink / raw)
  To: mathias.nyman; +Cc: linux-usb, linux-imx, Peter Chen

The TPL support is used to identify targeted devices during
EH2.0 and EH3.0 certification test, the user can add "tpl-support"
at dts to enable this feature.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
---
 drivers/usb/host/xhci-plat.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index c1b22fc64e38..270976cf4156 100644
--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -18,6 +18,7 @@
 #include <linux/usb/phy.h>
 #include <linux/slab.h>
 #include <linux/acpi.h>
+#include <linux/usb/of.h>
 
 #include "xhci.h"
 #include "xhci-plat.h"
@@ -299,6 +300,8 @@ static int xhci_plat_probe(struct platform_device *pdev)
 		hcd->skip_phy_initialization = 1;
 	}
 
+	hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node);
+	xhci->shared_hcd->tpl_support = hcd->tpl_support;
 	ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
 	if (ret)
 		goto disable_usb_phy;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-13 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-13 10:28 [1/1] usb: host: xhci-plat: add platform TPL support Mathias Nyman
  -- strict thread matches above, loose matches on Subject: below --
2018-09-13  6:54 Peter Chen
2018-07-18  6:42 Peter Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.