Commit 7a5b9669 authored by Steffen Trumtrar's avatar Steffen Trumtrar Committed by Neil Armstrong
Browse files

drm/panel: simple: add JuTouch JT070TM041

parent 87535f27
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
@@ -2947,6 +2947,35 @@ static const struct panel_desc innolux_zj070na_01p = {
	},
};

static const struct display_timing jutouch_jt070tm041_timing = {
	.pixelclock = { 40800000, 51200000, 67200000 },
	.hactive = { 1024, 1024, 1024 },
	.hfront_porch = { 16, 160, 216 },
	.hback_porch = { 160, 160, 160 },
	.hsync_len = { 1, 1, 140 },
	.vactive = { 600, 600, 600 },
	.vfront_porch = { 1, 12, 127 },
	.vback_porch = { 23, 23, 23 },
	.vsync_len = { 1, 1, 20 },
};

static const struct panel_desc jutouch_jt070tm041 = {
	.timings = &jutouch_jt070tm041_timing,
	.num_timings = 1,
	.bpc = 8,
	.size = {
		.width = 154,
		.height = 86,
	},
	.delay = {
		.enable = 50,
		.disable = 50,
	},
	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
	.connector_type = DRM_MODE_CONNECTOR_LVDS,
};

static const struct display_timing jutouch_jt101tm023_timing = {
	.pixelclock = { 66300000, 72400000, 78900000 },
	.hactive = { 1280, 1280, 1280 },
@@ -5413,6 +5442,9 @@ static const struct of_device_id platform_of_match[] = {
	}, {
		.compatible = "innolux,zj070na-01p",
		.data = &innolux_zj070na_01p,
	}, {
		.compatible = "jutouch,jt070tm041",
		.data = &jutouch_jt070tm041,
	}, {
		.compatible = "jutouch,jt101tm023",
		.data = &jutouch_jt101tm023,