SAMA5D4-EK LCD: Actual hardware with appears to be RGB888

This commit is contained in:
Gregory Nutt 2014-07-10 12:23:41 -06:00
parent 89024f3698
commit 95df6bd3de
2 changed files with 9 additions and 6 deletions

View File

@ -2067,7 +2067,7 @@ static void sam_layer_color(void)
LCDC_BASECFG1_16BPP_RGB565);
#else
# error Support for this resolution is not yet supported
# error Support for this resolution is not yet implemented
#endif
#ifdef CONFIG_SAMA5_LCDC_OVR1
@ -2096,7 +2096,7 @@ static void sam_layer_color(void)
LCDC_OVR1CFG9_GA(0xff) | LCDC_OVR1CFG9_GAEN);
# else
# error Support for this resolution is not yet supported
# error Support for this resolution is not yet implemented
# endif
#endif
@ -2126,7 +2126,7 @@ static void sam_layer_color(void)
LCDC_OVR2CFG9_GA(0xff) | LCDC_OVR2CFG9_GAEN);
# else
# error Support for this resolution is not yet supported
# error Support for this resolution is not yet implemented
# endif
#endif
@ -2156,7 +2156,7 @@ static void sam_layer_color(void)
LCDC_HEOCFG9_GA(0xff) | LCDC_HEOCFG9_GAEN);
# else
# error Support for this resolution is not yet supported
# error Support for this resolution is not yet implemented
# endif
#endif
@ -2190,7 +2190,7 @@ static void sam_layer_color(void)
LCDC_HCRCFG9_GA(0xff) | LCDC_HCRCFG9_GAEN);
# else
# error Support for this resolution is not yet supported
# error Support for this resolution is not yet implemented
# endif
#endif
#endif

View File

@ -168,8 +168,11 @@
#define BUTTON_USER_BIT (1 << BUTTON_USER)
/* LCD Interface, Geometry and Timing ***********************************************/
/* This configuration applies only to the TM7000 LCD/Touchscreen module. Other LCDs
* will require changes.
*/
#define BOARD_LCDC_OUTPUT_BPP 18 /* Output format to H/W is 18BPP RGB666 */
#define BOARD_LCDC_OUTPUT_BPP 24 /* Output format to H/W is 24BPP RGB888 */
#define BOARD_LCDC_WIDTH 800 /* Display width (pixels) */
#define BOARD_LCDC_HEIGHT 480 /* Display height (rows) */
#undef BOARD_LCDC_MCK_MUL2 /* Source clock is Mck (vs 2*Mck) */