diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-07-12 02:22:50 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-01-11 21:27:15 +0100 |
commit | ad017768243a76cfedb4803e5690e1c3b1b0d15a (patch) | |
tree | a79cf618b32683763f06155feba3e022fc6197df /include/configs/tegra30-common.h | |
parent | 7f2cdfa871755e0380cfb9ae454ac7d921b73366 (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.
(cherry picked from commit 5a472ddd7a2a017747d6c05c65eba2cd3804c02f)
Diffstat (limited to 'include/configs/tegra30-common.h')
-rw-r--r-- | include/configs/tegra30-common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/tegra30-common.h b/include/configs/tegra30-common.h index baf3d00f34b..a1ccb8a51b1 100644 --- a/include/configs/tegra30-common.h +++ b/include/configs/tegra30-common.h @@ -67,6 +67,9 @@ #define CONFIG_SYS_SPL_MALLOC_START 0x80090000 #define CONFIG_SPL_STACK 0x800ffffc +/* Align LCD to 1MB boundary */ +#define CONFIG_LCD_ALIGNMENT MMU_SECTION_SIZE + /* For USB EHCI controller */ #define CONFIG_EHCI_IS_TDI #define CONFIG_USB_EHCI_TXFIFO_THRESH 0x10 |