aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2018-06-19 04:19:26 -0400
committerThierry Reding <treding@nvidia.com>2018-07-10 11:59:05 -0400
commitae8cf41b6a5e3a0847cf5ef9bf6feb82e75ab5eb (patch)
tree3d5b411ca1ccb4a9e0bda2b18322e4c099cc6470 /drivers/gpu/drm/panel
parentb0b7aa407e929b8e25a2982bff428eacd50f1630 (diff)
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: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Maciej Purski <m.purski@samsung.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/1529396370-18761-6-git-send-email-m.purski@samsung.com
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 230f030d1ea9..cca1168f0881 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -772,6 +772,28 @@ static const struct panel_desc avic_tm070ddh03 = {
772 }, 772 },
773}; 773};
774 774
775static const struct drm_display_mode boe_hv070wsa_mode = {
776 .clock = 40800,
777 .hdisplay = 1024,
778 .hsync_start = 1024 + 90,
779 .hsync_end = 1024 + 90 + 90,
780 .htotal = 1024 + 90 + 90 + 90,
781 .vdisplay = 600,
782 .vsync_start = 600 + 3,
783 .vsync_end = 600 + 3 + 4,
784 .vtotal = 600 + 3 + 4 + 3,
785 .vrefresh = 60,
786};
787
788static const struct panel_desc boe_hv070wsa = {
789 .modes = &boe_hv070wsa_mode,
790 .num_modes = 1,
791 .size = {
792 .width = 154,
793 .height = 90,
794 },
795};
796
775static const struct drm_display_mode boe_nv101wxmn51_modes[] = { 797static const struct drm_display_mode boe_nv101wxmn51_modes[] = {
776 { 798 {
777 .clock = 71900, 799 .clock = 71900,
@@ -2238,6 +2260,9 @@ static const struct of_device_id platform_of_match[] = {
2238 .compatible = "avic,tm070ddh03", 2260 .compatible = "avic,tm070ddh03",
2239 .data = &avic_tm070ddh03, 2261 .data = &avic_tm070ddh03,
2240 }, { 2262 }, {
2263 .compatible = "boe,hv070wsa-100",
2264 .data = &boe_hv070wsa
2265 }, {
2241 .compatible = "boe,nv101wxmn51", 2266 .compatible = "boe,nv101wxmn51",
2242 .data = &boe_nv101wxmn51, 2267 .data = &boe_nv101wxmn51,
2243 }, { 2268 }, {