Skip to content
Snippets Groups Projects
Commit ac5c61bf authored by Martin Pietryka's avatar Martin Pietryka Committed by Anatolij Gustschin
Browse files

drivers/video/am335x-fb: Fix bits for LCD_PALMODE_RAWDATA definition


According to the TRM you have to set bits [21:20] to 0b10 for RAW mode, so
(0x10 << 20) is obviously wrong here.

Signed-off-by: default avatarMartin Pietryka <martin.pietryka@chello.at>
parent 65341967
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
/* LCD Raster Ctrl Register */ /* LCD Raster Ctrl Register */
#define LCD_TFT_24BPP_MODE (1 << 25) #define LCD_TFT_24BPP_MODE (1 << 25)
#define LCD_TFT_24BPP_UNPACK (1 << 26) #define LCD_TFT_24BPP_UNPACK (1 << 26)
#define LCD_PALMODE_RAWDATA (0x10 << 20) #define LCD_PALMODE_RAWDATA (0x02 << 20)
#define LCD_TFT_MODE (0x01 << 7) #define LCD_TFT_MODE (0x01 << 7)
#define LCD_RASTER_ENABLE (0x01 << 0) #define LCD_RASTER_ENABLE (0x01 << 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment