usb: host: xhci-plat: Fix clock resource by adding a register clock
authorGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 20 Apr 2018 13:52:52 +0000 (16:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Apr 2018 14:24:20 +0000 (16:24 +0200)
commit3ae2da7b28b393d4f6faef3d384cc725ef39716b
tree3a5705f84f56ca5a0c2e9abb993410f9ff1dadc9
parent2d79609bf21eedb2142f9dff7d4af9919cd7399a
usb: host: xhci-plat: Fix clock resource by adding a register clock

On Armada 7K/8K we need to explicitly enable the register clock. This
clock is optional because not all the SoCs using this IP need it but at
least for Armada 7K/8K it is actually mandatory.

The change was done at xhci-plat level and not at a xhci-mvebu.c because,
it is expected that other SoC would have this kind of constraint.

The binding documentation is updating accordingly.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/usb-xhci.txt
drivers/usb/host/xhci-plat.c
drivers/usb/host/xhci.h