]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: orion: Fix USB phy for orion5x.
authorAndrew Lunn <andrew@lunn.ch>
Wed, 8 Feb 2012 14:52:47 +0000 (15:52 +0100)
committerOlof Johansson <olof@lixom.net>
Fri, 10 Feb 2012 00:16:35 +0000 (16:16 -0800)
commit3a1df87a103e97b129655ee6be4f8a5b4f9f63b7
treed5f3aba16b83475a9ffe68cece46167dfa239c0e
parent3b8400b1fe1a707c8de5ff5bff2bda8e401cb7a0
ARM: orion: Fix USB phy for orion5x.

The patch "ARM: orion: Consolidate USB platform setup code.", commit
bbd8c7f7817506e3c12c22fad82b91c5d43ba16d broke USB on TS-7800 and
other orion5x boards, because the wrong type of PHY was being passed
to the EHCI driver in the platform data. Orion5x needs EHCI_PHY_ORION
and all the others want EHCI_PHY_NA.

Allow the mach- code to tell the generic plat-orion code which USB PHY
enum to place into the platform data.

Version 2: Rebase to v3.3-rc2.

Reported-by: Ambroz Bizjak <ambrop7@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Ambroz Bizjak <ambrop7@gmail.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-dove/common.c
arch/arm/mach-kirkwood/common.c
arch/arm/mach-mv78xx0/common.c
arch/arm/mach-orion5x/common.c
arch/arm/plat-orion/common.c
arch/arm/plat-orion/include/plat/common.h