linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/7] ARM: mx28: add usb host function
@ 2011-08-02  8:39 Tony Lin
  2011-08-02  8:39 ` [PATCH v4 1/7] ARM: mxs: ehci: consolidate definitions and structures to share among platforms Tony Lin
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Tony Lin @ 2011-08-02  8:39 UTC (permalink / raw)
  To: linux-arm-kernel

this patch series is to add mx28 usb host function.
the driver only support usb host mode on usb port1.
the driver reuses ehci-mxc.c under usb/host, but add
platform irq handler routines if platform wants to
do something specific in irq handler.
the patch also consolidates some macro definitions
and structure definitions to make ehci-mxc.c better
reusable among mxs/mxc platforms.

Code is based on the branch for-next in sascha's tree http://git.pengutronix.de/git/imx/linux-2.6.git

Tested on MX28 EVK.

changes since v3:
 * change code to standard framework.
 * avoid changing pdata in driver.
 * pass testing usb0/usb1 on MX28 EVK board.

changes since v2:
 * add error condition clean up code.
 * remove unnecessary initial code.
 * change file name from regs-usbphy-mx28 to regs-usbphy-mxs.h.

changes since v1:
 * add dummy clock to avoid adding cpu judgement in driver for Sascha's request.
 * use context in phy functions, so that usb device could share the code.
 * some code consolidation and patch reorgnization.
 * error checking improvement.
 * remove a few unneccesary code.
Tony Lin (7):
  ARM: mxs: ehci: consolidate definitions and structures to share among platforms
  ARM: mxs: make ehci-mxc more flexible to be used on different platforms
  ARM: mxs: add usb clocks to clock tree
  ARM: mxs: enable usb phy power supply
  ARM: mxs: add usb platform operations
  ARM: mxs: add usb platform operations
  ARM:  mxs: add usb host function to default config

 arch/arm/configs/mxs_defconfig                  |    8 +-
 arch/arm/mach-mxs/Kconfig                       |    2 +
 arch/arm/mach-mxs/Makefile                      |    2 +-
 arch/arm/mach-mxs/clock-mx28.c                  |   25 +++-
 arch/arm/mach-mxs/devices-mx28.h                |    4 +
 arch/arm/mach-mxs/devices/Kconfig               |    3 +
 arch/arm/mach-mxs/devices/Makefile              |    1 +
 arch/arm/mach-mxs/devices/platform-usb.c        |   96 +++++++++
 arch/arm/mach-mxs/include/mach/devices-common.h |   18 ++
 arch/arm/mach-mxs/include/mach/hardware.h       |    2 +
 arch/arm/mach-mxs/include/mach/mx23.h           |    8 +-
 arch/arm/mach-mxs/include/mach/mxs.h            |   12 +-
 arch/arm/mach-mxs/mach-mx28evk.c                |   20 ++-
 arch/arm/mach-mxs/regs-usbphy-mxs.h             |  240 +++++++++++++++++++++++
 arch/arm/mach-mxs/usbh.c                        |  182 +++++++++++++++++
 arch/arm/mach-mxs/usbh.h                        |   13 ++
 arch/arm/plat-mxc/include/mach/mxc_ehci.h       |   19 --
 drivers/usb/host/Kconfig                        |    2 +-
 drivers/usb/host/ehci-mxc.c                     |   17 ++-
 include/linux/fsl_devices.h                     |   21 ++
 20 files changed, 661 insertions(+), 34 deletions(-)
 create mode 100644 arch/arm/mach-mxs/devices/platform-usb.c
 create mode 100644 arch/arm/mach-mxs/regs-usbphy-mxs.h
 create mode 100644 arch/arm/mach-mxs/usbh.c
 create mode 100644 arch/arm/mach-mxs/usbh.h

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-08-08  2:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-02  8:39 [PATCH v4 0/7] ARM: mx28: add usb host function Tony Lin
2011-08-02  8:39 ` [PATCH v4 1/7] ARM: mxs: ehci: consolidate definitions and structures to share among platforms Tony Lin
2011-08-02  8:39 ` [PATCH v4 2/7] ARM: mxs: make ehci-mxc more flexible to be used on different platforms Tony Lin
2011-08-02  8:39 ` [PATCH v4 3/7] ARM: mxs: add usb clocks to clock tree Tony Lin
2011-08-02  8:39 ` [PATCH v4 4/7] ARM: mxs: enable usb phy power supply Tony Lin
2011-08-02  8:39 ` [PATCH v4 5/7] ARM: mxs: add usb platform operations Tony Lin
2011-08-02  8:39 ` [PATCH v4 6/7] " Tony Lin
2011-08-02  8:39 ` [PATCH v4 7/7] ARM: mxs: add usb host function to default config Tony Lin
2011-08-05  7:53 ` [PATCH v4 0/7] ARM: mx28: add usb host function Lin Tony-B19295
2011-08-05 13:03   ` s.hauer at pengutronix.de
2011-08-05 14:22     ` Peter Chen
2011-08-05 16:52       ` s.hauer at pengutronix.de
2011-08-08  2:03         ` Lin Tony-B19295

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).