From: Sarah Sharp <sarah.a.sharp@linux.intel.com>
To: Julius Werner <jwerner@chromium.org>
Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Vincent Palatin <vpalatin@chromium.org>,
Benson Leung <bleung@chromium.org>, Felipe Balbi <balbi@ti.com>
Subject: Re: [PATCH] usb: xhci-plat: Enable USB 2.0 hardware LPM support for platform xHCs
Date: Wed, 21 Aug 2013 11:40:42 -0700 [thread overview]
Message-ID: <20130821184042.GC3577@xanatos> (raw)
In-Reply-To: <1377040909-18428-1-git-send-email-jwerner@chromium.org>
Hi Julius,
Thanks for the patch! Did you test with a USB analyzer to see if the
device was actually going into USB 2.0 Link PM? I'd like to confirm we
really aren't breaking anything for DW3 hosts by enabling this.
Sarah Sharp
On Tue, Aug 20, 2013 at 04:21:49PM -0700, Julius Werner wrote:
> The driver methods required for hardware LPM have only been added to the
> PCI version of the XHCI driver, for no apparent reason. They seem to
> work just as well with the platform driver, so let's add them to give
> more devices the chance for additional power savings. Tested on the DWC3
> xHC of an Exynos5420.
>
> Signed-off-by: Julius Werner <jwerner@chromium.org>
> ---
> drivers/usb/host/xhci-plat.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> index 51e22bf..7f46b5d 100644
> --- a/drivers/usb/host/xhci-plat.c
> +++ b/drivers/usb/host/xhci-plat.c
> @@ -80,6 +80,10 @@ static const struct hc_driver xhci_plat_xhci_driver = {
> .hub_status_data = xhci_hub_status_data,
> .bus_suspend = xhci_bus_suspend,
> .bus_resume = xhci_bus_resume,
> +
> + /* LPM support */
> + .update_device = xhci_update_device,
> + .set_usb2_hw_lpm = xhci_set_usb2_hardware_lpm,
> };
>
> static int xhci_plat_probe(struct platform_device *pdev)
> --
> 1.7.12.4
>
next prev parent reply other threads:[~2013-08-21 18:40 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-20 23:21 [PATCH] usb: xhci-plat: Enable USB 2.0 hardware LPM support for platform xHCs Julius Werner
2013-08-21 18:40 ` Sarah Sharp [this message]
2013-08-21 21:43 ` Julius Werner
2013-08-22 0:45 ` Sarah Sharp
2013-08-22 2:12 ` Greg Kroah-Hartman
2013-08-22 4:22 ` Julius Werner
2013-08-22 5:11 ` Paul Zimmerman
2013-08-26 19:14 ` Sarah Sharp
2013-08-26 19:37 ` Paul Zimmerman
2013-08-26 19:53 ` Paul Zimmerman
2013-08-28 21:51 ` Sarah Sharp
2013-08-28 22:15 ` Paul Zimmerman
2013-08-28 23:08 ` Julius Werner
2013-08-29 17:18 ` Sarah Sharp
2013-08-29 18:06 ` Julius Werner
2013-08-29 18:40 ` Paul Zimmerman
2013-11-06 20:33 ` Julius Werner
2013-12-02 21:50 ` Julius Werner
2013-08-29 17:42 ` Sarah Sharp
2013-08-29 18:11 ` Paul Zimmerman
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=20130821184042.GC3577@xanatos \
--to=sarah.a.sharp@linux.intel.com \
--cc=balbi@ti.com \
--cc=bleung@chromium.org \
--cc=gregkh@linuxfoundation.org \
--cc=jwerner@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=vpalatin@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox