summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-06-05 11:23:14 +0800
committerEric Nelson <eric.nelson@boundarydevices.com>2012-08-28 09:48:57 -0700
commit71af240f456aa97534171e022065af1803fba245 (patch)
treeb3a38f7541e4405b09f50321a5ba67cec4b78fa0 /include
parent14b3e3e6243cf0b299863f5f8f9b1fbf0fc68128 (diff)
ENGR00212322-3 usb: add one platform data entry to store anatop base address
It is used to usb charger detect, the charger detection process need to access anatop register. Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 5437d3a4719e..8c41b237fc83 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -145,6 +145,8 @@ struct fsl_usb2_platform_data {
enum usb_wakeup_event wakeup_event;
u32 pmflags; /* PM from otg or system */
+ void __iomem *charger_base_addr; /* used for i.mx6 usb charger detect */
+
/* register save area for suspend/resume */
u32 pm_command;
u32 pm_status;