USB OTG: add support for ulpi connected external transceivers
authorDaniel Mack <daniel@caiaq.de>
Thu, 15 Oct 2009 14:09:34 +0000 (17:09 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 19:55:16 +0000 (11:55 -0800)
commit91c8a5a9985d5bf9c55f6f82f183f57b050b2a3a
treee7154eca2ca6356889b407c0334bffbc516155d7
parentc3f22d92a1249665d4cd87a68a4078a56002c3ab
USB OTG: add support for ulpi connected external transceivers

This adds support for OTG transceivers directly connected to the ULPI
interface. In particular, the following details are added

- a struct for low level io functions (read/write)
- a priv field to be used as 'viewport' by low level access functions
- an (*init) and (*shutdown) callbacks, along with static inline helpers
- a (*set_vbus) callback to switch the port power on and off
- a flags field for per-transceiver settings
- some defines for the flags bitmask to configure platform specific
  details

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Heikki Krogerus <ext-heikki.krogerus@nokia.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb/otg.h