From: Renjun Wang <renjunw0@foxmail.com>
To: neil.armstrong@linaro.org, jessica.zhang@oss.qualcomm.com,
airlied@gmail.com, simona@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, thierry.reding@gmail.com, sam@ravnborg.org
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Renjun Wang <renjunw0@foxmail.com>
Subject: [PATCH RESEND 2/2] drm/panel: simple: Add HannStar HSD156JUW2
Date: Mon, 1 Dec 2025 22:22:06 +0800 [thread overview]
Message-ID: <tencent_FE5819B397B5ECC989623C67A7D68D246907@qq.com> (raw)
In-Reply-To: <tencent_D449AE627267BDD68BA41AD80EB3DFB5D407@qq.com>
Add Hannstar HSD156JUW2 15.6" FHD (1920x1080) TFT LCD panel support.
Signed-off-by: Renjun Wang <renjunw0@foxmail.com>
---
drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 0019de93be1b..057ae6735806 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2509,6 +2509,31 @@ static const struct panel_desc hannstar_hsd101pww2 = {
.connector_type = DRM_MODE_CONNECTOR_LVDS,
};
+static const struct display_timing hannstar_hsd156juw2_timing = {
+ .pixelclock = { 66000000, 72800000, 80500000 },
+ .hactive = { 1920, 1920, 1920 },
+ .hfront_porch = { 20, 30, 30 },
+ .hback_porch = { 20, 30, 30 },
+ .hsync_len = { 50, 60, 90 },
+ .vactive = { 1080, 1080, 1080 },
+ .vfront_porch = { 1, 2, 4 },
+ .vback_porch = { 1, 2, 4 },
+ .vsync_len = { 3, 40, 80 },
+ .flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc hannstar_hsd156juw2 = {
+ .timings = &hannstar_hsd156juw2_timing,
+ .num_timings = 1,
+ .bpc = 8,
+ .size = {
+ .width = 344,
+ .height = 194,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+ .connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
static const struct drm_display_mode hitachi_tx23d38vm0caa_mode = {
.clock = 33333,
.hdisplay = 800,
@@ -5166,6 +5191,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "hannstar,hsd101pww2",
.data = &hannstar_hsd101pww2,
+ }, {
+ .compatible = "hannstar,hsd156juw2",
+ .data = &hannstar_hsd156juw2,
}, {
.compatible = "hit,tx23d38vm0caa",
.data = &hitachi_tx23d38vm0caa
--
2.39.5
next prev parent reply other threads:[~2025-12-01 14:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-01 14:19 [PATCH RESEND 0/2] Add HannStar HSD156JUW2 panel support Renjun Wang
2025-12-01 14:21 ` [PATCH RESEND 1/2] dt-bindings: display: simple: Add HannStar HSD156JUW2 Renjun Wang
2025-12-04 21:26 ` Rob Herring (Arm)
2025-12-01 14:22 ` Renjun Wang [this message]
2025-12-16 9:57 ` [PATCH RESEND 2/2] drm/panel: " neil.armstrong
2025-12-16 10:23 ` [PATCH RESEND 0/2] Add HannStar HSD156JUW2 panel support Neil Armstrong
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=tencent_FE5819B397B5ECC989623C67A7D68D246907@qq.com \
--to=renjunw0@foxmail.com \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jessica.zhang@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=sam@ravnborg.org \
--cc=simona@ffwll.ch \
--cc=thierry.reding@gmail.com \
--cc=tzimmermann@suse.de \
/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
all inboxes | Powered by JetHome®