]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM i.MX6: change mxs usbphy clock usage
authorPeter Chen <peter.chen@freescale.com>
Fri, 18 Jan 2013 02:38:05 +0000 (10:38 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 10 Feb 2013 15:25:45 +0000 (23:25 +0800)
commita5120e89e7e187a91852896f586876c7a2030804
treec156c6fe8b543ca61035ec46f55eacdd755b577f
parentd6b9c591940cd7c03724999c72f31fd92c0dee59
ARM i.MX6: change mxs usbphy clock usage

This mxs usbphy is only needs to be on after system boots
up, and software never needs to control it anymore.
Meanwhile, usbphy's parent needs to be notified if usb
is suspend or not. So we design below mxs usbphy usage:

- usbphy1_gate and usbphy2_gate:
Their parents are dummy clock, we only needs to enable
it after system boots up.
- usbphy1 and usbphy2
Usage reserved bit for this clock, in that case, the refcount
will be updated, but without hardware changing.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Documentation/devicetree/bindings/clock/imx6q-clock.txt
arch/arm/mach-imx/clk-imx6q.c