Skip to content

Prerequisites for BCM63XX UDC driver

Kevin Cernekee linux-mips 1 version In review

Get series with b4
b4 am 0f67eabbb0d5c59add27e42a08b94944@localhost

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7MIPS: BCM63XX: Expose the USBH/USBD clocks on BCM6328/BCM6368arch/mips/bcm63xx/clk.c+20 -10 replies
2/7MIPS: BCM63XX: Move DMA descriptor definition into common header filearch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_enet.h drivers/net/ethernet/broadcom/bcm63xx_enet.h+30 -291 reply
3/7MIPS: BCM63XX: Add new IUDMA definitions needed for USBDarch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_enet.h arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h+9 -00 replies
4/7MIPS: BCM63XX: Add register definitions for USBD dependenciesarch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h+11 -30 replies
5/7MIPS: BCM63XX: Fix USB IRQ definitions for 6328arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h+2 -20 replies
6/7MIPS: BCM63XX: Add register and IRQ definitions for USB 2.0 devicearch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h+221 -10 replies
7/7MIPS: BCM63XX: Create platform_device for USBDarch/mips/bcm63xx/Makefile arch/mips/bcm63xx/boards/board_bcm963xx.c arch/mips/bcm63xx/dev-usb-usbd.c +2 more+105 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Prerequisites for BCM63XX UDC driver

These patches are intended to lay the groundwork for a new USB Device Controller (gadget UDC) driver. arch/mips/bcm63xx updates include:

Clock enable bits
DMA descriptor updates
New register and IRQ definitions
Create platform_device and platform_data

Baseline is:

git://git.linux-mips.org/pub/scm/ralf/upstream-sfr.git #mips-for-linux-next

Note that this is not an OTG-capable controller. Therefore, boards are permanently wired up for either host mode or device mode. Device vs. host can be determined in board_bcm963xx.c based on the detected board ID. Some boards have connectors/pads for both modes, but need to be reworked to run in device mode; usually this involves moving 0-ohm resistors on the D+ and D- lines.