我要用imx6q 用gpio模拟spi初始化一个 lcd屏幕
static struct ipuv3_fb_platform_data sabresd_fb_data[] = {
{
.disp_dev = "lcd",
.interface_pix_fmt = IPU_PIX_FMT_RGB24,
.mode_str = "KD043-WVFPA",
.default_bpp = 32,
.int_clk = false,
.late_init = false,
},
};
static struct fb_videomode lcdif_modedb[] = {
{
/* 800x480 @ 60 Hz , pixel clk @ 28MHz */
"KD043-WVFPA",60,800, 480, 35714 , 50, 100,16 ,20 ,10 ,4,
0,
FB_VMODE_NONINTERLACED,
0,},
};
在 mx6_sabresd_board_init 加入gpio 模拟SPI 屏幕为什么点不亮啊。 |