mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>
To: Fabrice Gasnier <fabrice.gasnier@foss.st.com>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>
Cc: "stern@rowland.harvard.edu" <stern@rowland.harvard.edu>,
	"krzysztof.kozlowski+dt@linaro.org" 
	<krzysztof.kozlowski+dt@linaro.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-stm32@st-md-mailman.stormreply.com" 
	<linux-stm32@st-md-mailman.stormreply.com>,
	"amelie.delaunay@foss.st.com" <amelie.delaunay@foss.st.com>
Subject: Re: [PATCH v2 4/4] usb: dwc2: host: add TPL support
Date: Wed, 22 Jun 2022 05:32:34 +0000	[thread overview]
Message-ID: <e465c321-1d92-9f93-4e89-d9dde472d2e9@synopsys.com> (raw)
In-Reply-To: <20220621152350.145745-5-fabrice.gasnier@foss.st.com>

On 6/21/2022 7:23 PM, Fabrice Gasnier wrote:
> From: Amelie Delaunay <amelie.delaunay@foss.st.com>
> 
> The Target Peripheral List (TPL) is used to identify targeted devices
> during Embedded Host compliance testing. The user can add "tpl-support"
> in the device tree to enable it.
> 
> Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>

Acked-by: Minas Harutyunyan <hminas@synopsys.com>

> ---
> Changes in v2:
> - added dt-bindings precursor patch
> - update commit message to clarify TPL and EH meaning
> ---
>   drivers/usb/dwc2/hcd.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
> index f63a27d11fac8..4567f3c24d225 100644
> --- a/drivers/usb/dwc2/hcd.c
> +++ b/drivers/usb/dwc2/hcd.c
> @@ -52,6 +52,7 @@
>   
>   #include <linux/usb/hcd.h>
>   #include <linux/usb/ch11.h>
> +#include <linux/usb/of.h>
>   
>   #include "core.h"
>   #include "hcd.h"
> @@ -5339,6 +5340,8 @@ int dwc2_hcd_init(struct dwc2_hsotg *hsotg)
>   	/* Don't support SG list at this point */
>   	hcd->self.sg_tablesize = 0;
>   
> +	hcd->tpl_support = of_usb_host_tpl_support(hsotg->dev->of_node);
> +
>   	if (!IS_ERR_OR_NULL(hsotg->uphy))
>   		otg_set_host(hsotg->uphy->otg, &hcd->self);
>   


      reply	other threads:[~2022-06-22  5:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21 15:23 [PATCH v2 0/4] usb: host: add TPL support to ehci ohci and dwc2 Fabrice Gasnier
2022-06-21 15:23 ` [PATCH v2 1/4] usb: host: ohci-platform: add TPL support Fabrice Gasnier
2022-06-21 15:23 ` [PATCH v2 2/4] usb: host: ehci-platform: " Fabrice Gasnier
2022-06-21 15:23 ` [PATCH v2 3/4] dt-bindings: usb: dwc2: document " Fabrice Gasnier
2022-06-21 15:23 ` [PATCH v2 4/4] usb: dwc2: host: add " Fabrice Gasnier
2022-06-22  5:32   ` Minas Harutyunyan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e465c321-1d92-9f93-4e89-d9dde472d2e9@synopsys.com \
    --to=minas.harutyunyan@synopsys.com \
    --cc=amelie.delaunay@foss.st.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrice.gasnier@foss.st.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®