In the Liquid8994 we don't need the USB HUB reset and Ethernet reset
from software.
Change-Id: I577ef9d2772b46e125c6d9059834b3b2af493429
Signed-off-by: Tanya Finkel <tfinkel@codeaurora.org>
The LiQUID dock driver might probe and attempt to add/remove
the USB host controller device before it has even probed.
Though not fatal, this could lead to the hub ports not being
functional when booting up initially docked. Instead, make
sure USB host controller is ready first by deferring probe
until its driver is present.
Change-Id: Icc51a9459be6f3202dcf90df632465f7d7a61914
Signed-off-by: Jack Pham <jackp@codeaurora.org>
The MSM8994 LiQUID docking station does not have a
pin for a dock_enable GPIO, as the USB and Ethernet
ports are always powered via the DC source. Make
this GPIO optional.
As the power to the hub and Ethernet ports may now
be always-on, also make sure to assert the reset lines
prior to adding the USB host controller. This way the
deassertion of the resets will happen after the USB
stack is fully initialized to kick off enumeration.
Change-Id: I864ebcfa94d58e741e7378db0c24fdc6220dc18f
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Check nb parameter of register_liquid_dock_notify() in
order to avoid a potential NULL pointer reference if passed
to blocking_notifier_chain_register().
Change-Id: I8d2971d32a1562559e7b27b021efd688beec5494
Signed-off-by: Jack Pham <jackp@codeaurora.org>
The LiQUID dock support driver is not specific to the
APQ8084 SoC. Rename it to reflect its generality since
it can be used for other MSM/APQ LiQUID platforms.
Change-Id: I4a969077c543cd84e98dd198d3d7670b6071605a
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2014-06-27 11:14:13 -07:00
Renamed from drivers/misc/apq8084_dock.c (Browse further)