]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm:samsung:trats:fix: Restore proper orientation of TRATS's LCD panel
authorŁukasz Majewski <l.majewski@samsung.com>
Mon, 15 Jul 2013 14:09:50 +0000 (16:09 +0200)
committerTom Rini <trini@ti.com>
Tue, 16 Jul 2013 13:20:16 +0000 (09:20 -0400)
commitbaa8841d6cc8a8cb79e0aee2fe1b360dacc05aaf
tree254785a30fb984749d201dde928f75f172b5e4dd
parentf4eaf88e6d48ab2d0f978a25b916b92acdfd1df4
arm:samsung:trats:fix: Restore proper orientation of TRATS's LCD panel

Before setting: mipi_lcd_device.reverse_panel = 1, the Trats's LCD panel
was flipped by 180 degrees.

The flip was caused by following change:
Exynos: Change get_timer() to work correctly
SHA1: 3d00c0cb96ff93a929700b80d89cb905e5ab5315

This commit fixed udelay(), which is necessary (due to HW LCD controller
oddity) for mipi-dsi correct operation. As a result the display orientation
has been switched.

As a follow up, the hwrevision() function has been removed, since it was
used only in this particular place.

Test HW: Trats Exynos4210 rev 0.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Acked-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/trats/trats.c