mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH RESEND 0/2] Add HannStar HSD156JUW2 panel support
@ 2025-12-01 14:19 Renjun Wang
  2025-12-01 14:21 ` [PATCH RESEND 1/2] dt-bindings: display: simple: Add HannStar HSD156JUW2 Renjun Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Renjun Wang @ 2025-12-01 14:19 UTC (permalink / raw)
  To: neil.armstrong, jessica.zhang, airlied, simona,
	maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
	thierry.reding, sam
  Cc: dri-devel, devicetree, linux-kernel, Renjun Wang

The HannStar HSD156JUW2 panel is a 15.6" FHD (1920x1080) LCD-TFT LVDS
panel. Add a binding and a panel entry under panel-simple.c.

Renjun Wang (2):
  dt-bindings: display: simple: Add HannStar HSD156JUW2
  drm/panel: simple: Add HannStar HSD156JUW2

 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 drivers/gpu/drm/panel/panel-simple.c          | 28 +++++++++++++++++++
 2 files changed, 30 insertions(+)


base-commit: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
-- 
2.39.5


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH RESEND 1/2] dt-bindings: display: simple: Add HannStar HSD156JUW2
  2025-12-01 14:19 [PATCH RESEND 0/2] Add HannStar HSD156JUW2 panel support Renjun Wang
@ 2025-12-01 14:21 ` Renjun Wang
  2025-12-04 21:26   ` Rob Herring (Arm)
  2025-12-01 14:22 ` [PATCH RESEND 2/2] drm/panel: " Renjun Wang
  2025-12-16 10:23 ` [PATCH RESEND 0/2] Add HannStar HSD156JUW2 panel support Neil Armstrong
  2 siblings, 1 reply; 6+ messages in thread
From: Renjun Wang @ 2025-12-01 14:21 UTC (permalink / raw)
  To: neil.armstrong, jessica.zhang, airlied, simona,
	maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
	thierry.reding, sam
  Cc: dri-devel, devicetree, linux-kernel, Renjun Wang

Add the HannStar HSD156JUW2 15.6" FHD (1920x1080) TFT LCD panel to
the panel-simple compatible list.

Signed-off-by: Renjun Wang <renjunw0@foxmail.com>
---
 .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
index 2017428d8828..918dd6d303cd 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -154,6 +154,8 @@ properties:
       - hannstar,hsd070pww1
         # HannStar Display Corp. HSD100PXN1 10.1" XGA LVDS panel
       - hannstar,hsd100pxn1
+        # HannStar Display Corp. HSD156JUW2 15.6" FHD (1920x1080) TFT LCD panel
+      - hannstar,hsd156juw2
         # Hitachi Ltd. Corporation 9" WVGA (800x480) TFT LCD panel
       - hit,tx23d38vm0caa
         # Innolux AT043TN24 4.3" WQVGA TFT LCD panel
-- 
2.39.5


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH RESEND 2/2] drm/panel: simple: Add HannStar HSD156JUW2
  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-01 14:22 ` Renjun Wang
  2025-12-16  9:57   ` neil.armstrong
  2025-12-16 10:23 ` [PATCH RESEND 0/2] Add HannStar HSD156JUW2 panel support Neil Armstrong
  2 siblings, 1 reply; 6+ messages in thread
From: Renjun Wang @ 2025-12-01 14:22 UTC (permalink / raw)
  To: neil.armstrong, jessica.zhang, airlied, simona,
	maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
	thierry.reding, sam
  Cc: dri-devel, devicetree, linux-kernel, Renjun Wang

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH RESEND 1/2] dt-bindings: display: simple: Add HannStar HSD156JUW2
  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)
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring (Arm) @ 2025-12-04 21:26 UTC (permalink / raw)
  To: Renjun Wang
  Cc: maarten.lankhorst, sam, neil.armstrong, tzimmermann, devicetree,
	simona, thierry.reding, jessica.zhang, linux-kernel, airlied,
	mripard, krzk+dt, conor+dt, dri-devel


On Mon, 01 Dec 2025 22:21:53 +0800, Renjun Wang wrote:
> Add the HannStar HSD156JUW2 15.6" FHD (1920x1080) TFT LCD panel to
> the panel-simple compatible list.
> 
> Signed-off-by: Renjun Wang <renjunw0@foxmail.com>
> ---
>  .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH RESEND 2/2] drm/panel: simple: Add HannStar HSD156JUW2
  2025-12-01 14:22 ` [PATCH RESEND 2/2] drm/panel: " Renjun Wang
@ 2025-12-16  9:57   ` neil.armstrong
  0 siblings, 0 replies; 6+ messages in thread
From: neil.armstrong @ 2025-12-16  9:57 UTC (permalink / raw)
  To: Renjun Wang, jessica.zhang, airlied, simona, maarten.lankhorst,
	mripard, tzimmermann, robh, krzk+dt, conor+dt, thierry.reding,
	sam
  Cc: dri-devel, devicetree, linux-kernel

On 12/1/25 15:22, Renjun Wang wrote:
> 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

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH RESEND 0/2] Add HannStar HSD156JUW2 panel support
  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-01 14:22 ` [PATCH RESEND 2/2] drm/panel: " Renjun Wang
@ 2025-12-16 10:23 ` Neil Armstrong
  2 siblings, 0 replies; 6+ messages in thread
From: Neil Armstrong @ 2025-12-16 10:23 UTC (permalink / raw)
  To: jessica.zhang, airlied, simona, maarten.lankhorst, mripard,
	tzimmermann, robh, krzk+dt, conor+dt, thierry.reding, sam,
	Renjun Wang
  Cc: dri-devel, devicetree, linux-kernel

Hi,

On Mon, 01 Dec 2025 22:19:17 +0800, Renjun Wang wrote:
> The HannStar HSD156JUW2 panel is a 15.6" FHD (1920x1080) LCD-TFT LVDS
> panel. Add a binding and a panel entry under panel-simple.c.
> 
> Renjun Wang (2):
>   dt-bindings: display: simple: Add HannStar HSD156JUW2
>   drm/panel: simple: Add HannStar HSD156JUW2
> 
> [...]

Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)

[1/2] dt-bindings: display: simple: Add HannStar HSD156JUW2
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/b23cd64bda037ad83e18960c8802f3276b7b368e
[2/2] drm/panel: simple: Add HannStar HSD156JUW2
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/af586cc6df0bd56d4a3d05d5e6db0b193233fc51

-- 
Neil


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-12-16 10:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH RESEND 2/2] drm/panel: " Renjun Wang
2025-12-16  9:57   ` neil.armstrong
2025-12-16 10:23 ` [PATCH RESEND 0/2] Add HannStar HSD156JUW2 panel support Neil Armstrong

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®