From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932176AbdDRIdr (ORCPT ); Tue, 18 Apr 2017 04:33:47 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:17905 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755630AbdDRIbb (ORCPT ); Tue, 18 Apr 2017 04:31:31 -0400 Subject: Re: [PATCH 2/2] mfd: omap-usb-tll: Configure ULPIAUTOIDLE To: Tony Lindgren , Lee Jones , Samuel Ortiz References: <20170415170509.17364-1-tony@atomide.com> <20170415170509.17364-3-tony@atomide.com> CC: , , Felipe Balbi , Marcel Partap , Michael Scott , Sebastian Reichel From: Roger Quadros Message-ID: Date: Tue, 18 Apr 2017 11:31:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170415170509.17364-3-tony@atomide.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/04/17 20:05, 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 Acked-by: Roger Quadros > --- > drivers/mfd/omap-usb-tll.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > 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) { > /* > cheers, -roger