linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: Daniel Vetter <daniel@ffwll.ch>,
	Thierry Reding <thierry.reding@gmail.com>,
	David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	Thierry Reding <treding@nvidia.com>,
	Lukasz Majewski <lukma@denx.de>
Subject: [PATCH v4 2/2] drm/panel: simple: Add KOE tx14d24vm1bpa display support (320x240)
Date: Wed, 15 May 2019 18:06:12 +0200	[thread overview]
Message-ID: <20190515160612.6529-1-lukma@denx.de> (raw)
In-Reply-To: <20180412143715.6828-1-lukma@denx.de>

This commit adds support for KOE's 5.7" display.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Rob Herring <robh@kernel.org>

---
Previous discussion (and Rob's Reviewed-by) about this patch
https://patchwork.kernel.org/patch/10339595/

It must have been lost during the development process, so
I do resend it now.

Changes for v4:
- Rebase on top of newest mainline (no functional changes)
SHA1: 5ac94332248ee017964ba368cdda4ce647e3aba7

Changes for v3 :
- Rebase this patch on top of newest kernel (5.1-rc3):
  SHA1: 145f47c7381d43c789cbad55d4dbfd28fc6c46a4
- Split this patch to have separate Documentation entry
---
 drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 569be4efd8d1..c3e5900b04fa 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1549,6 +1549,29 @@ static const struct panel_desc innolux_zj070na_01p = {
 	},
 };
 
+static const struct display_timing koe_tx14d24vm1bpa_timing = {
+	.pixelclock = { 5580000, 5850000, 6200000 },
+	.hactive = { 320, 320, 320 },
+	.hfront_porch = { 30, 30, 30 },
+	.hback_porch = { 30, 30, 30 },
+	.hsync_len = { 1, 5, 17 },
+	.vactive = { 240, 240, 240 },
+	.vfront_porch = { 6, 6, 6 },
+	.vback_porch = { 5, 5, 5 },
+	.vsync_len = { 1, 2, 11 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc koe_tx14d24vm1bpa = {
+	.timings = &koe_tx14d24vm1bpa_timing,
+	.num_timings = 1,
+	.bpc = 6,
+	.size = {
+		.width = 115,
+		.height = 86,
+	},
+};
+
 static const struct display_timing koe_tx31d200vm0baa_timing = {
 	.pixelclock = { 39600000, 43200000, 48000000 },
 	.hactive = { 1280, 1280, 1280 },
@@ -2706,6 +2729,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "innolux,zj070na-01p",
 		.data = &innolux_zj070na_01p,
 	}, {
+		.compatible = "koe,tx14d24vm1bpa",
+		.data = &koe_tx14d24vm1bpa,
+	}, {
 		.compatible = "koe,tx31d200vm0baa",
 		.data = &koe_tx31d200vm0baa,
 	}, {
-- 
2.11.0


  parent reply	other threads:[~2019-05-15 16:06 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-12 14:37 [PATCH] display: panel: Add KOE tx14d24vm1bpa display support (320x240) Lukasz Majewski
2018-04-16 19:24 ` Rob Herring
2018-05-04 10:28   ` Lukasz Majewski
2018-05-10 14:22     ` Rob Herring
2018-05-11 15:04       ` Lukasz Majewski
2018-05-09 15:43 ` [PATCH RESEND] " Lukasz Majewski
2018-05-10 14:24   ` Rob Herring
2018-05-19 11:05   ` Lukasz Majewski
2018-05-28  7:55     ` Lukasz Majewski
2018-05-29 14:30       ` Thierry Reding
2018-05-29 15:01         ` Lukasz Majewski
2018-05-29 15:22           ` Thierry Reding
2018-05-29 15:33             ` Lukasz Majewski
2018-05-29 16:12               ` Thierry Reding
2018-05-29 15:05 ` [PATCH v2] " Lukasz Majewski
2018-06-22  8:56   ` Lukasz Majewski
2018-06-29 17:05     ` Lukasz Majewski
2018-07-08  8:43       ` Lukasz Majewski
2019-04-04 11:22 ` [PATCH v3 1/2] dt-bindings: display/panel: Add KOE tx14d24vm1bpa display description Lukasz Majewski
2019-04-04 11:22   ` [PATCH v3 2/2] drm/panel: simple: Add KOE tx14d24vm1bpa display support (320x240) Lukasz Majewski
2019-04-26 12:29     ` Lukasz Majewski
2019-04-26 12:29   ` [PATCH v3 1/2] dt-bindings: display/panel: Add KOE tx14d24vm1bpa display description Lukasz Majewski
2019-05-15 16:04 ` [PATCH v4 " Lukasz Majewski
2019-05-24 21:56   ` Rob Herring
2019-05-25  6:54   ` Sam Ravnborg
2019-05-15 16:06 ` Lukasz Majewski [this message]
2019-05-25  6:55   ` [PATCH v4 2/2] drm/panel: simple: Add KOE tx14d24vm1bpa display support (320x240) Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190515160612.6529-1-lukma@denx.de \
    --to=lukma@denx.de \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=treding@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).