Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1539691

Re: usb:xhci: support disable usb2 LPM Remote Wakeup

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: usb:xhci: support disable usb2 LPM Remote Wakeup
Date 2016-12-09 22:40 +0100
Message-ID <sMB3A-8oO-33@gated-at.bofh.it> (permalink)
References <sKEoW-7ek-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Dec 04, 2016 at 07:42:01PM +0700, Thang Q. Nguyen wrote:
> From: Thang Nguyen <tqnguyen@apm.com>
> 
> As per USB 2.0 link power management addendum ECN, table 1-2, page 4,
> device or host initiated via resume signaling; device-initiated resumes
> can be optionally enabled/disabled by software. This patch adds support
> to control enabling the USB2 RWE feature via DT/ACPI attribute.
> 
> Signed-off-by: Vu Nguyen <vnguyen@apm.com>
> Signed-off-by: Thang Nguyen <tqnguyen@apm.com>
> ---
>  Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 +
>  drivers/usb/host/xhci-plat.c                       | 3 +++
>  drivers/usb/host/xhci.c                            | 5 ++++-
>  drivers/usb/host/xhci.h                            | 1 +
>  4 files changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt
> index 966885c..9b4cd14 100644
> --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt
> +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt
> @@ -25,6 +25,7 @@ Required properties:
>  
>  Optional properties:
>    - clocks: reference to a clock
> +  - usb2-rwe-disable: disable USB2 LPM Remote Wakeup capable

Remote wakeup has been around since USB 1.0 days. Does this need to be 
USB2 or XHCI specific?

>    - usb3-lpm-capable: determines if platform is USB3 LPM capable
>  
>  Example:

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

usb:xhci: support disable usb2 LPM Remote Wakeup "Thang Q. Nguyen" <tqnguyen@apm.com> - 2016-12-04 13:50 +0100
  Re: usb:xhci: support disable usb2 LPM Remote Wakeup "Thang Q. Nguyen" <tqnguyen@apm.com> - 2016-12-06 08:00 +0100
    Re: usb:xhci: support disable usb2 LPM Remote Wakeup Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-12-06 08:10 +0100
  Re: usb:xhci: support disable usb2 LPM Remote Wakeup Rob Herring <robh@kernel.org> - 2016-12-09 22:40 +0100
    Re: usb:xhci: support disable usb2 LPM Remote Wakeup "Thang Q. Nguyen" <tqnguyen@apm.com> - 2016-12-12 05:10 +0100
      Re: usb:xhci: support disable usb2 LPM Remote Wakeup Felipe Balbi <felipe.balbi@linux.intel.com> - 2016-12-12 09:40 +0100
        Re: usb:xhci: support disable usb2 LPM Remote Wakeup "Thang Q. Nguyen" <tqnguyen@apm.com> - 2016-12-12 10:00 +0100
      Re: usb:xhci: support disable usb2 LPM Remote Wakeup Mathias Nyman <mathias.nyman@linux.intel.com> - 2016-12-12 14:00 +0100

csiph-web