aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-10-11 01:01:40 -0400
committerFelipe Balbi <balbi@ti.com>2011-10-13 13:41:38 -0400
commit258485d9904703c4cb3a2b3ee38fe2a0cbf01f48 (patch)
treeca72cb1d0fab6213da29ebb19a5254ebf4db9284 /include/linux/usb
parent11935de5579a5d01b3c89d69b4fc7a38b4dd8eae (diff)
usb: gadget: renesas_usbhs: add bus control functions
this patch add DVSTCTR control function for HOST support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/renesas_usbhs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h
index 959af02d3af..040d8bb2b5a 100644
--- a/include/linux/usb/renesas_usbhs.h
+++ b/include/linux/usb/renesas_usbhs.h
@@ -82,6 +82,13 @@ struct renesas_usbhs_platform_callback {
82 * get VBUS status function. 82 * get VBUS status function.
83 */ 83 */
84 int (*get_vbus)(struct platform_device *pdev); 84 int (*get_vbus)(struct platform_device *pdev);
85
86 /*
87 * option:
88 *
89 * VBUS control is needed for Host
90 */
91 int (*set_vbus)(struct platform_device *pdev, int enable);
85}; 92};
86 93
87/* 94/*