* [PATCH v3 0/4] Resend and include all necessary To entries
@ 2025-01-17 9:14 Langyan Ye
2025-01-17 9:14 ` [PATCH v3 1/4] dt-bindings: display: panel: Add compatible for KINGDISPLAY KD110N11-51IE Langyan Ye
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Langyan Ye @ 2025-01-17 9:14 UTC (permalink / raw)
To: neil.armstrong, quic_jesszhan, airlied, simona,
maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
thierry.reding, sam, dri-devel, devicetree, linux-kernel
Cc: Langyan Ye
Fix the workflow of the previous email and resend it with all necessary recipient entries
Changes in v3:
- Link to v2: https://lore.kernel.org/all/20250117050410.933312-1-yelangyan@huaqin.corp-partner.google.com/
Changes in v2:
- PATCH 1/4: Add compatible for KINGDISPLAY KD110N11-51IE
- PATCH 2/4: Add compatible for STARRY 2082109QFH040022-50E
- Link to v1: https://lore.kernel.org/all/20250116130530.3010117-1-yelangyan@huaqin.corp-partner.google.com/
Langyan Ye (4):
dt-bindings: display: panel: Add compatible for KINGDISPLAY
KD110N11-51IE
dt-bindings: display: panel: Add compatible for STARRY
2082109QFH040022-50E
drm/panel: boe-tv101wum-nl6: support for kingdisplay-kd110n11-51ie
MIPI-DSI panel
drm/panel: boe-tv101wum-nl6: support for starry-2082109qfh040022-50e
MIPI-DSI panel
.../display/panel/boe,tv101wum-nl6.yaml | 4 +
.../gpu/drm/panel/panel-boe-tv101wum-nl6.c | 270 ++++++++++++++++++
2 files changed, 274 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v3 1/4] dt-bindings: display: panel: Add compatible for KINGDISPLAY KD110N11-51IE
2025-01-17 9:14 [PATCH v3 0/4] Resend and include all necessary To entries Langyan Ye
@ 2025-01-17 9:14 ` Langyan Ye
2025-01-18 14:37 ` Krzysztof Kozlowski
2025-01-17 9:14 ` [PATCH v3 2/4] dt-bindings: display: panel: Add compatible for STARRY 2082109QFH040022-50E Langyan Ye
` (3 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Langyan Ye @ 2025-01-17 9:14 UTC (permalink / raw)
To: neil.armstrong, quic_jesszhan, airlied, simona,
maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
thierry.reding, sam, dri-devel, devicetree, linux-kernel
Cc: Langyan Ye
The KINGDISPLAY KD110N11-51IE is a 10.95" WUXGA TFT LCD panel,
which fits in nicely with the existing panel-boe-tv101wum-nl6
driver. Hence, we add a new compatible with panel specific config.
Signed-off-by: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
---
.../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml
index 7a9f49e40e75..c771f517952d 100644
--- a/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml
+++ b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml
@@ -34,6 +34,8 @@ properties:
- starry,2081101qfh032011-53g
# STARRY ili9882t 10.51" WUXGA TFT LCD panel
- starry,ili9882t
+ # KINGDISPLAY KD110N11-51IE 10.95" WUXGA TFT LCD panel
+ - kingdisplay,kd110n11-51ie
reg:
maxItems: 1
--
2.34.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v3 2/4] dt-bindings: display: panel: Add compatible for STARRY 2082109QFH040022-50E
2025-01-17 9:14 [PATCH v3 0/4] Resend and include all necessary To entries Langyan Ye
2025-01-17 9:14 ` [PATCH v3 1/4] dt-bindings: display: panel: Add compatible for KINGDISPLAY KD110N11-51IE Langyan Ye
@ 2025-01-17 9:14 ` Langyan Ye
2025-01-18 14:38 ` Krzysztof Kozlowski
2025-01-17 9:14 ` [PATCH v3 3/4] drm/panel: boe-tv101wum-nl6: support for kingdisplay-kd110n11-51ie MIPI-DSI panel Langyan Ye
` (2 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Langyan Ye @ 2025-01-17 9:14 UTC (permalink / raw)
To: neil.armstrong, quic_jesszhan, airlied, simona,
maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
thierry.reding, sam, dri-devel, devicetree, linux-kernel
Cc: Langyan Ye
The STARRY 2082109QFH040022-50E is a 10.95" WUXGA TFT LCD panel,
which fits in nicely with the existing panel-boe-tv101wum-nl6
driver. Hence, we add a new compatible with panel specific config.
Signed-off-by: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
---
.../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml
index c771f517952d..75f7598ceac8 100644
--- a/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml
+++ b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml
@@ -36,6 +36,8 @@ properties:
- starry,ili9882t
# KINGDISPLAY KD110N11-51IE 10.95" WUXGA TFT LCD panel
- kingdisplay,kd110n11-51ie
+ # STARRY 2082109QFH040022-50E 10.95" WUXGA TFT LCD panel
+ - starry,2082109qfh040022-50e
reg:
maxItems: 1
--
2.34.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v3 3/4] drm/panel: boe-tv101wum-nl6: support for kingdisplay-kd110n11-51ie MIPI-DSI panel
2025-01-17 9:14 [PATCH v3 0/4] Resend and include all necessary To entries Langyan Ye
2025-01-17 9:14 ` [PATCH v3 1/4] dt-bindings: display: panel: Add compatible for KINGDISPLAY KD110N11-51IE Langyan Ye
2025-01-17 9:14 ` [PATCH v3 2/4] dt-bindings: display: panel: Add compatible for STARRY 2082109QFH040022-50E Langyan Ye
@ 2025-01-17 9:14 ` Langyan Ye
2025-01-17 9:14 ` [PATCH v3 4/4] drm/panel: boe-tv101wum-nl6: support for starry-2082109qfh040022-50e " Langyan Ye
[not found] ` <CA++9cvo18fMuaf+iPeXgMA2_+QMJ3YCAY1=odG31NKO3s5Vt4Q@mail.gmail.com>
4 siblings, 0 replies; 8+ messages in thread
From: Langyan Ye @ 2025-01-17 9:14 UTC (permalink / raw)
To: neil.armstrong, quic_jesszhan, airlied, simona,
maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
thierry.reding, sam, dri-devel, devicetree, linux-kernel
Cc: Langyan Ye
The kingdisplay-kd110n11-51ie is a 10.95" TFT panel.
which fits in nicely with the existing panel-boe-tv101wum-nl6 driver.
From the datasheet, MIPI needs to keep the LP11 state before the
lcm_reset pin is pulled high, so increase lp11_before_reset flag.
Signed-off-by: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
---
.../gpu/drm/panel/panel-boe-tv101wum-nl6.c | 122 ++++++++++++++++++
1 file changed, 122 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
index 3e5b0d8636d0..72fa0f6a5cb6 100644
--- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
+++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
@@ -1309,6 +1309,97 @@ static int starry_qfh032011_53g_init(struct boe_panel *boe)
return 0;
};
+static int kingdisplay_kd110n11_51ie_init(struct boe_panel *boe)
+{
+ struct mipi_dsi_multi_context ctx = { .dsi = boe->dsi };
+
+ msleep(50);
+
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB9, 0x83, 0x10, 0x21, 0x55, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC4);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD9, 0xD1);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB1, 0x2C, 0xB3, 0xB3, 0x31, 0xF1, 0x33, 0xE0, 0x54,
+ 0x36, 0x36, 0x3A, 0x3A, 0x32, 0x8B, 0x11, 0xE5, 0x98);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xD9);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB1, 0x8B, 0x33);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB2, 0x00, 0x47, 0xB0, 0x80, 0x00, 0x2C, 0x80, 0x3C,
+ 0x9F, 0x22, 0x20, 0x00, 0x00, 0x98, 0x51);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB4, 0x64, 0x64, 0x64, 0x64, 0x64, 0x64, 0x40, 0x84,
+ 0x64, 0x84, 0x01, 0x9D, 0x01, 0x02, 0x01, 0x00, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBC, 0x1B, 0x04);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBE, 0x20);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBF, 0xFC, 0xC4, 0x80, 0x9C, 0x36, 0x00, 0x0D, 0x04);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xC0, 0x32, 0x32, 0x22, 0x11, 0x22, 0xA0, 0x31, 0x08,
+ 0xF5, 0x03);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xCC);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xC7, 0x80);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC6);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xC8, 0x97);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xC9, 0x00, 0x1E, 0x13, 0x88, 0x01);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x08, 0x13, 0x07, 0x00, 0x0F, 0x36);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xCC, 0x02, 0x03, 0x44);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD1, 0x07, 0x06, 0x00, 0x02, 0x04, 0x2C, 0xFF);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD3, 0x06, 0x00, 0x00, 0x00, 0x40, 0x04, 0x08, 0x04,
+ 0x08, 0x37, 0x07, 0x44, 0x37, 0x2B, 0x2B, 0x03, 0x03, 0x32,
+ 0x10, 0x22, 0x00, 0x25, 0x32, 0x10, 0x29, 0x00, 0x29, 0x32,
+ 0x10, 0x08, 0x00, 0x08, 0x00, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD5, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18,
+ 0x18, 0x18, 0x07, 0x06, 0x07, 0x06, 0x05, 0x04, 0x05, 0x04,
+ 0x03, 0x02, 0x03, 0x02, 0x01, 0x00, 0x01, 0x00, 0x18, 0x18,
+ 0x25, 0x24, 0x25, 0x24, 0x1F, 0x1F, 0x1F, 0x1F, 0x1E, 0x1E,
+ 0x1E, 0x1E, 0x20, 0x20, 0x20, 0x20);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x0A, 0x2A, 0xAA, 0x8A, 0xAA, 0xA0, 0x0A, 0x2A,
+ 0xAA, 0x8A, 0xAA, 0xA0);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0xE0, 0x10, 0x10, 0x0D, 0x1E, 0x9D, 0x02, 0x52,
+ 0x9D, 0x14, 0x14);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x01);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB1, 0x01, 0x7F, 0x11, 0xFD);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC5);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBA, 0x4F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x86);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD2, 0x64);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC5);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD3, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x0A, 0x2A, 0xAA, 0x8A, 0xAA, 0xA0, 0x0A, 0x2A,
+ 0xAA, 0x8A, 0xAA, 0xA0, 0x05, 0x15, 0x55, 0x45, 0x55, 0x50,
+ 0x05, 0x15, 0x55, 0x45, 0x55, 0x50);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0x02, 0x00, 0x24, 0x01, 0x7E, 0x0F, 0x7C, 0x10,
+ 0xA0, 0x00, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x02);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x03, 0x07, 0x00, 0x10, 0x7B);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x0F, 0x3F, 0xFF, 0xCF, 0xFF, 0xF0, 0x0F, 0x3F,
+ 0xFF, 0xCF, 0xFF, 0xF0);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0xFE, 0x01, 0xFE, 0x01, 0xFE, 0x01, 0x00, 0x00,
+ 0x00, 0x23, 0x00, 0x23, 0x81, 0x02, 0x40, 0x00, 0x20, 0x9D,
+ 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x03);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB2, 0x66, 0x81);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC6);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB4, 0x03, 0xFF, 0xF8);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x0A, 0x2A, 0xAA, 0x8A, 0xAA, 0xA0, 0x0A, 0x2A,
+ 0xAA, 0x8A, 0xAA, 0xA0, 0x0F, 0x2A, 0xAA, 0x8A, 0xAA, 0xF0,
+ 0x0F, 0x2A, 0xAA, 0x8A, 0xAA, 0xF0, 0x0A, 0x2A, 0xAA, 0x8A,
+ 0xAA, 0xA0, 0x0A, 0x2A, 0xAA, 0x8A, 0xAA, 0xA0);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB9, 0x00, 0x00, 0x00, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0x11);
+
+ mipi_dsi_msleep(&ctx, 120);
+
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0x29);
+
+ mipi_dsi_msleep(&ctx, 20);
+
+ return 0;
+}
+
static inline struct boe_panel *to_boe_panel(struct drm_panel *panel)
{
return container_of(panel, struct boe_panel, base);
@@ -1642,6 +1733,34 @@ static const struct panel_desc starry_qfh032011_53g_desc = {
.lp11_before_reset = true,
};
+static const struct drm_display_mode kingdisplay_kd110n11_51ie_default_mode = {
+ .clock = (1200 + 124 + 80 + 80) * (1920 + 88 + 8 + 38) * 60 / 1000,
+ .hdisplay = 1200,
+ .hsync_start = 1200 + 124,
+ .hsync_end = 1200 + 124 + 80,
+ .htotal = 1200 + 124 + 80 + 80,
+ .vdisplay = 1920,
+ .vsync_start = 1920 + 88,
+ .vsync_end = 1920 + 88 + 8,
+ .vtotal = 1920 + 88 + 8 + 38,
+ .type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED,
+};
+
+static const struct panel_desc kingdisplay_kd110n11_51ie_desc = {
+ .modes = &kingdisplay_kd110n11_51ie_default_mode,
+ .bpc = 8,
+ .size = {
+ .width_mm = 147,
+ .height_mm = 235,
+ },
+ .lanes = 4,
+ .format = MIPI_DSI_FMT_RGB888,
+ .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
+ MIPI_DSI_MODE_LPM,
+ .init = kingdisplay_kd110n11_51ie_init,
+ .lp11_before_reset = true,
+};
+
static int boe_panel_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{
@@ -1807,6 +1926,9 @@ static const struct of_device_id boe_of_match[] = {
{ .compatible = "starry,2081101qfh032011-53g",
.data = &starry_qfh032011_53g_desc
},
+ { .compatible = "kingdisplay,kd110n11-51ie",
+ .data = &kingdisplay_kd110n11_51ie_desc
+ },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, boe_of_match);
--
2.34.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v3 4/4] drm/panel: boe-tv101wum-nl6: support for starry-2082109qfh040022-50e MIPI-DSI panel
2025-01-17 9:14 [PATCH v3 0/4] Resend and include all necessary To entries Langyan Ye
` (2 preceding siblings ...)
2025-01-17 9:14 ` [PATCH v3 3/4] drm/panel: boe-tv101wum-nl6: support for kingdisplay-kd110n11-51ie MIPI-DSI panel Langyan Ye
@ 2025-01-17 9:14 ` Langyan Ye
[not found] ` <CA++9cvo18fMuaf+iPeXgMA2_+QMJ3YCAY1=odG31NKO3s5Vt4Q@mail.gmail.com>
4 siblings, 0 replies; 8+ messages in thread
From: Langyan Ye @ 2025-01-17 9:14 UTC (permalink / raw)
To: neil.armstrong, quic_jesszhan, airlied, simona,
maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
thierry.reding, sam, dri-devel, devicetree, linux-kernel
Cc: Langyan Ye
The starry-2082109qfh040022-50e is a 10.95" TFT panel.
which fits in nicely with the existing panel-boe-tv101wum-nl6 driver.
From the datasheet, MIPI needs to keep the LP11 state before the
lcm_reset pin is pulled high, so increase lp11_before_reset flag.
Signed-off-by: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
---
.../gpu/drm/panel/panel-boe-tv101wum-nl6.c | 148 ++++++++++++++++++
1 file changed, 148 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
index 72fa0f6a5cb6..d45321cece55 100644
--- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
+++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
@@ -1400,6 +1400,123 @@ static int kingdisplay_kd110n11_51ie_init(struct boe_panel *boe)
return 0;
}
+static int starry_2082109qfh040022_50e_init(struct boe_panel *boe)
+{
+ struct mipi_dsi_multi_context ctx = { .dsi = boe->dsi };
+
+ msleep(50);
+
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB9, 0x83, 0x10, 0x21, 0x55, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC4);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD9, 0xD1);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB1, 0x2C, 0xB5, 0xB5, 0x31, 0xF1, 0x33, 0xC3, 0x57,
+ 0x36, 0x36, 0x36, 0x36, 0x1A, 0x8B, 0x11, 0x65, 0x00, 0x88, 0xFA, 0xFF, 0xFF,
+ 0x8F, 0xFF, 0x08, 0x3C, 0x33);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB2, 0x00, 0x47, 0xB0, 0x80, 0x00, 0x22, 0x70, 0x3C,
+ 0xA1, 0x22, 0x00, 0x00, 0x00, 0x88, 0xF4);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB4, 0x14, 0x16, 0x14, 0x50, 0x14, 0x50, 0x0D, 0x6A,
+ 0x0D, 0x6A, 0x01, 0x9E);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB6, 0x34, 0x34, 0x03);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB8, 0x40);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xCD);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBA, 0x84);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBC, 0x1B, 0x04);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBE, 0x20);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBF, 0xFC, 0xC4);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xC0, 0x38, 0x38, 0x22, 0x11, 0x33, 0xA0, 0x61, 0x08,
+ 0xF5, 0x03);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xCC);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xC7, 0x80);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC6);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xC8, 0x97);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xC9, 0x00, 0x1E, 0x30, 0xD4, 0x01);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x08, 0x13, 0x07, 0x00, 0x0F, 0x16);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xCC, 0x02, 0x03, 0x44);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC4);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD0, 0x03);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD1, 0x37, 0x06, 0x00, 0x02, 0x04, 0x2C, 0xFF);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD3, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x3B, 0x03, 0x73, 0x3B, 0x21, 0x21, 0x03, 0x03, 0x98, 0x10, 0x1D, 0x00,
+ 0x1D, 0x32, 0x17, 0xA1, 0x07, 0xA1, 0x43, 0x17, 0xA6, 0x07, 0xA6, 0x00, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD5, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x40, 0x40,
+ 0x18, 0x18, 0x18, 0x18, 0x2A, 0x2B, 0x1F, 0x1F, 0x1E, 0x1E, 0x24, 0x25, 0x26,
+ 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
+ 0x08, 0x09, 0x0A, 0x0B, 0x20, 0x21, 0x18, 0x18, 0x18, 0x18);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x02, 0xAA, 0xEA, 0xAA, 0xAA, 0x00, 0x02, 0xAA,
+ 0xEA, 0xAA, 0xAA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0x07, 0x10, 0x10, 0x2A, 0x32, 0x9F, 0x01, 0x5A,
+ 0x91, 0x14, 0x14, 0x00, 0x00, 0x00, 0x00, 0x12, 0x05, 0x02, 0x02, 0x10, 0x33,
+ 0x02, 0x04, 0x18, 0x01);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x01);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB1, 0x01, 0x7F, 0x11, 0xFD);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x86);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD2, 0x3D);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC5);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD3, 0x00, 0x00, 0x00, 0x80, 0x80, 0x0C, 0xA1);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x03, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x03, 0xFF,
+ 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0x02, 0x00, 0x2D, 0x01, 0x7F, 0x0F, 0x7C, 0x10,
+ 0xA0, 0x00, 0x00, 0x77, 0x00, 0x00, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x02);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBF, 0xF2);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x02, 0x00, 0x00, 0x10, 0x58);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD2, 0x0A, 0x0A, 0x05, 0x03, 0x0A, 0x0A, 0x01, 0x03,
+ 0x01, 0x01, 0x05, 0x0E);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xCC);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD3, 0x03, 0x1F, 0xE0, 0x11, 0x70);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0xAB, 0xFF, 0xFF, 0xFF, 0xFF, 0xA0, 0xAB, 0xFF,
+ 0xFF, 0xFF, 0xFF, 0xA0);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0xFE, 0x01, 0xFE, 0x01, 0xFE, 0x01, 0x00, 0x00,
+ 0x00, 0x03, 0x00, 0x03, 0x81, 0x02, 0x40, 0x00, 0x20, 0x9E, 0x02, 0x01, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x03);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC6);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB4, 0x03, 0xFF, 0xF8);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0xAA, 0xAB, 0xEA, 0xAA, 0xAA, 0xA0, 0xAA, 0xAB,
+ 0xEA, 0xAA, 0xAA, 0xA0, 0xAA, 0xBF, 0xFF, 0xFF, 0xFE, 0xA0, 0xAA, 0xBF, 0xFF,
+ 0xFF, 0xFE, 0xA0, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xA0, 0xAA, 0xAA, 0xAA, 0xAA,
+ 0xAA, 0xA0);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE1, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC4);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBA, 0x96);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x01);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC5);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBA, 0x4F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x02);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xCC);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBA, 0x84);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x00);
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0xB9, 0x00, 0x00, 0x00, 0x00);
+
+ msleep(110);
+
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0x11);
+
+ mipi_dsi_msleep(&ctx, 120);
+
+ mipi_dsi_dcs_write_seq_multi(&ctx, 0x29);
+
+ mipi_dsi_msleep(&ctx, 20);
+
+ return 0;
+}
+
static inline struct boe_panel *to_boe_panel(struct drm_panel *panel)
{
return container_of(panel, struct boe_panel, base);
@@ -1761,6 +1878,34 @@ static const struct panel_desc kingdisplay_kd110n11_51ie_desc = {
.lp11_before_reset = true,
};
+static const struct drm_display_mode starry_2082109qfh040022_50e_default_mode = {
+ .clock = (1200 + 160 + 66 + 120) * (1920 + 115 + 8 + 28) * 60 / 1000,
+ .hdisplay = 1200,
+ .hsync_start = 1200 + 160,
+ .hsync_end = 1200 + 160 + 66,
+ .htotal = 1200 + 160 + 66 + 120,
+ .vdisplay = 1920,
+ .vsync_start = 1920 + 115,
+ .vsync_end = 1920 + 115 + 8,
+ .vtotal = 1920 + 115 + 8 + 28,
+ .type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED,
+};
+
+static const struct panel_desc starry_2082109qfh040022_50e_desc = {
+ .modes = &starry_2082109qfh040022_50e_default_mode,
+ .bpc = 8,
+ .size = {
+ .width_mm = 147,
+ .height_mm = 235,
+ },
+ .lanes = 4,
+ .format = MIPI_DSI_FMT_RGB888,
+ .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
+ MIPI_DSI_MODE_LPM,
+ .init = starry_2082109qfh040022_50e_init,
+ .lp11_before_reset = true,
+};
+
static int boe_panel_get_modes(struct drm_panel *panel,
struct drm_connector *connector)
{
@@ -1929,6 +2074,9 @@ static const struct of_device_id boe_of_match[] = {
{ .compatible = "kingdisplay,kd110n11-51ie",
.data = &kingdisplay_kd110n11_51ie_desc
},
+ { .compatible = "starry,2082109qfh040022-50e",
+ .data = &starry_2082109qfh040022_50e_desc
+ },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, boe_of_match);
--
2.34.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3 1/4] dt-bindings: display: panel: Add compatible for KINGDISPLAY KD110N11-51IE
2025-01-17 9:14 ` [PATCH v3 1/4] dt-bindings: display: panel: Add compatible for KINGDISPLAY KD110N11-51IE Langyan Ye
@ 2025-01-18 14:37 ` Krzysztof Kozlowski
0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-18 14:37 UTC (permalink / raw)
To: Langyan Ye
Cc: neil.armstrong, quic_jesszhan, airlied, simona,
maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
thierry.reding, sam, dri-devel, devicetree, linux-kernel
On Fri, Jan 17, 2025 at 05:14:35PM +0800, Langyan Ye wrote:
> The KINGDISPLAY KD110N11-51IE is a 10.95" WUXGA TFT LCD panel,
> which fits in nicely with the existing panel-boe-tv101wum-nl6
> driver. Hence, we add a new compatible with panel specific config.
>
> Signed-off-by: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
> ---
Nothing improved. Implement review.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3 2/4] dt-bindings: display: panel: Add compatible for STARRY 2082109QFH040022-50E
2025-01-17 9:14 ` [PATCH v3 2/4] dt-bindings: display: panel: Add compatible for STARRY 2082109QFH040022-50E Langyan Ye
@ 2025-01-18 14:38 ` Krzysztof Kozlowski
0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-18 14:38 UTC (permalink / raw)
To: Langyan Ye
Cc: neil.armstrong, quic_jesszhan, airlied, simona,
maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
thierry.reding, sam, dri-devel, devicetree, linux-kernel
On Fri, Jan 17, 2025 at 05:14:36PM +0800, Langyan Ye wrote:
> The STARRY 2082109QFH040022-50E is a 10.95" WUXGA TFT LCD panel,
> which fits in nicely with the existing panel-boe-tv101wum-nl6
> driver. Hence, we add a new compatible with panel specific config.
>
> Signed-off-by: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
> ---
No. Read the emails ENTIRELY and eithe respond or implement the
feedback.
<form letter>
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC (and consider --no-git-fallback argument, so you will
not CC people just because they made one commit years ago). It might
happen, that command when run on an older kernel, gives you outdated
entries. Therefore please be sure you base your patches on recent Linux
kernel.
Tools like b4 or scripts/get_maintainer.pl provide you proper list of
people, so fix your workflow. Tools might also fail if you work on some
ancient tree (don't, instead use mainline) or work on fork of kernel
(don't, instead use mainline). Just use b4 and everything should be
fine, although remember about 'b4 prep --auto-to-cc' if you added new
patches to the patchset.
</form letter>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3 0/4] Resend and include all necessary To entries
[not found] ` <CA++9cvo18fMuaf+iPeXgMA2_+QMJ3YCAY1=odG31NKO3s5Vt4Q@mail.gmail.com>
@ 2025-01-23 0:24 ` Doug Anderson
0 siblings, 0 replies; 8+ messages in thread
From: Doug Anderson @ 2025-01-23 0:24 UTC (permalink / raw)
To: Langyan Ye
Cc: neil.armstrong, quic_jesszhan, airlied, simona,
maarten.lankhorst, mripard, tzimmermann, robh, krzk+dt, conor+dt,
thierry.reding, sam, dri-devel, devicetree, linux-kernel,
Xinxiong Xu
Hi,
On Wed, Jan 22, 2025 at 1:30 AM Langyan Ye
<yelangyan@huaqin.corp-partner.google.com> wrote:
>
> Hi Doug,
> Can you spare some time to help review it? Thanks a lot.
Sure. Let me see if I can figure out what's here:
v1:
- both panel patches got reviewed-by from Neil (nice!)
- wasn't well threaded
- After v4 was already out there, Dmitry replied to the cover letter
asking for bindings. You pointed him at v4, which doesn't seem to
exist?
v2:
- Krzysztof pointed out the lack of CCs
- Krzysztof pointed out broken threading.
- Krzysztof asked you to sort the bindings alphabetically ("k" for
"kingdisplay" doesn't come after "s" for "starry").
- Krzysztof suggested you make the bindings patch into one patch for
both panels.
- Krzysztof asked you to reword the bindings patch description to just
be one sentence: "Add a new compatible for foo bar panel ...".
v3:
- Seems to have proper threading.
- Seems to have better CCs.
- Krzysztof's other 3 requests were ignored. Krzysztof asked you to
make sure you follow all suggestions or say why you didn't.
- One of Krzysztof's replies to v3 seems to imply that you were still
missing some CCs, but I think he was mistaken here. The CCs look fine.
So summary is that you've already got a Reviewed-by for the two panel
patches but you need the bindings ones. It sounds like if you just
take Krzysztof's feedback and send a V4 that he'll likely give you a
Reviewed-by tag.
A few further notes:
- Usually you should make sure you don't send more than one version of
a patch series per day. It looks like you sent several previous
versions of your series in one day and that can overwhelm people.
- When you replied to your cover letter adding me, you didn't reply in
"Plain-Text" mode. That means anyone on the mailing lists (including
the archives) won't see it. Please use Plain-Text email when working
with the upstream mailing lists.
- The cover letter currently has the subject "Resend and include all
necessary To entries". The cover letter SUBJECT shouldn't be a version
history. The version history is contained in the cover letter body,
not the subject. The cover letter for all 3 versions should have had a
subject like "drm/panel: support kingdisplay-kd110n11-51ie and
starry-2082109qfh040022-50e MIPI-DSI panels"
-Doug
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-01-23 0:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-17 9:14 [PATCH v3 0/4] Resend and include all necessary To entries Langyan Ye
2025-01-17 9:14 ` [PATCH v3 1/4] dt-bindings: display: panel: Add compatible for KINGDISPLAY KD110N11-51IE Langyan Ye
2025-01-18 14:37 ` Krzysztof Kozlowski
2025-01-17 9:14 ` [PATCH v3 2/4] dt-bindings: display: panel: Add compatible for STARRY 2082109QFH040022-50E Langyan Ye
2025-01-18 14:38 ` Krzysztof Kozlowski
2025-01-17 9:14 ` [PATCH v3 3/4] drm/panel: boe-tv101wum-nl6: support for kingdisplay-kd110n11-51ie MIPI-DSI panel Langyan Ye
2025-01-17 9:14 ` [PATCH v3 4/4] drm/panel: boe-tv101wum-nl6: support for starry-2082109qfh040022-50e " Langyan Ye
[not found] ` <CA++9cvo18fMuaf+iPeXgMA2_+QMJ3YCAY1=odG31NKO3s5Vt4Q@mail.gmail.com>
2025-01-23 0:24 ` [PATCH v3 0/4] Resend and include all necessary To entries Doug Anderson
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®