SAMA5 LCDC: Wait when the LCDC is resynchronizing (SIF); Try start-up parameters from Barebox (this still don't work)
This commit is contained in:
parent
3689851037
commit
6336d79bb3
@ -73,30 +73,16 @@
|
||||
|
||||
/* LCD Geometry and Timing */
|
||||
|
||||
#define BOARD_LCD_WIDTH 800 /* Display width (pixels) */
|
||||
#define BOARD_LCD_HEIGHT 480 /* Display height (pixels) */
|
||||
#define BOARD_LCD_IFWIDTH 24 /* Display interface width (bits) */
|
||||
#define BOARD_LCD_TIMING_VFP 22 /* Vertical front porch (lines) */
|
||||
#define BOARD_LCD_TIMING_VBP 21 /* Vertical back porch (lines) */
|
||||
#define BOARD_LCD_TIMING_VPW 2 /* Vertical pulse width (lines) */
|
||||
#define BOARD_LCD_TIMING_HFP 64 /* Horizontal front porch (LCDDOTCLK cycles) */
|
||||
#define BOARD_LCD_TIMING_HBP 64 /* Horizontal back porch (LCDDOTCLK cycles) */
|
||||
#define BOARD_LCD_TIMING_HPW 128 /* Horizontal pulse width (LCDDOTCLK cycles) */
|
||||
#define BOARD_LCD_FRAMERATE 40 /* Frame rate (Hz) */
|
||||
|
||||
/* Frame size (words) (height * width * bpp / 32) */
|
||||
|
||||
#define BOARD_LCD_FRAMESIZE \
|
||||
(BOARD_LCD_WIDTH * BOARD_LCD_HEIGHT * BOARD_LCD_IFWIDTH / 32)
|
||||
|
||||
/* Pixel clock rate (Hz )(HS period * VS period * BOARD_LCD_FRAMERATE). */
|
||||
|
||||
#define BOARD_LCD_HSPERIOD \
|
||||
(BOARD_LCD_TIMING_HPW + BOARD_LCD_TIMING_HBP + BOARD_LCD_WIDTH + BOARD_LCD_TIMING_HFP)
|
||||
#define BOARD_LCD_VSPERIOD \
|
||||
(BOARD_LCD_TIMING_VPW + BOARD_LCD_TIMING_VBP + BOARD_LCD_HEIGHT + BOARD_LCD_TIMING_VFP)
|
||||
#define BOARD_LCD_PIXELCLOCK \
|
||||
(BOARD_LCD_HSPERIOD * BOARD_LCD_VSPERIOD * BOARD_LCD_FRAMERATE)
|
||||
#define BOARD_LCD_WIDTH 800 /* Display width (pixels) */
|
||||
#define BOARD_LCD_HEIGHT 480 /* Display height (pixels) */
|
||||
#define BOARD_LCD_PIXELCLOCK 33260000 /* Pixel clock */
|
||||
#define BOARD_LCDC_GUARDTIME 9 /* Guard time */
|
||||
#define BOARD_LCD_VSPW 2 /* Vertical pulse width (lines) */
|
||||
#define BOARD_LCD_HSPW 128 /* Horizontal pulse width (LCDDOTCLK) */
|
||||
#define BOARD_LCD_VFPW 37 /* Vertical front porch (lines) */
|
||||
#define BOARD_LCD_VBPW 8 /* Vertical back porch (lines) */
|
||||
#define BOARD_LCD_HFPW 168 /* Horizontal front porch (LCDDOTCLK cycles) */
|
||||
#define BOARD_LCD_HBPW 88 /* Horizontal back porch (LCDDOTCLK cycles) */
|
||||
|
||||
/* LED definitions ******************************************************************/
|
||||
/* There are two LEDs on the SAMA5D3 series-CM board that can be controlled
|
||||
|
Loading…
Reference in New Issue
Block a user