public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] TWL: USB: disable VUSB regulators
@ 2009-01-21 13:15 Kalle Jokiniemi
  2009-01-21 13:15 ` [PATCH 1/1] TWL: USB: disable VUSB regulators when cable unplugged Kalle Jokiniemi
  2009-01-21 20:38 ` [PATCH 0/1] TWL: USB: disable VUSB regulators David Brownell
  0 siblings, 2 replies; 11+ messages in thread
From: Kalle Jokiniemi @ 2009-01-21 13:15 UTC (permalink / raw)
  To: linux-omap; +Cc: felipe.balbi, david-b

The TWL5030/4030 internal VUSB regulators are eating current
like small piggies. The following patch makes an aptempt at
making the twl4030-usb consumer driver dynamically disable
and enable the regulators it needs.

This regulator fw stuff is fairly new so any comments are
appreciated.

Tested on custom omap3430 hw. Build tested on beagle and
SDP defconfigs. If anyone could test this on public hw, that
would be great. There should be a noticeable drop in power
consumption when usb cable is unplugged with this patch. 


Kalle Jokiniemi (1):
      TWL: USB: disable VUSB regulators when cable unplugged




^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/1] USB: disable twl4030 usb regulators
@ 2009-02-20 12:02 Kalle Jokiniemi
       [not found] ` <1235131351-3178-1-git-send-email-kalle.jokiniemi-sMOQStClEysAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Kalle Jokiniemi @ 2009-02-20 12:02 UTC (permalink / raw)
  To: david-b-yBeKhBN/0LDR7s880joybQ, broonie-GFdadSzt00ze9xe1eoZjHA,
	lrg-kDsPt+C1G03kYMGBc/C6ZA
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	jouni.hogander-xNZwKgViW5gAvxtiuMwx3w

This patch combines the two patches "TWL: USB: disable VUSB
regulators when cable unplugged" and "USB: OTG: Twl4030 depends
on REGULATOR_TWL4030" sent earlier by me.

New thing is that the patch now handles situations where
disabling of VUSB3V1 regulator resets the ACTIVE state
remapping to SLEEP to be enabled.

Thanks to Jouni Hogander and David Brownell for helping
out with the patch. 

 drivers/usb/otg/Kconfig       |    2 +-
 drivers/usb/otg/twl4030-usb.c |   73 ++++++++++++++++++++++++++++++++++++-----
 2 files changed, 65 insertions(+), 10 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-02-20 12:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21 13:15 [PATCH 0/1] TWL: USB: disable VUSB regulators Kalle Jokiniemi
2009-01-21 13:15 ` [PATCH 1/1] TWL: USB: disable VUSB regulators when cable unplugged Kalle Jokiniemi
2009-01-22 17:55   ` David Brownell
2009-01-27  9:50     ` Kalle Jokiniemi
2009-01-28  2:02       ` David Brownell
2009-01-28  6:36         ` Kalle Jokiniemi
2009-01-21 20:38 ` [PATCH 0/1] TWL: USB: disable VUSB regulators David Brownell
2009-01-21 21:19   ` Woodruff, Richard
2009-01-21 21:47     ` David Brownell
2009-01-23 10:55   ` Kalle Jokiniemi
  -- strict thread matches above, loose matches on Subject: below --
2009-02-20 12:02 [PATCH 0/1] USB: disable twl4030 usb regulators Kalle Jokiniemi
     [not found] ` <1235131351-3178-1-git-send-email-kalle.jokiniemi-sMOQStClEysAvxtiuMwx3w@public.gmane.org>
2009-02-20 12:02   ` [PATCH 1/1] TWL: USB: disable VUSB regulators when cable unplugged Kalle Jokiniemi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox