diff options
author | kuninori.morimoto.gx@renesas.com <kuninori.morimoto.gx@renesas.com> | 2012-10-16 08:24:19 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-10-16 12:09:50 +0200 |
commit | 4cd2f5998757a41038deb55a0cb8319bdf67575a (patch) | |
tree | 081ee4cedaea1ceedb4e7d524d50b978d55966fc /drivers/usb/renesas_usbhs/common.h | |
parent | Linux 3.7-rc1 (diff) | |
download | linux-4cd2f5998757a41038deb55a0cb8319bdf67575a.tar.xz 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.h | 1 |
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); /* |