diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-11 01:01:40 -0400 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2011-10-13 13:41:38 -0400 |
| commit | 258485d9904703c4cb3a2b3ee38fe2a0cbf01f48 (patch) | |
| tree | ca72cb1d0fab6213da29ebb19a5254ebf4db9284 /include/linux/usb | |
| parent | 11935de5579a5d01b3c89d69b4fc7a38b4dd8eae (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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h index 959af02d3af6..040d8bb2b5a2 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 | /* |
