Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751708AbdFZTDP (ORCPT ); Mon, 26 Jun 2017 15:03:15 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:35048 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbdFZTDK (ORCPT ); Mon, 26 Jun 2017 15:03:10 -0400 Date: Mon, 26 Jun 2017 14:03:08 -0500 From: Rob Herring To: "Thang Q. Nguyen" Cc: Greg Kroah-Hartman , Mark Rutland , Mathias Nyman , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Phong Vo , Loc Ho , Tung Nguyen , patches@apm.com Subject: Re: [PATCH v3 1/1] usb:host:xhci support option to disable the xHCI USB2 HW LPM Message-ID: <20170626190308.7usyayemlgekpe2s@rob-hp-laptop> References: <1498186932-29277-1-git-send-email-tqnguyen@apm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1498186932-29277-1-git-send-email-tqnguyen@apm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1201 Lines: 27 On Fri, Jun 23, 2017 at 10:02:12AM +0700, Thang Q. Nguyen wrote: > XHCI specification 1.1 does not require xHCI-compliant controllers > to always enable hardware USB2 LPM. However, the current xHCI > driver always enable it when seeing HLC=1. > This patch supports an option for users to control disabling > USB2 Hardware LPM via DT/ACPI attribute. > This option is needed in case user would like to disable this > feature. For example, their xHCI controller has its USB2 HW LPM > broken. > > Signed-off-by: Tung Nguyen > Signed-off-by: Thang Q. Nguyen > --- > Changes since v2: > - Change code to disable HW LPM as an option for user which > is set via ACPI/DT. > Changes since v1: > - Update DT/ACPI attribute and corresponding codes from HLE to LPM to > be consistent with other attribute names. > --- > Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 + > drivers/usb/host/xhci-plat.c | 3 +++ > drivers/usb/host/xhci.c | 3 +++ > drivers/usb/host/xhci.h | 1 + > 4 files changed, 8 insertions(+), 0 deletions(-) Acked-by: Rob Herring