tegra: lcd: video: integrate display driver for t30
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Mon, 27 Mar 2023 08:11:40 +0000 (11:11 +0300)
committerAnatolij Gustschin <agust@denx.de>
Fri, 7 Apr 2023 16:24:42 +0000 (18:24 +0200)
commit8dfeee651fc13c8fd797998e9a408a8b49bead09
treed3f48f22b78d7045f4f44d94cbb638461c56f4fb
parent67a36465216a292240b8b0ae088dd1ee7223029a
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.

Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS TF T30
Tested-by: Jonas Schwöbel <jonasschwoebel@yahoo.de> # Surface RT T30
Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # LG P895 T30
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
arch/arm/dts/tegra30-u-boot.dtsi
arch/arm/include/asm/arch-tegra30/display.h [new file with mode: 0644]
arch/arm/include/asm/arch-tegra30/pwm.h [new file with mode: 0644]
drivers/video/tegra.c