[PATCH v5 0/3] Support Sharp LQ101R1SX03 and HannStar HSD101PWW2 panels

STALE1492d

7 messages, 3 authors, 2022-07-03 · open the first message on its own page

[PATCH v5 0/3] Support Sharp LQ101R1SX03 and HannStar HSD101PWW2 panels

From: Svyatoslav Ryhel <hidden>
Date: 2022-05-29 18:06:16

This series adds support for Sharp LQ101R1SX03 and HannStar HSD101PWW2
display panels that are used by Asus Transformer tablets, which we're
planning to support since 5.17 kernel.

Changelog:
v5: - previously patches were sent by Dmitry and he asked me to resend them

v4: - Added r-b from Rob Herring that he gave to the LQ101R1SX01 DT patch
      of v2. I missed to add it to the v3 by accident.

v3: - No changes. Re-sending for 5.18. Device-trees of devices that use
      these panels were merged to 5.17, so we're missing the display support.

v2: - Added ack from Rob Herring to the HSD101PWW2 binding.

    - Updated LQ101R1SX01 binding, like it was suggested by Rob Herring,
      making LQ101R1SX03 directly compatible with the LQ101R1SX01.
      Such that ["sharp,lq101r1sx03", "sharp,lq101r1sx01"] could be
      used in DT. This removes need to update panel driver with the new
      compatible.

    - Improved commit message of the LQ101R1SX03 patch.

    - Added my s-o-b to all patches.

Anton Bambura (1):
  dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03

Svyatoslav Ryhel (2):
  dt-bindings: display: simple: Add HannStar HSD101PWW2
  drm/panel: simple: Add support for HannStar HSD101PWW2 panel

 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 .../display/panel/sharp,lq101r1sx01.yaml      |  7 ++++-
 drivers/gpu/drm/panel/panel-simple.c          | 28 +++++++++++++++++++
 3 files changed, 36 insertions(+), 1 deletion(-)

-- 
2.25.1

[PATCH v5 1/3] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03

From: Svyatoslav Ryhel <hidden>
Date: 2022-05-29 18:06:21

From: Anton Bambura <redacted>

LQ101R1SX03 is compatible with LQ101R1SX01 from software perspective,
document it. The LQ101R1SX03 is a newer revision of LQ101R1SX01, it has
minor differences in hardware pins in comparison to the older version.
The newer version of the panel can be found on Android tablets, like
ASUS TF701T.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Anton Bambura <redacted>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Svyatoslav Ryhel <redacted>
---
 .../bindings/display/panel/sharp,lq101r1sx01.yaml          | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml
index a679d3647dbd..9ec0e8aae4c6 100644
--- a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml
+++ b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml
@@ -30,7 +30,12 @@ allOf:
 
 properties:
   compatible:
-    const: sharp,lq101r1sx01
+    oneOf:
+      - items:
+          - const: sharp,lq101r1sx03
+          - const: sharp,lq101r1sx01
+      - items:
+          - const: sharp,lq101r1sx01
 
   reg: true
   power-supply: true
-- 
2.25.1

[PATCH v5 2/3] dt-bindings: display: simple: Add HannStar HSD101PWW2

From: Svyatoslav Ryhel <hidden>
Date: 2022-05-29 18:06:26

Add HannStar HSD101PWW2 10.1" WXGA (1280x800) TFT-LCD LVDS panel
to the list of compatibles.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Svyatoslav Ryhel <redacted>
Signed-off-by: Dmitry Osipenko <digetx@gmail.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 1eb9dd4f8f58..0d6f3973b12d 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -156,6 +156,8 @@ properties:
       - hannstar,hsd070pww1
         # HannStar Display Corp. HSD100PXN1 10.1" XGA LVDS panel
       - hannstar,hsd100pxn1
+        # HannStar Display Corp. HSD101PWW2 10.1" WXGA (1280x800) LVDS panel
+      - hannstar,hsd101pww2
         # Hitachi Ltd. Corporation 9" WVGA (800x480) TFT LCD panel
       - hit,tx23d38vm0caa
         # InfoVision Optoelectronics M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel
-- 
2.25.1

[PATCH v5 3/3] drm/panel: simple: Add support for HannStar HSD101PWW2 panel

From: Svyatoslav Ryhel <hidden>
Date: 2022-05-29 18:06:30

