usb: host: xhci-plat: Fix clock resource by adding a register clock
authorGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 19 Apr 2018 13:30:53 +0000 (15:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2018 14:07:25 +0000 (16:07 +0200)
commit0fd2060ad42726de387e0e78b3d34a3b7e47a6e1
treea07b2df20847c60ba9a4dc6209e5a826d4513601
parent3e29109f51a6b5662467358a8258ce67d2e915f7
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/usb-xhci.txt
drivers/usb/host/xhci-plat.c
drivers/usb/host/xhci.h