mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
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>
This commit is contained in:
parent
11935de557
commit
258485d990
3 changed files with 50 additions and 1 deletions
|
@ -82,6 +82,13 @@ struct renesas_usbhs_platform_callback {
|
|||
* get VBUS status function.
|
||||
*/
|
||||
int (*get_vbus)(struct platform_device *pdev);
|
||||
|
||||
/*
|
||||
* option:
|
||||
*
|
||||
* VBUS control is needed for Host
|
||||
*/
|
||||
int (*set_vbus)(struct platform_device *pdev, int enable);
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue