]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: tegra: turn on UART A clock at boot
authorStephen Warren <swarren@nvidia.com>
Tue, 24 Jul 2012 21:44:11 +0000 (15:44 -0600)
committerStephen Warren <swarren@nvidia.com>
Fri, 3 Aug 2012 17:50:04 +0000 (11:50 -0600)
commite1a8a4d5f446cf19f15cc30714dafadd5aa76bdf
tree65c1291349e9194e89012dbb6adcf5caa118cf1d
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
ARM: tegra: turn on UART A clock at boot

Some boards use UART D for the main serial console, and some use UART A.
UART D's clock is listed in board-dt-tegra20.c's clock table, whereas
UART A's clock is not. This causes the clock code to think UART A's
clock is unsed. The common clock framework turns off unused clocks at
boot time. This makes the kernel appear to hang. Add UART A's clock into
the clock table to prevent this. Eventually, this requirement should be
handled by the UART driver, and/or properties in a board-specific device
tree file.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/board-dt-tegra20.c