ARM: tegra: implement MASK_BITS_31_29
authorTom Warren <twarren.nvidia@gmail.com>
Fri, 24 Jan 2014 17:16:22 +0000 (10:16 -0700)
committerTom Warren <twarren@nvidia.com>
Mon, 3 Feb 2014 16:46:45 +0000 (09:46 -0700)
commitc82014daf5ed8030d2ec5903bd51b5ab817fb000
tree6f3ef330baf44f4cbc6bfa304b9d557e0c074dac
parent04b8e8e7452a4cd00003e33a5a736bd077ff3471
ARM: tegra: implement MASK_BITS_31_29

Some clock sources have 3-bit muxes in bits 31:29. Implement core
support for this mux field.

Signed-off-by: Tom Warren <twarren@nvidia.com>
[swarren, extracted from a larger patch by Tom]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/tegra-common/clock.c
arch/arm/include/asm/arch-tegra/clk_rst.h