From: Philipp Zabel Date: Mon, 1 Dec 2008 21:16:42 +0000 (-0800) Subject: add new gpio_vbus "transceiver" X-Git-Tag: v2.6.28-davinci1-diff-base~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4326414cc8f5b403567c15d79f5a23ffd8910ba;p=pandora-kernel.git add new gpio_vbus "transceiver" gpio_vbus provides simple GPIO VBUS sensing for peripheral controllers with an internal transceiver. Optionally, a second GPIO can be used to control D+ pullup. It also interfaces with the regulator framework to limit charging currents when powered via USB. gpio_vbus requests the regulator supplying "vbus_draw" and can enable/disable it or limit its current depending on USB state. [dbrownell@users.sourceforge.net: use drivers/otg, cleanups ] Signed-off-by: Philipp Zabel Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed