diff options
author | Sakethram Bommisetti <sakethram.bommisetti@stericsson.com> | 2011-07-14 17:30:24 +0530 |
---|---|---|
committer | Philippe LANGLAIS <philippe.langlais@stericsson.com> | 2011-07-19 08:32:59 +0200 |
commit | ad105d6f230148e545bcd6cb6944b3ca071ab44f (patch) | |
tree | b142cc8942ef6fecb829368a3c69db7ca469f1f1 /arch/arm/mach-ux500/include/mach/usb.h | |
parent | a27025197db3c31af57114dc59672001a2a802f9 (diff) |
USB:Enable GPIO configuration at connectlinaro-11.07-2.6.38
GPIO alternate configuration is set when the USB is
connected and reset at USB disconnect.
Change-Id: I07d9c2ed5028879ecff309aa9e4ac25deac148f5
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/27203
Reviewed-by: QATOOLS
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/usb.h')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/usb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/usb.h b/arch/arm/mach-ux500/include/mach/usb.h index d3739d41881..5c27a72c10d 100644 --- a/arch/arm/mach-ux500/include/mach/usb.h +++ b/arch/arm/mach-ux500/include/mach/usb.h @@ -22,4 +22,12 @@ struct ux500_musb_board_data { void ux500_add_usb(resource_size_t base, int irq, int *dma_rx_cfg, int *dma_tx_cfg); + +struct ab8500_usbgpio_platform_data { + int (*get)(struct device *device); + void (*enable)(void); + void (*disable)(void); + void (*put)(void); +}; + #endif |