Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] USB: OMAP: Tahvo USB support for 770
@ 2013-03-07 14:40 Aaro Koskinen
  2013-03-07 14:40 ` [RFC PATCH 1/4] retu-mfd: support also Tahvo Aaro Koskinen
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Aaro Koskinen @ 2013-03-07 14:40 UTC (permalink / raw)
  To: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA, Felipe Balbi
  Cc: Tony Lindgren, Aaro Koskinen

Hi,

These patches add support for Tahvo USB transceiver and allow use both
host and peripheral modes on Nokia 770.

Patches work with 3.9-rc1, but the following fixes must be also applied:

	ARM: OMAP1: fix USB host on 1710
	http://marc.info/?l=linux-omap&m=135906630828618&w=2

	usb: gadget: fix omap_udc build errors
	http://marc.info/?l=linux-arm-kernel&m=136252187712475&w=2

	ARM: OMAP1: fix omap_udc registration
	http://marc.info/?l=linux-omap&m=136266305725974&w=2

Test cases were roughly following:

	- CONFIG_USB_OTG, CONFIG_TAHVO_USB_HOST_BY_DEFAULT
		- ohci-hcd, omap_udc, g_ether loaded as modules during boot
		- check host mode functionality after boot with USB keyboard
		- switch to peripheral mode and check functionality with ssh
		- switch back to host mode

	- CONFIG_USB_OTG, !CONFIG_TAHVO_USB_HOST_BY_DEFAULT
		- ohci-hcd, omap_udc, g_ether loaded as modules during boot
		- check peripheral mode after boot with ssh
		- switch to host mode and check with USB keyboard
		- switch back to peripheral mode

	- !CONFIG_USB_OTG, CONFIG_USB_OMAP
		- check peripheral mode after boot by logging with ssh

	- !CONFIG_USB_OTG, !CONFIG_USB_OMAP
		- (not currently supported by ohci-hcd)

	- other
		- check USB cable on/off detection (Tahvo vbus interrupt)

Please review and comment. Thanks,

A.

Aaro Koskinen (4):
  retu-mfd: support also Tahvo
  ARM: OMAP1: nokia770: enable Tahvo
  USB: OMAP: move omap-otg out from isp1301_omap
  USB: OMAP: Tahvo USB transceiver driver

 arch/arm/mach-omap1/board-nokia770.c |   10 +
 drivers/mfd/Kconfig                  |    6 +-
 drivers/mfd/retu-mfd.c               |   95 ++++-
 drivers/usb/otg/Kconfig              |   21 ++
 drivers/usb/otg/Makefile             |    2 +
 drivers/usb/otg/isp1301_omap.c       |   78 +----
 drivers/usb/otg/omap-otg.c           |   99 ++++++
 drivers/usb/otg/tahvo-usb.c          |  643 ++++++++++++++++++++++++++++++++++
 include/linux/mfd/retu.h             |    8 +-
 include/linux/usb/omap-otg.h         |   30 ++
 10 files changed, 900 insertions(+), 92 deletions(-)
 create mode 100644 drivers/usb/otg/omap-otg.c
 create mode 100644 drivers/usb/otg/tahvo-usb.c
 create mode 100644 include/linux/usb/omap-otg.h

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2013-04-08 16:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07 14:40 [RFC PATCH 0/4] USB: OMAP: Tahvo USB support for 770 Aaro Koskinen
2013-03-07 14:40 ` [RFC PATCH 1/4] retu-mfd: support also Tahvo Aaro Koskinen
2013-03-07 14:48   ` Felipe Balbi
     [not found]   ` <1362667221-30659-2-git-send-email-aaro.koskinen-X3B1VOXEql0@public.gmane.org>
2013-04-08 16:25     ` Samuel Ortiz
2013-03-07 14:40 ` [RFC PATCH 2/4] ARM: OMAP1: nokia770: enable Tahvo Aaro Koskinen
     [not found] ` <1362667221-30659-1-git-send-email-aaro.koskinen-X3B1VOXEql0@public.gmane.org>
2013-03-07 14:40   ` [RFC PATCH 3/4] USB: OMAP: move omap-otg out from isp1301_omap Aaro Koskinen
     [not found]     ` <1362667221-30659-4-git-send-email-aaro.koskinen-X3B1VOXEql0@public.gmane.org>
2013-03-07 14:51       ` Felipe Balbi
     [not found]         ` <20130307145158.GE16577-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-03-07 17:59           ` Aaro Koskinen
2013-03-07 14:40 ` [RFC PATCH 4/4] USB: OMAP: Tahvo USB transceiver driver Aaro Koskinen
2013-03-07 14:54   ` Felipe Balbi
2013-03-07 16:20   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox