diff options
author | Martin Pietryka <martin.pietryka@chello.at> | 2016-04-27 21:39:15 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2016-04-28 16:50:52 +0200 |
commit | 7d045170ac1bf512ed148e97432b7a8d772943e9 (patch) | |
tree | 2e5235a96a2ddcc409c07452827f3faa3a1b4f9e /configs/at91sam9n12ek_mmc_defconfig | |
parent | e25b369c048b51b1feb79587750e7e160fc0bd73 (diff) |
drivers/video/am335x-fb: Add support for 16bpp format
To support 16bpp we just need to change the raster_ctrl register
accordingly. Also 32bpp mode should work as well, but was not tested.
According to the TRM the uppermost byte will be ignored when
LCD_TFT_24BPP_UNPACK is set.
The switch logic is based on the Linux kernel tilcdc driver:
drivers/gpu/drm/tilcdc/tilcdc_crtc.c: lines 407 through 419
(kernel was checked out at commit: bcc981e9ed8)
Signed-off-by: Martin Pietryka <martin.pietryka@chello.at>
Reviewed-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Diffstat (limited to 'configs/at91sam9n12ek_mmc_defconfig')
0 files changed, 0 insertions, 0 deletions