mx51: Fix USB PHY clocks
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Fri, 28 Sep 2012 07:09:03 +0000 (07:09 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:11 +0000 (11:54 -0700)
commit414e1660c8e898539411d92fbacdefc3e6bfbdfb
treec35c3c7ff2cc058ad105978707be0a1b089b8195
parent248cdf0b5270651ca5eefb1aff4a338df6a1ca25
mx51: Fix USB PHY clocks

The i.MX51 has a single USB PHY clock, while the i.MX53 has two. These 3 clocks
have different clock gate control bit-fields.

The existing code was correct only for i.MX53, so this patch fixes the i.MX51
use case.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Jana Rapava <fermata7@gmail.com>
Cc: Wolfgang Grandegger <wg@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
arch/arm/cpu/armv7/mx5/clock.c
arch/arm/include/asm/arch-mx5/clock.h
drivers/usb/host/ehci-mx5.c