diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-07-11 11:30:50 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-07-12 16:51:45 +0200 |
commit | e667f820eb373f221c9c220341178fe5e869d15a (patch) | |
tree | ced1cd714c33e524d20227c9f468e0f08d3cd64c /common/state | |
parent | 06c1f19cb3bc38d3d725bb0b2acabfd55e6e5882 (diff) | |
download | barebox-e667f820eb373f221c9c220341178fe5e869d15a.tar.gz barebox-e667f820eb373f221c9c220341178fe5e869d15a.tar.xz |
i.MX: clk-pllv3: Initially disable PLL_BYPASS bit
Commit cbff8031b491 ("i.MX: clk-pllv3: Do not touch PLL_BYPASS bit")
overreached a bit by removing the code that disables the PLL_BYPASS bit
for all architectures instead of making an exception for Vybrid and
i.MX6SL. This causes the USB controller on i.MX6Q to run at bypass
frequency and fail:
barebox@Boundary Devices i.MX6 Quad Nitrogen6x Board:/ usb
usb: USB: scanning bus for devices...
usb: Bus 001 Device 001: ID 0000:0000 EHCI Host Controller
imx-usb 2184200.usb: port(0) reset error
This patch adds code to unconditionally disable the PLL_BYPASS bit
initially, when the PLL clocks are registered.
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Fixes: cbff8031b491 ("i.MX: clk-pllv3: Do not touch PLL_BYPASS bit")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'common/state')
0 files changed, 0 insertions, 0 deletions