diff options
Diffstat (limited to 'drivers/gpu/drm/panel/panel-simple.c')
| -rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 109 | 
1 files changed, 103 insertions, 6 deletions
| diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 6cd32b909087..2214cb09678c 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1134,6 +1134,37 @@ static const struct panel_desc auo_g133han01 = {  	.connector_type = DRM_MODE_CONNECTOR_LVDS,  }; +static const struct display_timing auo_g156han04_timings = { +	.pixelclock = { 137000000, 141000000, 146000000 }, +	.hactive = { 1920, 1920, 1920 }, +	.hfront_porch = { 60, 60, 60 }, +	.hback_porch = { 90, 92, 111 }, +	.hsync_len =  { 32, 32, 32 }, +	.vactive = { 1080, 1080, 1080 }, +	.vfront_porch = { 12, 12, 12 }, +	.vback_porch = { 24, 36, 56 }, +	.vsync_len = { 8, 8, 8 }, +}; + +static const struct panel_desc auo_g156han04 = { +	.timings = &auo_g156han04_timings, +	.num_timings = 1, +	.bpc = 8, +	.size = { +		.width = 344, +		.height = 194, +	}, +	.delay = { +		.prepare = 50,		/* T2 */ +		.enable = 200,		/* T3 */ +		.disable = 110,		/* T10 */ +		.unprepare = 1000,	/* T13 */ +	}, +	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, +	.bus_flags = DRM_BUS_FLAG_DE_HIGH, +	.connector_type = DRM_MODE_CONNECTOR_LVDS, +}; +  static const struct drm_display_mode auo_g156xtn01_mode = {  	.clock = 76000,  	.hdisplay = 1366, @@ -1324,6 +1355,35 @@ static const struct panel_desc bananapi_s070wv20_ct16 = {  	},  }; +static const struct drm_display_mode boe_bp101wx1_100_mode = { +	.clock = 78945, +	.hdisplay = 1280, +	.hsync_start = 1280 + 0, +	.hsync_end = 1280 + 0 + 2, +	.htotal = 1280 + 62 + 0 + 2, +	.vdisplay = 800, +	.vsync_start = 800 + 8, +	.vsync_end = 800 + 8 + 2, +	.vtotal = 800 + 6 + 8 + 2, +}; + +static const struct panel_desc boe_bp101wx1_100 = { +	.modes = &boe_bp101wx1_100_mode, +	.num_modes = 1, +	.bpc = 8, +	.size = { +		.width = 217, +		.height = 136, +	}, +	.delay = { +		.enable = 50, +		.disable = 50, +	}, +	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, +	.bus_flags = DRM_BUS_FLAG_DE_HIGH, +	.connector_type = DRM_MODE_CONNECTOR_LVDS, +}; +  static const struct display_timing boe_ev121wxm_n10_1850_timing = {  	.pixelclock = { 69922000, 71000000, 72293000 },  	.hactive = { 1280, 1280, 1280 }, @@ -1973,6 +2033,33 @@ static const struct panel_desc eink_vb3300_kca = {  	.connector_type = DRM_MODE_CONNECTOR_DPI,  }; +static const struct display_timing evervision_vgg644804_timing = { +	.pixelclock = { 25175000, 25175000, 25175000 }, +	.hactive = { 640, 640, 640 }, +	.hfront_porch = { 16, 16, 16 }, +	.hback_porch = { 82, 114, 170 }, +	.hsync_len = { 5, 30, 30 }, +	.vactive = { 480, 480, 480 }, +	.vfront_porch = { 10, 10, 10 }, +	.vback_porch = { 30, 32, 34 }, +	.vsync_len = { 1, 3, 5 }, +	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | +		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE | +		 DISPLAY_FLAGS_SYNC_POSEDGE, +}; + +static const struct panel_desc evervision_vgg644804 = { +	.timings = &evervision_vgg644804_timing, +	.num_timings = 1, +	.bpc = 8, +	.size = { +		.width = 115, +		.height = 86, +	}, +	.bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, +	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE, +}; +  static const struct display_timing evervision_vgg804821_timing = {  	.pixelclock = { 27600000, 33300000, 50000000 },  	.hactive = { 800, 800, 800 }, @@ -2379,13 +2466,13 @@ static const struct panel_desc innolux_g070y2_t02 = {  static const struct display_timing innolux_g101ice_l01_timing = {  	.pixelclock = { 60400000, 71100000, 74700000 },  	.hactive = { 1280, 1280, 1280 }, -	.hfront_porch = { 41, 80, 100 }, -	.hback_porch = { 40, 79, 99 }, -	.hsync_len = { 1, 1, 1 }, +	.hfront_porch = { 30, 60, 70 }, +	.hback_porch = { 30, 60, 70 }, +	.hsync_len = { 22, 40, 60 },  	.vactive = { 800, 800, 800 }, -	.vfront_porch = { 5, 11, 14 }, -	.vback_porch = { 4, 11, 14 }, -	.vsync_len = { 1, 1, 1 }, +	.vfront_porch = { 3, 8, 14 }, +	.vback_porch = { 3, 8, 14 }, +	.vsync_len = { 4, 7, 12 },  	.flags = DISPLAY_FLAGS_DE_HIGH,  }; @@ -2402,6 +2489,7 @@ static const struct panel_desc innolux_g101ice_l01 = {  		.disable = 200,  	},  	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, +	.bus_flags = DRM_BUS_FLAG_DE_HIGH,  	.connector_type = DRM_MODE_CONNECTOR_LVDS,  }; @@ -4232,6 +4320,9 @@ static const struct of_device_id platform_of_match[] = {  		.compatible = "auo,g133han01",  		.data = &auo_g133han01,  	}, { +		.compatible = "auo,g156han04", +		.data = &auo_g156han04, +	}, {  		.compatible = "auo,g156xtn01",  		.data = &auo_g156xtn01,  	}, { @@ -4253,6 +4344,9 @@ static const struct of_device_id platform_of_match[] = {  		.compatible = "bananapi,s070wv20-ct16",  		.data = &bananapi_s070wv20_ct16,  	}, { +		.compatible = "boe,bp101wx1-100", +		.data = &boe_bp101wx1_100, +	}, {  		.compatible = "boe,ev121wxm-n10-1850",  		.data = &boe_ev121wxm_n10_1850,  	}, { @@ -4334,6 +4428,9 @@ static const struct of_device_id platform_of_match[] = {  		.compatible = "eink,vb3300-kca",  		.data = &eink_vb3300_kca,  	}, { +		.compatible = "evervision,vgg644804", +		.data = &evervision_vgg644804, +	}, {  		.compatible = "evervision,vgg804821",  		.data = &evervision_vgg804821,  	}, { | 