Add definition of the HannStar HSD101PWW2 Rev0-A00/A01 LCD
SuperIPS+ HD panel.

Signed-off-by: Svyatoslav Ryhel <redacted>
Signed-off-by: Dmitry Osipenko <digetx@gmail.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 a34f4198a534..915b7cecf451 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1928,6 +1928,31 @@ static const struct panel_desc hannstar_hsd100pxn1 = {
 	.connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
+static const struct display_timing hannstar_hsd101pww2_timing = {
+	.pixelclock = { 64300000, 71100000, 82000000 },
+	.hactive = { 1280, 1280, 1280 },
+	.hfront_porch = { 1, 1, 10 },
+	.hback_porch = { 1, 1, 10 },
+	.hsync_len = { 58, 158, 661 },
+	.vactive = { 800, 800, 800 },
+	.vfront_porch = { 1, 1, 10 },
+	.vback_porch = { 1, 1, 10 },
+	.vsync_len = { 1, 21, 203 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc hannstar_hsd101pww2 = {
+	.timings = &hannstar_hsd101pww2_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 217,
+		.height = 136,
+	},
+	.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,
@@ -3834,6 +3859,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "hannstar,hsd100pxn1",
 		.data = &hannstar_hsd100pxn1,
+	}, {
+		.compatible = "hannstar,hsd101pww2",
+		.data = &hannstar_hsd101pww2,
 	}, {
 		.compatible = "hit,tx23d38vm0caa",
 		.data = &hitachi_tx23d38vm0caa
-- 
2.25.1

Re: [PATCH v5 0/3] Support Sharp LQ101R1SX03 and HannStar HSD101PWW2 panels

From: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Date: 2022-06-30 17:23:16

Hello Sam,

On 5/29/22 21:05, Svyatoslav Ryhel wrote:
This series adds support for Sharp LQ101R1SX03 and HannStar HSD101PWW2
display panels that are used by Asus Transformer tablets, which we're
planning to support since 5.17 kernel.
The tablets now supported since 5.17 and awaiting for the panel patches.
Changelog:
v5: - previously patches were sent by Dmitry and he asked me to resend them

v4: - Added r-b from Rob Herring that he gave to the LQ101R1SX01 DT patch
      of v2. I missed to add it to the v3 by accident.

v3: - No changes. Re-sending for 5.18. Device-trees of devices that use
      these panels were merged to 5.17, so we're missing the display support.

v2: - Added ack from Rob Herring to the HSD101PWW2 binding.

    - Updated LQ101R1SX01 binding, like it was suggested by Rob Herring,
      making LQ101R1SX03 directly compatible with the LQ101R1SX01.
      Such that ["sharp,lq101r1sx03", "sharp,lq101r1sx01"] could be
      used in DT. This removes need to update panel driver with the new
      compatible.

    - Improved commit message of the LQ101R1SX03 patch.

    - Added my s-o-b to all patches.

Anton Bambura (1):
  dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03

Svyatoslav Ryhel (2):
  dt-bindings: display: simple: Add HannStar HSD101PWW2
  drm/panel: simple: Add support for HannStar HSD101PWW2 panel

 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 .../display/panel/sharp,lq101r1sx01.yaml      |  7 ++++-
 drivers/gpu/drm/panel/panel-simple.c          | 28 +++++++++++++++++++
 3 files changed, 36 insertions(+), 1 deletion(-)
Sam, could you please take a look at these patches? They missed two
kernel versions already because there was nobody to apply them. Thanks
in advance.

-- 
Best regards,
Dmitry

Re: [PATCH v5 0/3] Support Sharp LQ101R1SX03 and HannStar HSD101PWW2 panels

From: Sam Ravnborg <hidden>
Date: 2022-07-03 18:56:24

Hi Dmitry,
On Thu, Jun 30, 2022 at 08:23:06PM +0300, Dmitry Osipenko wrote:
Hello Sam,

On 5/29/22 21:05, Svyatoslav Ryhel wrote:
quoted
This series adds support for Sharp LQ101R1SX03 and HannStar HSD101PWW2
display panels that are used by Asus Transformer tablets, which we're
planning to support since 5.17 kernel.
The tablets now supported since 5.17 and awaiting for the panel patches.
quoted
Changelog:
v5: - previously patches were sent by Dmitry and he asked me to resend them

v4: - Added r-b from Rob Herring that he gave to the LQ101R1SX01 DT patch
      of v2. I missed to add it to the v3 by accident.

v3: - No changes. Re-sending for 5.18. Device-trees of devices that use
      these panels were merged to 5.17, so we're missing the display support.

v2: - Added ack from Rob Herring to the HSD101PWW2 binding.

    - Updated LQ101R1SX01 binding, like it was suggested by Rob Herring,
      making LQ101R1SX03 directly compatible with the LQ101R1SX01.
      Such that ["sharp,lq101r1sx03", "sharp,lq101r1sx01"] could be
      used in DT. This removes need to update panel driver with the new
      compatible.

    - Improved commit message of the LQ101R1SX03 patch.

    - Added my s-o-b to all patches.

Anton Bambura (1):
  dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03

Svyatoslav Ryhel (2):
  dt-bindings: display: simple: Add HannStar HSD101PWW2
  drm/panel: simple: Add support for HannStar HSD101PWW2 panel

 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 .../display/panel/sharp,lq101r1sx01.yaml      |  7 ++++-
 drivers/gpu/drm/panel/panel-simple.c          | 28 +++++++++++++++++++
 3 files changed, 36 insertions(+), 1 deletion(-)
Sam, could you please take a look at these patches? They missed two
kernel versions already because there was nobody to apply them. Thanks
in advance.
I went through the panel backlog a week or two ago, but missed these.
Likely because I did not look more than a week back.
Sorry for letting it take so long - but I am not the most reliable linux
developer these days (hobby time only, and time is limited).

Patches are now applied to drm-misc (drm-misc-next) and should soon be
visible in -next.

	Sam

Re: [PATCH v5 0/3] Support Sharp LQ101R1SX03 and HannStar HSD101PWW2 panels

From: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Date: 2022-07-03 23:28:06

On 7/3/22 21:56, Sam Ravnborg wrote:
Hi Dmitry,
On Thu, Jun 30, 2022 at 08:23:06PM +0300, Dmitry Osipenko wrote:
quoted
Hello Sam,

On 5/29/22 21:05, Svyatoslav Ryhel wrote:
quoted
This series adds support for Sharp LQ101R1SX03 and HannStar HSD101PWW2
display panels that are used by Asus Transformer tablets, which we're
planning to support since 5.17 kernel.
The tablets now supported since 5.17 and awaiting for the panel patches.
quoted
Changelog:
v5: - previously patches were sent by Dmitry and he asked me to resend them

v4: - Added r-b from Rob Herring that he gave to the LQ101R1SX01 DT patch
      of v2. I missed to add it to the v3 by accident.

v3: - No changes. Re-sending for 5.18. Device-trees of devices that use
      these panels were merged to 5.17, so we're missing the display support.

v2: - Added ack from Rob Herring to the HSD101PWW2 binding.

    - Updated LQ101R1SX01 binding, like it was suggested by Rob Herring,
      making LQ101R1SX03 directly compatible with the LQ101R1SX01.
      Such that ["sharp,lq101r1sx03", "sharp,lq101r1sx01"] could be
      used in DT. This removes need to update panel driver with the new
      compatible.

    - Improved commit message of the LQ101R1SX03 patch.

    - Added my s-o-b to all patches.

Anton Bambura (1):
  dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03

Svyatoslav Ryhel (2):
  dt-bindings: display: simple: Add HannStar HSD101PWW2
  drm/panel: simple: Add support for HannStar HSD101PWW2 panel

 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 .../display/panel/sharp,lq101r1sx01.yaml      |  7 ++++-
 drivers/gpu/drm/panel/panel-simple.c          | 28 +++++++++++++++++++
 3 files changed, 36 insertions(+), 1 deletion(-)
Sam, could you please take a look at these patches? They missed two
kernel versions already because there was nobody to apply them. Thanks
in advance.
I went through the panel backlog a week or two ago, but missed these.
Likely because I did not look more than a week back.
Sorry for letting it take so long - but I am not the most reliable linux
developer these days (hobby time only, and time is limited).
That is totally fine. There are not that many full-time maintainers in
kernel.
Patches are now applied to drm-misc (drm-misc-next) and should soon be
visible in -next.
Awesome, thank you.

-- 
Best regards,
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help