summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorChris Brandt2019-05-15 17:20:43 +0200
committerGreg Kroah-Hartman2019-05-21 10:25:59 +0200
commitf756066990607dbe8ea5579c925b48e646891f3e (patch)
treee2cb8b70920d5f003621e48ec055eca111ec7628 /include/linux/usb
parentusb: renesas_usbhs: add support for CNEN bit (diff)
downloadkernel-qcow2-linux-f756066990607dbe8ea5579c925b48e646891f3e.tar.gz
kernel-qcow2-linux-f756066990607dbe8ea5579c925b48e646891f3e.tar.xz
kernel-qcow2-linux-f756066990607dbe8ea5579c925b48e646891f3e.zip
usb: renesas_usbhs: support byte addressable CFIFO
Some SoC have a CFIFO register that is byte addressable. This means when the CFIFO access is set to 32-bit, you can write 8-bit values to addresses CFIFO+0, CFIFO+1, CFIFO+2, CFIFO+3. 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')
-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 9097a38fcda8..87043fd21d54 100644
--- a/include/linux/usb/renesas_usbhs.h
+++ b/include/linux/usb/renesas_usbhs.h
@@ -191,6 +191,7 @@ struct renesas_usbhs_driver_param {
u32 has_usb_dmac:1; /* for USB-DMAC */
u32 runtime_pwctrl:1;
u32 has_cnen:1;
+ u32 cfifo_byte_addr:1; /* CFIFO is byte addressable */
#define USBHS_USB_DMAC_XFER_SIZE 32 /* hardcode the xfer size */
};