summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-07-12 02:22:50 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-07-12 02:22:50 +0200
commit5a472ddd7a2a017747d6c05c65eba2cd3804c02f (patch)
treebfd3fe2716296254959d3684f7c2591fff3582d7 /board
parent652004b987cb046bd5f5a1a04d1c9d47b01a7ab9 (diff)
tegra: lcd: video: integrate display driver for t30
On popular request make the display driver from T20 work on T30 as well. Turned out to be quite straight forward. However a few notes about some things encountered during porting: Of course the T30 device tree was completely missing host1x as well as PWM support but it turns out this can simply be copied from T20. The only trouble compiling the Tegra video driver for T30 had to do with some hard-coded PWM pin muxing for T20 which is quite ugly anyway. On T30 this gets handled by a board specific complete pin muxing table. The older Chromium U-Boot 2011.06 which to my knowledge was the only prior attempt at enabling a display driver for T30 for whatever reason got some clocking stuff mixed up. Turns out at least for a single display controller T20 and T30 can be clocked quite similar. Enjoy.
Diffstat (limited to 'board')
-rw-r--r--board/nvidia/common/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index ca44cd4034..ef1c93f0b3 100644
--- a/board/nvidia/common/board.c
+++ b/board/nvidia/common/board.c
@@ -12,13 +12,13 @@
#include <asm/io.h>
#include <asm/arch/clock.h>
#ifdef CONFIG_LCD
-#include <asm/arch/display.h>
+#include <asm/arch-tegra/display.h>
#endif
#include <asm/arch/funcmux.h>
#include <asm/arch/pinmux.h>
#include <asm/arch/pmu.h>
#ifdef CONFIG_PWM_TEGRA
-#include <asm/arch/pwm.h>
+#include <asm/arch-tegra/pwm.h>
#endif
#include <asm/arch/tegra.h>
#include <asm/arch-tegra/ap.h>