From: Alan Stern <stern@rowland.harvard.edu>
To: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Cc: hminas@synopsys.com, gregkh@linuxfoundation.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-stm32@st-md-mailman.stormreply.com,
amelie.delaunay@foss.st.com
Subject: Re: [PATCH 1/3] usb: host: ohci-platform: add TPL support
Date: Tue, 21 Jun 2022 10:19:25 -0400 [thread overview]
Message-ID: <YrHTba9s2NhBfQT2@rowland.harvard.edu> (raw)
In-Reply-To: <20220621130506.85424-2-fabrice.gasnier@foss.st.com>
On Tue, Jun 21, 2022 at 03:05:04PM +0200, Fabrice Gasnier wrote:
> From: Amelie Delaunay <amelie.delaunay@foss.st.com>
>
> The TPL support is used to identify targeted devices during EH compliance
> test. 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>
> ---
For this patch and the 2/3 ehci-platform patch:
Acked-by: Alan Stern <stern@rowland.harvard.edu>
> drivers/usb/host/ohci-platform.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
> index 47dfbfe9e5190..0adae62651276 100644
> --- a/drivers/usb/host/ohci-platform.c
> +++ b/drivers/usb/host/ohci-platform.c
> @@ -28,6 +28,7 @@
> #include <linux/usb/ohci_pdriver.h>
> #include <linux/usb.h>
> #include <linux/usb/hcd.h>
> +#include <linux/usb/of.h>
>
> #include "ohci.h"
>
> @@ -210,6 +211,8 @@ static int ohci_platform_probe(struct platform_device *dev)
> hcd->rsrc_start = res_mem->start;
> hcd->rsrc_len = resource_size(res_mem);
>
> + hcd->tpl_support = of_usb_host_tpl_support(dev->dev.of_node);
> +
> err = usb_add_hcd(hcd, irq, IRQF_SHARED);
> if (err)
> goto err_power;
> --
> 2.25.1
>
WARNING: multiple messages have this Message-ID (diff)
From: Alan Stern <stern@rowland.harvard.edu>
To: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Cc: hminas@synopsys.com, gregkh@linuxfoundation.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-stm32@st-md-mailman.stormreply.com,
amelie.delaunay@foss.st.com
Subject: Re: [PATCH 1/3] usb: host: ohci-platform: add TPL support
Date: Tue, 21 Jun 2022 10:19:25 -0400 [thread overview]
Message-ID: <YrHTba9s2NhBfQT2@rowland.harvard.edu> (raw)
In-Reply-To: <20220621130506.85424-2-fabrice.gasnier@foss.st.com>
On Tue, Jun 21, 2022 at 03:05:04PM +0200, Fabrice Gasnier wrote:
> From: Amelie Delaunay <amelie.delaunay@foss.st.com>
>
> The TPL support is used to identify targeted devices during EH compliance
> test. 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>
> ---
For this patch and the 2/3 ehci-platform patch:
Acked-by: Alan Stern <stern@rowland.harvard.edu>
> drivers/usb/host/ohci-platform.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
> index 47dfbfe9e5190..0adae62651276 100644
> --- a/drivers/usb/host/ohci-platform.c
> +++ b/drivers/usb/host/ohci-platform.c
> @@ -28,6 +28,7 @@
> #include <linux/usb/ohci_pdriver.h>
> #include <linux/usb.h>
> #include <linux/usb/hcd.h>
> +#include <linux/usb/of.h>
>
> #include "ohci.h"
>
> @@ -210,6 +211,8 @@ static int ohci_platform_probe(struct platform_device *dev)
> hcd->rsrc_start = res_mem->start;
> hcd->rsrc_len = resource_size(res_mem);
>
> + hcd->tpl_support = of_usb_host_tpl_support(dev->dev.of_node);
> +
> err = usb_add_hcd(hcd, irq, IRQF_SHARED);
> if (err)
> goto err_power;
> --
> 2.25.1
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-06-21 14:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-21 13:05 [PATCH 0/3] usb: host: add TPL support to ehci ohci and dwc2 Fabrice Gasnier
2022-06-21 13:05 ` Fabrice Gasnier
2022-06-21 13:05 ` [PATCH 1/3] usb: host: ohci-platform: add TPL support Fabrice Gasnier
2022-06-21 13:05 ` Fabrice Gasnier
2022-06-21 14:19 ` Alan Stern [this message]
2022-06-21 14:19 ` Alan Stern
2022-06-21 14:23 ` Greg KH
2022-06-21 14:23 ` Greg KH
2022-06-21 13:05 ` [PATCH 2/3] usb: host: ehci-platform: " Fabrice Gasnier
2022-06-21 13:05 ` Fabrice Gasnier
2022-06-21 13:05 ` [PATCH 3/3] usb: dwc2: host: " Fabrice Gasnier
2022-06-21 13:05 ` Fabrice Gasnier
2022-06-21 14:24 ` Greg KH
2022-06-21 14:24 ` Greg KH
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=YrHTba9s2NhBfQT2@rowland.harvard.edu \
--to=stern@rowland.harvard.edu \
--cc=amelie.delaunay@foss.st.com \
--cc=fabrice.gasnier@foss.st.com \
--cc=gregkh@linuxfoundation.org \
--cc=hminas@synopsys.com \
--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 \
/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 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.