summaryrefslogtreecommitdiff
path: root/include/linux/usb/renesas_usbhs.h
diff options
context:
space:
mode:
authorChris Brandt <chris.brandt@renesas.com>2019-05-15 18:20:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-21 11:25:59 +0300
commit2195e3af9079ea067079e98446ea6a457c81a98c (patch)
tree93cef59657f35102c5051d54ee3bd0f9ac74a90a /include/linux/usb/renesas_usbhs.h
parent97a7968448cb0ef5c15e3d395746b108b1a55556 (diff)
downloadlinux-2195e3af9079ea067079e98446ea6a457c81a98c.tar.xz
usb: renesas_usbhs: add support for CNEN bit
For some SoC, CNEN must be set for USB Device mode operation. Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/renesas_usbhs.h')
-rw-r--r--include/linux/usb/renesas_usbhs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h
index 17fae6e504cc..9097a38fcda8 100644
--- a/include/linux/usb/renesas_usbhs.h
+++ b/include/linux/usb/renesas_usbhs.h
@@ -190,6 +190,7 @@ struct renesas_usbhs_driver_param {
u32 has_sudmac:1; /* for SUDMAC */
u32 has_usb_dmac:1; /* for USB-DMAC */
u32 runtime_pwctrl:1;
+ u32 has_cnen:1;
#define USBHS_USB_DMAC_XFER_SIZE 32 /* hardcode the xfer size */
};