summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2012-06-05 11:23:14 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:38:34 +0800
commit0d22fb7ce2d82a901d0b0553affbb8ccff49fa03 (patch)
tree39ac1b8043b6f11d6f09200b85f94ecb414f7796 /include
parent79c0de7e013ed0cb9be34eae1c50006d2a6a9b9f (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;