Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: omap-usb-tll: Configure ULPIAUTOIDLE

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.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Tony Lindgren and committed by
Lee Jones
76d3341b 8b8a84c5

+3 -2
+3 -2
drivers/mfd/omap-usb-tll.c
··· 373 373 } else if (pdata->port_mode[i] == 374 374 OMAP_EHCI_PORT_MODE_TLL) { 375 375 /* 376 - * Disable AutoIdle, BitStuffing 377 - * and use SDR Mode 376 + * Disable UTMI AutoIdle, BitStuffing 377 + * and use SDR Mode. Enable ULPI AutoIdle. 378 378 */ 379 379 reg &= ~(OMAP_TLL_CHANNEL_CONF_UTMIAUTOIDLE 380 380 | OMAP_TLL_CHANNEL_CONF_ULPIDDRMODE); 381 381 reg |= OMAP_TLL_CHANNEL_CONF_ULPINOBITSTUFF; 382 + reg |= OMAP_TLL_CHANNEL_CONF_ULPI_ULPIAUTOIDLE; 382 383 } else if (pdata->port_mode[i] == 383 384 OMAP_EHCI_PORT_MODE_HSIC) { 384 385 /*