summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2015-04-30 12:48:14 -0500
committerRob Herring <robh@kernel.org>2015-04-30 12:48:14 -0500
commit1cc4722a1b3cae74f28df21a1da5956e9c180e3a (patch)
treef41debc8c3c460c3d3bf820919f4b56f6ec47f57
parent377ec51b529e7c96e11a1c549d3231d26ece783a (diff)
arm64: mmp: disable USB OTG clock gating
OTG cable detection does not work if you boot without a cable attached or detach and re-attach a cable. Disabling clock gating fixes this problem. The comment for this setting seems to indicate this is normal. So more Marvell power mamagement crap disabled... Signed-off-by: Rob Herring <rob.herring@linaro.org>
-rw-r--r--arch/arm64/mach/mmpx-dt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/mach/mmpx-dt.c b/arch/arm64/mach/mmpx-dt.c
index 405e63a6b708..a1c1f8e8eab9 100644
--- a/arch/arm64/mach/mmpx-dt.c
+++ b/arch/arm64/mach/mmpx-dt.c
@@ -27,6 +27,7 @@ static struct mv_usb_platform_data pxa1928_usb_pdata = {
MV_USB_HAS_IDPIN_DETECTION,
.id = PXA_USB_DEV_OTG,
.otg_force_a_bus_req = 1,
+ .disable_otg_clock_gating = 1,
};
#endif