tegra2: Fix conflicting pinmux for UARTA
authorStephen Warren <swarren@nvidia.com>
Fri, 6 Jan 2012 12:14:40 +0000 (12:14 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:22 +0000 (10:11 +0100)
commit4850ab9a4f441129b1cde021d58855b3936c4e51
tree6f7952742c3b5620be11a7418106796801e51165
parent9cbfee6dc200cc746394c7efc10253a24f3ce108
tegra2: Fix conflicting pinmux for UARTA

Tegra appears to boot with function UARTA pre-selected on mux
group SDB. If two mux groups are both set to the same function,
it's unclear which group's pins drive the RX signals into the
HW module. For UARTA, SDB certainly overrides group IRTX in
practice. To solve this, configure some alternative function on
SDB to avoid the conflict. Also, tri-state the group to avoid
driving any signal onto it until we know what's connected.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra2/funcmux.c