mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	drm/panel: simple: add Tianma TM070JVHG33
Add support for the Tianma Micro-electronics TM070JVHG33 7.0" WXGA display to panel-simple. Signed-off-by: Max Merchel <Max.Merchel@tq-group.com> Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200612072219.13669-5-matthias.schiffer@ew.tq-group.com
This commit is contained in:
		
							parent
							
								
									0e3b67f6d7
								
							
						
					
					
						commit
						b3bfcdf8a3
					
				
					 1 changed files with 15 additions and 0 deletions
				
			
		| 
						 | 
					@ -3387,6 +3387,18 @@ static const struct panel_desc tianma_tm070jdhg30 = {
 | 
				
			||||||
	.connector_type = DRM_MODE_CONNECTOR_LVDS,
 | 
						.connector_type = DRM_MODE_CONNECTOR_LVDS,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					static const struct panel_desc tianma_tm070jvhg33 = {
 | 
				
			||||||
 | 
						.timings = &tianma_tm070jdhg30_timing,
 | 
				
			||||||
 | 
						.num_timings = 1,
 | 
				
			||||||
 | 
						.bpc = 8,
 | 
				
			||||||
 | 
						.size = {
 | 
				
			||||||
 | 
							.width = 150,
 | 
				
			||||||
 | 
							.height = 94,
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
 | 
						.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
 | 
				
			||||||
 | 
						.connector_type = DRM_MODE_CONNECTOR_LVDS,
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const struct display_timing tianma_tm070rvhg71_timing = {
 | 
					static const struct display_timing tianma_tm070rvhg71_timing = {
 | 
				
			||||||
	.pixelclock = { 27700000, 29200000, 39600000 },
 | 
						.pixelclock = { 27700000, 29200000, 39600000 },
 | 
				
			||||||
	.hactive = { 800, 800, 800 },
 | 
						.hactive = { 800, 800, 800 },
 | 
				
			||||||
| 
						 | 
					@ -3990,6 +4002,9 @@ static const struct of_device_id platform_of_match[] = {
 | 
				
			||||||
	}, {
 | 
						}, {
 | 
				
			||||||
		.compatible = "tianma,tm070jdhg30",
 | 
							.compatible = "tianma,tm070jdhg30",
 | 
				
			||||||
		.data = &tianma_tm070jdhg30,
 | 
							.data = &tianma_tm070jdhg30,
 | 
				
			||||||
 | 
						}, {
 | 
				
			||||||
 | 
							.compatible = "tianma,tm070jvhg33",
 | 
				
			||||||
 | 
							.data = &tianma_tm070jvhg33,
 | 
				
			||||||
	}, {
 | 
						}, {
 | 
				
			||||||
		.compatible = "tianma,tm070rvhg71",
 | 
							.compatible = "tianma,tm070rvhg71",
 | 
				
			||||||
		.data = &tianma_tm070rvhg71,
 | 
							.data = &tianma_tm070rvhg71,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue