• Stephen Warren's avatar
    ARM: tegra: enable GPU node by compatible value · d9b6f58e
    Stephen Warren authored
    In current Linux kernel Tegra DT files, 64-bit addresses are represented
    in unit addresses as a pair of comma-separated 32-bit values. Apparently
    this is no longer the correct representation for simple busses, and the
    unit address should be represented as a single 64-bit value. If this is
    changed in the DTs, arm/arm/mach-tegra/board2.c:ft_system_setup() will no
    longer be able to find and enable the GPU node, since it looks up the node
    by name.
    
    Fix that function to enable nodes based on their compatible value rather
    than their node name. This will work no matter what the node name is, i.e
    for DTs both before and after any rename operation.
    
    Cc: Thierry Reding <treding@nvidia.com>
    Cc: Alexandre Courbot <acourbot@nvidia.com>
    Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
    d9b6f58e
Name
Last commit
Last update
..
arc Loading commit data...
arm Loading commit data...
avr32 Loading commit data...
blackfin Loading commit data...
m68k Loading commit data...
microblaze Loading commit data...
mips Loading commit data...
nds32 Loading commit data...
nios2 Loading commit data...
openrisc Loading commit data...
powerpc Loading commit data...
sandbox Loading commit data...
sh Loading commit data...
sparc Loading commit data...
x86 Loading commit data...
.gitignore Loading commit data...
Kconfig Loading commit data...