- Mar 18, 2013
-
-
Felipe Balbi authored
this will make sure that we have sensible names for all phy drivers. Current situation was already quite bad with too generic names being used. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
there are no more users of CONFIG_USB_OTG_UTILS left in tree, we can remove it just fine. [ kishon@ti.com : fixed a linking error due to original patch forgetting to change drivers/usb/Makefile ] Signed-off-by:
Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
CONFIG_USB_OTG_UTILS will be removed very soon, so we should check CONFIG_USB_PHY instead. Acked-by:
Alan Stern <stern@rowland.harvard.edu> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
CONFIG_USB_OTG_UTILS will be removed very soon, so we should check CONFIG_USB_PHY instead. Acked-by:
Alan Stern <stern@rowland.harvard.edu> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
CONFIG_USB_OTG_UTILS will be removed very soon, so we should check CONFIG_USB_PHY instead. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
CONFIG_USB_OTG_UTILS will be removed very soon, so we should check CONFIG_USB_PHY instead. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
We already have a considerable amount of USB PHY drivers, making it a menuconfig just prevents us from adding too much churn to USB's menuconfig. While at that, also select USB_OTG_UTILS from this new menuconfig just to keep backwards compatibility until we manage to remove that symbol. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
that's a much more reasonable location for those drivers. It helps us saving drivers/usb/otg/ for when we actually start adding generic OTG code. Also completely delete drivers/usb/otg/ as there's nothing left there. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
we only want GPL users for our generic functions, so let's switch over to EXPORT_SYMBOL_GPL. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
otg.c only had a single function definition which might make more sense to be placed in usb-common.c. While doing that, we also delete otg.c since it's now empty. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
all other functions under drivers/usb/ start with usb_, let's do the same thing. This patch is in preparation for moving otg_state_string to usb-common.c and deleting otg.c completely. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
that way we will only tell gadget framework about the endpoints we actually have. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
hwparams2 holds the number of endpoints which were selected during RTL generation, we can use that on our driver. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Syam Sidhardhan authored
kfree on NULL pointer is a no-op. Signed-off-by:
Syam Sidhardhan <s.syam@samsung.com> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Fabio Baltieri authored
CONFIG_USB_MUSB_DEBUG option was removed in 5c8a86e1 usb: musb: drop unneeded musb_debug trickery to cleanup the code from driver specific debug facilities. This patch drops the last references to the musb debug config option, unconditionally enabling all debug code paths, thus letting that code being dropped at compile time if not needed. Signed-off-by:
Fabio Baltieri <fabio.baltieri@linaro.org> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Sachin Kamat authored
module_platform_driver_probe() eliminates the boilerplate and simplifies the code. Signed-off-by:
Sachin Kamat <sachin.kamat@linaro.org> Acked-by:
Li Yang <leoli@freescale.com> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Vivek Gautam authored
Now that machines may select dwc3's working mode (HOST only, GADGET only or DUAL_ROLE) via Kconfig, let's set dwc3's mode based on that, rather than fixing it to whatever hardware says. This way we can skip initializing Gadget/Host in case we are using Host-only/Gadget-only mode respectively. Signed-off-by:
Vivek Gautam <gautam.vivek@samsung.com> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Marc Kleine-Budde authored
This patch converts the mxs-phy driver from readl_relaxed(), writel_relaxed() to the plain readl(), writel() functions, which are available on all platforms. This is done to enable compile time testing on non ARM platforms. Reported-by:
Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by:
Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Sascha Hauer authored
We now have usb_add_phy_dev(), so use it to register with the framework to be able to find the phy from the USB driver. Tested-by:
Steffen Trumtrar <s.trumtrar@pengutronix.de> Reviewed-by:
Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by:
Peter Chen <peter.chen@freescale.com> Signed-off-by:
Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by:
Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Sascha Hauer authored
Most of otg/otg.c is not otg specific, but phy specific, so move it to the phy directory. Tested-by:
Steffen Trumtrar <s.trumtrar@pengutronix.de> Reported-by:
Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by:
Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by:
Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
In DWC3 versions < 2.50a configured without Hibernation mode enabled, there will be an extra link status change interrupt if device detects host-initiated U3 exit. In that case, core will generate an unnecessary U3 -> RESUME transition which should be ignored by the driver. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
Some new revisions of the DWC3 core have been released, let's add our defines to help implementing known erratas. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
current code only allows the file owner (usually root) to read current_speed and maximum_speed sysfs files. Let anyone read those. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
now that no UDC driver touches gadget.dev.release we can assign our release function to it without being afraid of breaking anything. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
udc-core provides a better way to handle release methods, let's use it. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-