From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1169259AbdDXLmI (ORCPT ); Mon, 24 Apr 2017 07:42:08 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:32776 "EHLO mail-wr0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1169224AbdDXLl5 (ORCPT ); Mon, 24 Apr 2017 07:41:57 -0400 Date: Mon, 24 Apr 2017 12:41:53 +0100 From: Lee Jones To: Tony Lindgren Cc: Samuel Ortiz , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Felipe Balbi , Keshava Munegowda , Marcel Partap , Michael Scott , Roger Quadros , Sebastian Reichel Subject: Re: [PATCH 2/2] mfd: omap-usb-tll: Configure ULPIAUTOIDLE Message-ID: <20170424114153.c7s7guvjknn24pt6@dell> References: <20170415170509.17364-1-tony@atomide.com> <20170415170509.17364-3-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170415170509.17364-3-tony@atomide.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 15 Apr 2017, Tony Lindgren wrote: > The idle mode needs to be only disabled for UTMIAUTOIDLE while > ULPIAUTOIDLE can be enabled. > > This matches the TLL_CHANNEL_CONF_i register configuration for ehci-tll > in the Motorola Linux kernel tree for Wrigley 3G LTE modem on droid 4 > and the modem still stays responsive. > > Cc: Felipe Balbi > Cc: Keshava Munegowda > Cc: Marcel Partap > Cc: Michael Scott > Cc: Roger Quadros > Cc: Sebastian Reichel > Signed-off-by: Tony Lindgren > --- > drivers/mfd/omap-usb-tll.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Applied, thanks. > diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c > --- a/drivers/mfd/omap-usb-tll.c > +++ b/drivers/mfd/omap-usb-tll.c > @@ -373,12 +373,13 @@ int omap_tll_init(struct usbhs_omap_platform_data *pdata) > } else if (pdata->port_mode[i] == > OMAP_EHCI_PORT_MODE_TLL) { > /* > - * Disable AutoIdle, BitStuffing > - * and use SDR Mode > + * Disable UTMI AutoIdle, BitStuffing > + * and use SDR Mode. Enable ULPI AutoIdle. > */ > reg &= ~(OMAP_TLL_CHANNEL_CONF_UTMIAUTOIDLE > | OMAP_TLL_CHANNEL_CONF_ULPIDDRMODE); > reg |= OMAP_TLL_CHANNEL_CONF_ULPINOBITSTUFF; > + reg |= OMAP_TLL_CHANNEL_CONF_ULPI_ULPIAUTOIDLE; > } else if (pdata->port_mode[i] == > OMAP_EHCI_PORT_MODE_HSIC) { > /* -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog