usb: dwc2: add multiple clock handling
authorFrank Wang <frank.wang@rock-chips.com>
Thu, 5 Jan 2017 07:08:57 +0000 (15:08 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 10 Jan 2017 10:49:49 +0000 (18:49 +0800)
commit596e8972fdf6bc2ca5662e8441eea7f4c0c2ea5a
tree93b46de97509459a720639d8c4f305a930cbf95b
parentb0b686cdb746d692106404f8d23022295e749c30
usb: dwc2: add multiple clock handling

Originally, dwc2 just handle one clock named otg, however, it may have
two or more clock need to manage for some new SoCs, so this adds
change clk to clk's array of dwc2_hsotg to handle more clocks operation.

Change-Id: I661297ef908d9eace2215205018fa94d12cea128
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/platform.c