Skip to content

add imx usb driver for mx28/6x

Subodh Nijsure linux-arm-kernel linux-devicetree 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest0 of 13 patches 0 repliesNew
  2. v20 of 12 patches 0 repliesSuperseded

Patches in v5 No applies recorded yet

None of the 13 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchSubodh Nijsure
SeriesT-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [Patch v5 00/13] add imx usb driver for mx28/6x

Richard,

In case you are looking for Ack/Tested by for this patch set.

Applied this patch set and USB devices work with this patch, on mx28 based hardware that I have access to.

-Subodh

Quoted 61 lines · Richard Zhao

The work is based on ci13xxx rework done by Alexander Shishkin.

Status:
- this version only support host
- usbotg controler works at host role

Changes since last version:
- collect ack received.

Richard Zhao (13):
usb: otg: add notify_connect/notify_disconnect callback
USB: move transceiver from ehci_hcd and ohci_hcd to hcd and rename it
as phy
USB: notify phy when root hub port connect change
usb: chipidea: permit driver bindings pass phy pointer
usb: otg: add basic mxs phy driver support
usb: chipidea: add imx platform driver
ARM: imx6q: correct device name of usbphy and usb controller clock
export
ARM: imx6q: add config-on-boot gpios
ARM: imx6q: add usbphy clocks
ARM: imx6q: disable usb charger detector
ARM: dts: imx6q-sabrelite: add usb devices
ARM: mxs: clk_register_clkdev mx28 usb clocks
ARM: dts: imx28-evk: add usb devices

  .../devicetree/bindings/arm/config-on-boot.txt     |   12 ++
  .../devicetree/bindings/usb/ci13xxx-imx.txt        |   20 ++
  Documentation/devicetree/bindings/usb/mxs-phy.txt  |   13 ++
  arch/arm/boot/dts/imx28-evk.dts                    |   36 ++++
  arch/arm/boot/dts/imx28.dtsi                       |   12 +-
  arch/arm/boot/dts/imx6q-sabrelite.dts              |   35 ++++
  arch/arm/boot/dts/imx6q.dtsi                       |   36 +++-
  arch/arm/mach-imx/clk-imx6q.c                      |   12 +-
  arch/arm/mach-imx/mach-imx6q.c                     |   59 ++++++
  drivers/clk/mxs/clk-imx28.c                        |    4 +
  drivers/usb/chipidea/Makefile                      |    3 +
  drivers/usb/chipidea/ci.h                          |    2 +
  drivers/usb/chipidea/ci13xxx_imx.c                 |  189 ++++++++++++++++++
  drivers/usb/chipidea/core.c                        |    4 +
  drivers/usb/chipidea/host.c                        |    1 +
  drivers/usb/chipidea/udc.c                         |   11 +-
  drivers/usb/core/hub.c                             |    8 +
  drivers/usb/host/ehci-fsl.c                        |   21 +-
  drivers/usb/host/ehci-hub.c                        |    2 +-
  drivers/usb/host/ehci.h                            |    4 -
  drivers/usb/host/ohci-omap.c                       |   27 +--
  drivers/usb/host/ohci.h                            |    5 -
  drivers/usb/otg/Kconfig                            |    8 +
  drivers/usb/otg/Makefile                           |    1 +
  drivers/usb/otg/mxs-phy.c                          |  204 ++++++++++++++++++++
  include/linux/usb/chipidea.h                       |    3 +
  include/linux/usb/hcd.h                            |    6 +
  include/linux/usb/otg.h                            |   21 ++
  28 files changed, 715 insertions(+), 44 deletions(-)

create mode 100644 Documentation/devicetree/bindings/arm/config-on-boot.txt create mode 100644 Documentation/devicetree/bindings/usb/ci13xxx-imx.txt create mode 100644 Documentation/devicetree/bindings/usb/mxs-phy.txt create mode 100644 drivers/usb/chipidea/ci13xxx_imx.c
create mode 100644 drivers/usb/otg/mxs-phy.c