diff options
| author | Benoît Thébaudeau <[email protected]> | 2012-09-28 07:09:03 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2012-10-15 11:54:11 -0700 |
| commit | 414e1660c8e898539411d92fbacdefc3e6bfbdfb (patch) | |
| tree | c35c3c7ff2cc058ad105978707be0a1b089b8195 /arch/arm/include | |
| parent | 248cdf0b5270651ca5eefb1aff4a338df6a1ca25 (diff) | |
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 <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Jana Rapava <[email protected]>
Cc: Wolfgang Grandegger <[email protected]>
Cc: Igor Grinberg <[email protected]>
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/arch-mx5/clock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mx5/clock.h b/arch/arm/include/asm/arch-mx5/clock.h index 82c5b1a0fe5..83fb8776389 100644 --- a/arch/arm/include/asm/arch-mx5/clock.h +++ b/arch/arm/include/asm/arch-mx5/clock.h @@ -57,7 +57,8 @@ u32 imx_get_uartclk(void); u32 imx_get_fecclk(void); unsigned int mxc_get_clock(enum mxc_clock clk); int mxc_set_clock(u32 ref, u32 freq, u32 clk_type); -void set_usb_phy2_clk(void); +void set_usb_phy_clk(void); +void enable_usb_phy1_clk(unsigned char enable); void enable_usb_phy2_clk(unsigned char enable); void set_usboh3_clk(void); void enable_usboh3_clk(unsigned char enable); |
