ARM: tegra: enable GPU DT node when appropriate
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 9 Jul 2015 07:33:01 +0000 (16:33 +0900)
committerTom Warren <twarren@nvidia.com>
Thu, 6 Aug 2015 17:50:03 +0000 (10:50 -0700)
commita38a3c4af4ed72a2ed6192203f8fe17ccdd2389f
tree71a0a327f8ca6b0bf1798aa08ec3e26659d11157
parent871d78ed1b906a79d8a6dad96a9f83dea7b9170f
ARM: tegra: enable GPU DT node when appropriate

T124/210 requires some specific configuration (VPR setup) to
be performed by the bootloader before the GPU can be used.
For this reason, the GPU node in the device tree is disabled
by default. This patch enables the node if U-boot has performed
VPR configuration.

Boards enabled by this patch are T124's Jetson TK1 and Venice2
and T210's P2571.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Tom Warren <twarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/gpu.h
arch/arm/mach-tegra/gpu.c
board/nvidia/jetson-tk1/jetson-tk1.c
board/nvidia/p2571/p2571.c
board/nvidia/venice2/venice2.c
include/configs/jetson-tk1.h
include/configs/p2571.h
include/configs/venice2.h