summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2010-05-17 16:55:23 -0700
committerGary King <gking@nvidia.com>2010-05-17 19:19:51 -0700
commitbe81bd7bd85dd6e83ebedece8e6bb79a55298c8e (patch)
tree8887ca71aa78ef2ba60786a20664996b26608df3 /include
parente79dd133d9d69cb43439ac45023ae00a06b344da (diff)
USB: fsl_udc_core: add USB charging support
add work queue to support detection of dumb, non-compliant USB chargers, which are detected by the absence of a setup packet. call into platform code to read the USB phy directly to detect dedicated, compliant chargers Change-Id: Idd3d38568a96c8c5c35adea95f83472672ee7687
Diffstat (limited to 'include')
-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 43fc95d822d5..6f445f389fb3 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -63,6 +63,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 */