Commit 73bd4835 authored by Steffen Trumtrar's avatar Steffen Trumtrar Committed by Neil Armstrong
Browse files

drm/panel: simple: add JuTouch JT101TM023

parent 510aeefc
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
@@ -2889,6 +2889,38 @@ static const struct panel_desc innolux_zj070na_01p = {
	},
};

static const struct display_timing jutouch_jt101tm023_timing = {
	.pixelclock = { 66300000, 72400000, 78900000 },
	.hactive = { 1280, 1280, 1280 },
	.hfront_porch = { 12, 72, 132 },
	.hback_porch = { 88, 88, 88 },
	.hsync_len = { 10, 10, 48 },
	.vactive = { 800, 800, 800 },
	.vfront_porch = { 1, 15, 49 },
	.vback_porch = { 23, 23, 23 },
	.vsync_len = { 5, 6, 13 },
	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
		 DISPLAY_FLAGS_DE_HIGH,
};

static const struct panel_desc jutouch_jt101tm023 = {
	.timings = &jutouch_jt101tm023_timing,
	.num_timings = 1,
	.bpc = 8,
	.size = {
		.width = 217,
		.height = 136,
	},
	.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 koe_tx14d24vm1bpa_timing = {
	.pixelclock = { 5580000, 5850000, 6200000 },
	.hactive = { 320, 320, 320 },
@@ -5208,6 +5240,9 @@ static const struct of_device_id platform_of_match[] = {
	}, {
		.compatible = "innolux,zj070na-01p",
		.data = &innolux_zj070na_01p,
	}, {
		.compatible = "jutouch,jt101tm023",
		.data = &jutouch_jt101tm023,
	}, {
		.compatible = "koe,tx14d24vm1bpa",
		.data = &koe_tx14d24vm1bpa,