summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVenkat Moganty <vmoganty@nvidia.com>2010-02-26 14:06:15 +0530
committerGary King <gking@nvidia.com>2010-03-02 20:00:25 -0800
commitc45cca3c944ab8bcfca4d87f66ba0f8fb4693f85 (patch)
tree754f3793da8e63704f2b4948bfe1736103866dfa /include
parent3c03d1558259888d380fcd0bb98944189a5cce0d (diff)
tegra udc: Add USB charger support
Adding support for usb charger detection and setting the charging current limit through the regulator for drawing the vbus current. Bug 631316 USB charging support in Android Tested on: whistler/Android Change-Id: Ib73ac660d1546fbbdc0ed19ca0f25e04b3676886 Reviewed-on: http://git-master/r/693 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'include')
-rwxr-xr-x[-rw-r--r--]include/linux/fsl_devices.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index d9051d717d27..f70d700aa7aa 100644..100755
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -89,6 +89,7 @@ struct fsl_usb2_platform_data {
enum fsl_usb2_operating_modes operating_mode;
enum fsl_usb2_phy_modes phy_mode;
unsigned int port_enables;
+ struct platform_device *regulator_dev;
};
/* Flags in fsl_usb2_mph_platform_data */