Dan Carpenter
5f0b3f9998
usb: otg: ab8500-usb: make probe() work again
...
The probe() function will always fail because we're testing the wrong
variable.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com >
Cc: stable <stable@vger.kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-03-02 16:22:11 -08:00
Heikki Krogerus
144713f347
usb: otg: ab8500: Start using struct usb_otg
...
Use struct usb_otg members with OTG specific functions instead
of usb_phy members.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com >
Acked-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com >
Reviewed-by: Marek Vasut <marek.vasut@gmail.com >
Signed-off-by: Felipe Balbi <balbi@ti.com >
2012-02-13 13:35:17 +02:00
Heikki Krogerus
de07e18c00
usb: otg: Rename usb_xceiv_event to usb_phy_event
...
Convert all users.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com >
Reviewed-by: Marek Vasut <marek.vasut@gmail.com >
Signed-off-by: Felipe Balbi <balbi@ti.com >
2012-02-13 13:34:56 +02:00
Heikki Krogerus
8675381109
usb: otg: Rename otg_transceiver to usb_phy
...
This is the first step in separating USB transceivers from
USB OTG utilities.
Includes fixes to IMX code from Sascha Hauer.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com >
Acked-by: Sascha Hauer <s.hauer@pengutronix.de >
Acked-by: Pavankumar Kondeti <pkondeti@codeaurora.org >
Acked-by: Li Yang <leoli@freescale.com >
Acked-by: Alan Stern <stern@rowland.harvard.edu >
Acked-by: Igor Grinberg <grinberg@compulab.co.il >
Reviewed-by: Marek Vasut <marek.vasut@gmail.com >
Signed-off-by: Felipe Balbi <balbi@ti.com >
2012-02-13 13:34:36 +02:00
Linus Walleij
ee66e653ca
mfd: Unify abx500 headers in mfd/abx500
...
This moves all the header files related to the abx500 family into
a common include directory below mfd. From now on we place any
subchip header in that directory. Headers previously in e.g.
<linux/mfd/ab8500/gpio.h> get prefixed and are now e.g.
<linux/mfd/abx500/ab8500-gpio.h>. The top-level abstract interface
remains in <linux/mfd/abx500.h>.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com >
2012-01-09 00:37:39 +01:00
Felipe Balbi
cccad6d4b1
usb: otg: notifier: switch to atomic notifier
...
most of our notifications, will be called from IRQ
context, so an atomic notifier suits the job better.
Signed-off-by: Felipe Balbi <balbi@ti.com >
2011-02-18 14:05:54 +02:00
Mian Yousaf Kaukab
969152341e
usb: add ab8500 usb transceiver driver
...
Basic driver for ab8500 usb otg transceiver
TODO:
-Regulators support
-Host and OTG testing
-Interface with PRCMU
-Charging support
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com >
Acked-by: Linus Walleij <linus.walleij@stericsson.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-12-10 14:27:33 -08:00