drm/panel: Add BOE DV215FHM-R01 LVDS panel support
Subsystems (4)
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]>
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
@@ -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
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.
Signed-off-by Vishnu Saini <[email protected]>--- .../devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml | 2 ++ 1 file changed, 2 insertions(+)
PATCH v3 2/2 drm/panel: simple: Add BOE DV215FHM-R01 panel
In reply to Vishnu SainiAdd 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
@@ -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
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.
Signed-off-by Vishnu Saini <[email protected]>--- drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+)drivers/gpu/drm/panel/panel-simple.c +25
-0@@ -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
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.
Signed-off-by Vishnu Saini <[email protected]>--- drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+)drivers/gpu/drm/panel/panel-simple.c +26
-0@@ -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,Reviewed-by Neil Armstrong <[email protected]>
Thank you, will rebase it and submit next revision.
Quoted 2 lines
Thanks,
Neil