Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae8cf41b authored by Andrzej Hajda's avatar Andrzej Hajda Committed by Thierry Reding
Browse files

drm/panel: simple: Add support for BOE HV070WSA-100 panel to simple-panel



The patch adds support for BOE HV070WSA-100 WSVGA 7.01 inch panel to the
panel-simple driver. The panel is used in Exynos5250-arndale boards.

Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
Signed-off-by: default avatarMaciej Purski <m.purski@samsung.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1529396370-18761-6-git-send-email-m.purski@samsung.com
parent b0b7aa40
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -772,6 +772,28 @@ static const struct panel_desc avic_tm070ddh03 = {
	},
};

static const struct drm_display_mode boe_hv070wsa_mode = {
	.clock = 40800,
	.hdisplay = 1024,
	.hsync_start = 1024 + 90,
	.hsync_end = 1024 + 90 + 90,
	.htotal = 1024 + 90 + 90 + 90,
	.vdisplay = 600,
	.vsync_start = 600 + 3,
	.vsync_end = 600 + 3 + 4,
	.vtotal = 600 + 3 + 4 + 3,
	.vrefresh = 60,
};

static const struct panel_desc boe_hv070wsa = {
	.modes = &boe_hv070wsa_mode,
	.num_modes = 1,
	.size = {
		.width = 154,
		.height = 90,
	},
};

static const struct drm_display_mode boe_nv101wxmn51_modes[] = {
	{
		.clock = 71900,
@@ -2237,6 +2259,9 @@ static const struct of_device_id platform_of_match[] = {
	}, {
		.compatible = "avic,tm070ddh03",
		.data = &avic_tm070ddh03,
	}, {
		.compatible = "boe,hv070wsa-100",
		.data = &boe_hv070wsa
	}, {
		.compatible = "boe,nv101wxmn51",
		.data = &boe_nv101wxmn51,