summaryrefslogtreecommitdiff
path: root/drivers/usb/storage/Makefile
diff options
context:
space:
mode:
authorPhil Edworthy <phil.edworthy@renesas.com>2022-08-04 22:22:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-19 12:05:34 +0300
commitb9f20cff54f76e5fdc5be3eb33286416b3494492 (patch)
tree76380a7e7e2fc121149fdcdf0186d23552cf751b /drivers/usb/storage/Makefile
parent3c3ce77c9dab7f9628a9a96e881d0afb50ed74a6 (diff)
downloadlinux-b9f20cff54f76e5fdc5be3eb33286416b3494492.tar.xz
usb: gadget: udc: renesas_usb3: Add support for RZ/V2M
RZ/V2M (r9a09g011) has a few differences: - The USB3_DRD_CON register has moved, its called USB_PERI_DRD_CON in the RZ/V2M hardware manual. It has additional bits for host and peripheral reset that need to cleared to use usb host and peripheral respectively. - The USB3_OTG_STA, USB3_OTG_INT_STA and USB3_OTG_INT_ENA registers have been moved and renamed to USB_PERI_DRD_STA, USB_PERI_DRD_INT_STA and USB_PERI_DRD_INT_E. - The IDMON bit used in the above regs for role detection have moved from bit 4 to bit 0. - RZ/V2M has an separate interrupt for DRD, i.e. for changes to IDMON. - There are reset lines for DRD and USBP - There is another clock, managed by runtime PM. Whilst the hardware can support 16 pipes, it is artifically limited based on the ram per pipe calculation. With the 4KB ram per pipe, we can support 9 pipes consisting of 4xIN pipes, 4xOUT pipes and PIPE0. Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Link: https://lore.kernel.org/r/20220804192220.128601-3-phil.edworthy@renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/storage/Makefile')
0 files changed, 0 insertions, 0 deletions