Commit 8d1330d2 authored by Primoz Fiser's avatar Primoz Fiser Committed by Neil Armstrong
Browse files
parent d046611a
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -3640,6 +3640,32 @@ static const struct panel_desc powertip_ph800480t013_idf02 = {
	.connector_type = DRM_MODE_CONNECTOR_DPI,
};

static const struct drm_display_mode primeview_pm070wl4_mode = {
	.clock = 32000,
	.hdisplay = 800,
	.hsync_start = 800 + 42,
	.hsync_end = 800 + 42 + 128,
	.htotal = 800 + 42 + 128 + 86,
	.vdisplay = 480,
	.vsync_start = 480 + 10,
	.vsync_end = 480 + 10 + 2,
	.vtotal = 480 + 10 + 2 + 33,
	.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
};

static const struct panel_desc primeview_pm070wl4 = {
	.modes = &primeview_pm070wl4_mode,
	.num_modes = 1,
	.bpc = 6,
	.size = {
		.width = 152,
		.height = 91,
	},
	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE,
	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
	.connector_type = DRM_MODE_CONNECTOR_DPI,
};

static const struct drm_display_mode qd43003c0_40_mode = {
	.clock = 9000,
	.hdisplay = 480,
@@ -4807,6 +4833,9 @@ static const struct of_device_id platform_of_match[] = {
	}, {
		.compatible = "powertip,ph800480t013-idf02",
		.data = &powertip_ph800480t013_idf02,
	}, {
		.compatible = "primeview,pm070wl4",
		.data = &primeview_pm070wl4,
	}, {
		.compatible = "qiaodian,qd43003c0-40",
		.data = &qd43003c0_40,