usb: gadget: renesas_usbhs: support otg pin control
some renesas_usbhs device is supporting OTG external device interface. In that device, it is necessary to control PWEN/EXTLP on DVSTCTR. This patch support it. But renesas_usbhs driver doesn't have OTG support for now. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
committed by
Felipe Balbi
parent
6ff5d09bd2
commit
f427eb64f4
@@ -136,6 +136,11 @@ struct renesas_usbhs_driver_param {
|
||||
* pio <--> dma border.
|
||||
*/
|
||||
int pio_dma_border; /* default is 64byte */
|
||||
|
||||
/*
|
||||
* option:
|
||||
*/
|
||||
u32 has_otg:1; /* for controlling PWEN/EXTLP */
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user