Skip to contentSkip to conversation

drm/panel: Add BOE DV215FHM-R01 LVDS panel support

PATCH Superseded Vishnu Saini 3 participants 6 messages Aug 14 – Sep 2

Subsystems (4)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v3 cover drm/panel: Add BOE DV215FHM-R01 LVDS panel support

This series adds support for the BOE DV215FHM-R01 21.5" FHD (1920x1080) dual-channel LVDS panel.

---
Changes in v3:
- Reordered commits, keeping the compatible documentation first [Krzysztof]
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Move panel support into panel-simple-lvds-dual-ports.yaml [Rob]
- Add panel timings which were previously added in DT:
[https://lore.kernel.org/all/[email protected]/]
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Vishnu Saini (2):
dt-bindings: display: simple: Add boe,dv215fhm-r01 compatible drm/panel: simple: Add BOE DV215FHM-R01 panel

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

---
base-commit: 104c00917264c5b9571072471e3a8689cd1a2c4d
change-id: 20260719-b4-lvds-panel-doc-cb503c4ba2be

Best regards,

Signature · 1 line
Vishnu Saini <[email protected]>
#1 lore raw

PATCH v3 1/2 dt-bindings: display: simple: Add boe,dv215fhm-r01 compatible

Add BOE DV215FHM-R01 21.5" FHD (1920x1080) dual-channel LVDS panel compatible string to the panel-simple-lvds-dual-ports binding.

---
 .../devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml +2 -0
index 8a2f6feafd37..68beb476fb48 100644
@@ -44,6 +44,8 @@ properties:
       - auo,t215hvn01
         # BOE AV123Z7M-N17 12.3" (1920x720) LVDS TFT LCD panel
       - boe,av123z7m-n17
+        # BOE DV215FHM-R01 21.5" FHD (1920x1080) dual-channel LVDS panel
+      - boe,dv215fhm-r01
         # InnoLux 15.6" FHD (1920x1080) TFT LCD panel
       - innolux,g156hce-l01
         # Kaohsiung Opto-Electronics Inc. 10.1" WUXGA (1920 x 1200) LVDS TFT LCD panel
Signature · 1 line
2.34.1
Acked-by on v3 1/2
#2 lore raw

Re: [PATCH v3 1/2] dt-bindings: display: simple: Add boe,dv215fhm-r01 compatible

Quoted 8 lines · Vishnu Saini

Add BOE DV215FHM-R01 21.5" FHD (1920x1080) dual-channel LVDS panel compatible string to the panel-simple-lvds-dual-ports binding.

---
 .../devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml | 2 ++
 1 file changed, 2 insertions(+)
#3 lore raw

PATCH v3 2/2 drm/panel: simple: Add BOE DV215FHM-R01 panel

In reply to Vishnu Saini

Add the BOE DV215FHM-R01 21.5" FHD (1920x1080) dual-channel LVDS panel.

---
 drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +28 -0
index 5c169fdf265c..d95f842c8980 100644
@@ -1563,6 +1563,31 @@ static const struct panel_desc boe_bp101wx1_100 = {
 	.connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
+static const struct display_timing boe_dv215fhm_r01_timing = {
+	.pixelclock = { 148500000, 148500000, 148500000 },
+	.hactive = { 1920, 1920, 1920 },
+	.hfront_porch = { 88, 88, 88 },
+	.hback_porch = { 148, 148, 148 },
+	.hsync_len = { 44, 44, 44 },
+	.vactive = { 1080, 1080, 1080 },
+	.vfront_porch = { 4, 4, 4 },
+	.vback_porch = { 36, 36, 36 },
+	.vsync_len = { 5, 5, 5 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc boe_dv215fhm_r01 = {
+	.timings = &boe_dv215fhm_r01_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 476,
+		.height = 268,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
 static const struct display_timing boe_ev121wxm_n10_1850_timing = {
 	.pixelclock = { 69922000, 71000000, 72293000 },
 	.hactive = { 1280, 1280, 1280 },
@@ -5726,6 +5751,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "boe,bp101wx1-100",
 		.data = &boe_bp101wx1_100,
+	}, {
+		.compatible = "boe,dv215fhm-r01",
+		.data = &boe_dv215fhm_r01,
 	}, {
 		.compatible = "boe,ev121wxm-n10-1850",
 		.data = &boe_ev121wxm_n10_1850,
Signature · 1 line
2.34.1
maintainer Reviewed-by on v3 2/2
#4 lore raw

Re: [PATCH v3 2/2] drm/panel: simple: Add BOE DV215FHM-R01 panel

Quoted 46 lines · Vishnu Saini

Add the BOE DV215FHM-R01 21.5" FHD (1920x1080) dual-channel LVDS panel.

---
  drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++
  1 file changed, 28 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +25 -0
index 5c169fdf265c..d95f842c8980 100644
@@ -1563,6 +1563,31 @@ static const struct panel_desc boe_bp101wx1_100 = {
  	.connector_type = DRM_MODE_CONNECTOR_LVDS,
  };
 
+static const struct display_timing boe_dv215fhm_r01_timing = {
+	.pixelclock = { 148500000, 148500000, 148500000 },
+	.hactive = { 1920, 1920, 1920 },
+	.hfront_porch = { 88, 88, 88 },
+	.hback_porch = { 148, 148, 148 },
+	.hsync_len = { 44, 44, 44 },
+	.vactive = { 1080, 1080, 1080 },
+	.vfront_porch = { 4, 4, 4 },
+	.vback_porch = { 36, 36, 36 },
+	.vsync_len = { 5, 5, 5 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc boe_dv215fhm_r01 = {
+	.timings = &boe_dv215fhm_r01_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 476,
+		.height = 268,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
  static const struct display_timing boe_ev121wxm_n10_1850_timing = {
  	.pixelclock = { 69922000, 71000000, 72293000 },
  	.hactive = { 1280, 1280, 1280 },

drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 5759

Quoted 9 lines
drivers/gpu/drm/panel/panel-simple.c +3 -0
@@ -5726,6 +5751,9 @@ static const struct of_device_id platform_of_match[] = {
  	}, {
  		.compatible = "boe,bp101wx1-100",
  		.data = &boe_bp101wx1_100,
+	}, {
+		.compatible = "boe,dv215fhm-r01",
+		.data = &boe_dv215fhm_r01,
  	}, {
  		.compatible = "boe,ev121wxm-n10-1850",
  		.data = &boe_ev121wxm_n10_1850,

Thanks,
Neil

#5 lore raw

Re: [PATCH v3 2/2] drm/panel: simple: Add BOE DV215FHM-R01 panel

Quoted 49 lines · Neil Armstrong
Quoted 48 lines · Vishnu Saini

Add the BOE DV215FHM-R01 21.5" FHD (1920x1080) dual-channel LVDS panel.

---
  drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++
  1 file changed, 28 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +26 -0
index 5c169fdf265c..d95f842c8980 100644
@@ -1563,6 +1563,31 @@ static const struct panel_desc boe_bp101wx1_100 = {
  	.connector_type = DRM_MODE_CONNECTOR_LVDS,
  };
+static const struct display_timing boe_dv215fhm_r01_timing = {
+	.pixelclock = { 148500000, 148500000, 148500000 },
+	.hactive = { 1920, 1920, 1920 },
+	.hfront_porch = { 88, 88, 88 },
+	.hback_porch = { 148, 148, 148 },
+	.hsync_len = { 44, 44, 44 },
+	.vactive = { 1080, 1080, 1080 },
+	.vfront_porch = { 4, 4, 4 },
+	.vback_porch = { 36, 36, 36 },
+	.vsync_len = { 5, 5, 5 },
+	.flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc boe_dv215fhm_r01 = {
+	.timings = &boe_dv215fhm_r01_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 476,
+		.height = 268,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
  static const struct display_timing boe_ev121wxm_n10_1850_timing = {
  	.pixelclock = { 69922000, 71000000, 72293000 },
  	.hactive = { 1280, 1280, 1280 },
@@ -5726,6 +5751,9 @@ static const struct of_device_id platform_of_match[] = {
  	}, {
  		.compatible = "boe,bp101wx1-100",
  		.data = &boe_bp101wx1_100,
+	}, {
Quoted 8 lines

drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 5759

Quoted 6 lines
drivers/gpu/drm/panel/panel-simple.c +2 -0
+		.compatible = "boe,dv215fhm-r01",
+		.data = &boe_dv215fhm_r01,
  	}, {
  		.compatible = "boe,ev121wxm-n10-1850",
  		.data = &boe_ev121wxm_n10_1850,

Thank you, will rebase it and submit next revision.

Quoted 2 lines

Thanks,
Neil