summaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs/common.h
diff options
context:
space:
mode:
authorkuninori.morimoto.gx@renesas.com <kuninori.morimoto.gx@renesas.com>2012-10-15 23:24:19 -0700
committerFelipe Balbi <balbi@ti.com>2012-10-16 13:09:50 +0300
commit4cd2f5998757a41038deb55a0cb8319bdf67575a (patch)
tree081ee4cedaea1ceedb4e7d524d50b978d55966fc /drivers/usb/renesas_usbhs/common.h
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
downloadtalos-op-linux-4cd2f5998757a41038deb55a0cb8319bdf67575a.tar.gz
talos-op-linux-4cd2f5998757a41038deb55a0cb8319bdf67575a.zip
usb: renesas_usbhs: gadget: add usb_gadget_ops :: pullup support
This patch adds usbhs_sys_function_pullup() to control D+ line for USB function, and enabled pullup support on mod_gadget. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/common.h')
-rw-r--r--drivers/usb/renesas_usbhs/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h
index dddf40a59ded..c69dd2fba360 100644
--- a/drivers/usb/renesas_usbhs/common.h
+++ b/drivers/usb/renesas_usbhs/common.h
@@ -285,6 +285,7 @@ void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data);
*/
void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable);
void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable);
+void usbhs_sys_function_pullup(struct usbhs_priv *priv, int enable);
void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode);
/*
OpenPOWER on IntegriCloud