summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/renesas_usbhs.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-10-10 22:06:12 -0700
committerFelipe Balbi <balbi@ti.com>2011-10-13 20:41:47 +0300
commitf427eb64f4c5433a91da5eb139970dd5cbad9082 (patch)
tree777650bce6b85cfd2fd65e54eff5ffe5df1c8e38 /include/linux/usb/renesas_usbhs.h
parent6ff5d09bd2fd5943f5b16cb1e3453446a1f575e2 (diff)
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>
Diffstat (limited to 'include/linux/usb/renesas_usbhs.h')
-rw-r--r--include/linux/usb/renesas_usbhs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h
index 040d8bb2b5a..e5a40c31854 100644
--- a/include/linux/usb/renesas_usbhs.h
+++ b/include/linux/usb/renesas_usbhs.h
@@ -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 */
};
/*