Skip to content

Add USB Host and OTG support for MPC5121 SoC

Anatolij Gustschin linux-devicetree linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 4 patches 6 repliesIn review

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc/fsl_soc.c: prepare for addition of mpc5121 USB codearch/powerpc/sysdev/fsl_soc.c+110 -1215 replies
3/4USB: add USB OTG support for MPC5121 SoCarch/powerpc/include/asm/fsl_usb_io.h drivers/usb/gadget/fsl_udc_core.c drivers/usb/gadget/fsl_usb2_udc.h +12 more+2867 -991 reply
4/4powerpc/mpc5121: select options for USB OTG supportarch/powerpc/platforms/512x/Kconfig+8 -00 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/4] Add USB Host and OTG support for MPC5121 SoC

Anatolij Gustschin (4):
powerpc/fsl_soc.c: prepare for addition of mpc5121 USB code powerpc/mpc5121: add USB host support
USB: add USB OTG support for MPC5121 SoC powerpc/mpc5121: select options for USB OTG support

 Documentation/powerpc/dts-bindings/fsl/usb.txt |   22 +
 arch/powerpc/include/asm/fsl_usb_io.h          |  106 +++
 arch/powerpc/platforms/512x/Kconfig            |   11 +
 arch/powerpc/platforms/512x/Makefile           |    2 +-
 arch/powerpc/platforms/512x/mpc5121_usb.c      |  131 +++
 arch/powerpc/platforms/512x/mpc512x.h          |    1 +
 arch/powerpc/platforms/512x/mpc512x_shared.c   |    1 +
 arch/powerpc/sysdev/fsl_soc.c                  |  249 +++---
 arch/powerpc/sysdev/fsl_soc.h                  |    9 +
 drivers/usb/gadget/fsl_udc_core.c              |  357 ++++++--
 drivers/usb/gadget/fsl_usb2_udc.h              |   14 +
 drivers/usb/host/ehci-fsl.c                    |  372 ++++++--
 drivers/usb/host/ehci-fsl.h                    |   22 +-
 drivers/usb/host/ehci-hub.c                    |   39 +
 drivers/usb/host/ehci-mem.c                    |    2 +-
 drivers/usb/host/ehci.h                        |    5 +
 drivers/usb/otg/Kconfig                        |    8 +
 drivers/usb/otg/Makefile                       |    2 +
 drivers/usb/otg/fsl_otg.c                      | 1199 ++++++++++++++++++++++++
 drivers/usb/otg/fsl_otg.h                      |  418 +++++++++
 drivers/usb/otg/otg.c                          |   17 +
 drivers/usb/otg/otg_fsm.c                      |  368 ++++++++
 drivers/usb/otg/otg_fsm.h                      |  154 +++
 include/linux/fsl_devices.h                    |   28 +
 24 files changed, 3285 insertions(+), 252 deletions(-)
 create mode 100644 arch/powerpc/include/asm/fsl_usb_io.h
 create mode 100644 arch/powerpc/platforms/512x/mpc5121_usb.c
 create mode 100644 drivers/usb/otg/fsl_otg.c
 create mode 100644 drivers/usb/otg/fsl_otg.h
 create mode 100644 drivers/usb/otg/otg_fsm.c
 create mode 100644 drivers/usb/otg/otg_fsm.h