dt-bindings: display: simple: Add Innolux G150XGE-L05 panel
Subsystems (4)
PATCH 1/2 dt-bindings: display: simple: Add Innolux G150XGE-L05 panel
From: Fabio Estevam <[email protected]>
Add Innolux G150XGE-L05 15.0" TFT 1024x768 LVDS panel compatible string.
Signed-off-by Fabio Estevam <[email protected]>
--- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +2 -0
@@ -182,6 +182,8 @@ properties: - innolux,g156hce-l01 # InnoLux 13.3" FHD (1920x1080) TFT LCD panel - innolux,n133hse-ea1 + # InnoLux 15.0" G150XGE-l05 XGA (1024x768) TFT LCD panel + - innolux,g150xge-l05 # InnoLux 15.6" WXGA TFT LCD panel - innolux,n156bge-l21 # Innolux Corporation 7.0" WSVGA (1024x600) TFT LCD panel
Signature · 1 line
2.34.1
PATCH 2/2 drm/panel: simple: Add Innolux G150XGE-L05 panel entry
From: Fabio Estevam <[email protected]>
Add support for the Innolux G150XGE-L05 15.0" TFT 1024x768 LVDS panel.
Signed-off-by Fabio Estevam <[email protected]>
--- drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +29 -0
@@ -2836,6 +2836,32 @@ static const struct panel_desc innolux_g121xce_l01 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct display_timing innolux_g150xge_l05_timing = { + .pixelclock = {53350000 ,65000000 ,80000000 }, + .hactive = {1024 ,1024 ,1024 }, + .hfront_porch = {58 ,160 ,288 }, + .hback_porch = {58 ,160 ,288 }, + .hsync_len = {1 ,1 ,1 }, + .vactive = {768 ,768 ,768 }, + .vfront_porch = {6 ,19 ,216 }, + .vback_porch = {6 ,19 ,216 }, + .vsync_len = {1 ,1 ,1 }, + .flags =DISPLAY_FLAGS_DE_HIGH , +}; + +static const struct panel_desc innolux_g150xge_l05 = { + .timings = &innolux_g150xge_l05_timing, + .num_timings =1 , + .bpc =8 , + .size = { + .width =304 , + .height =228 , + }, + .bus_format =MEDIA_BUS_FMT_RGB888_1X7X4_SPWG , + .bus_flags =DRM_BUS_FLAG_DE_HIGH , + .connector_type =DRM_MODE_CONNECTOR_LVDS , +}; +static const struct display_timing innolux_g156hce_l01_timings = { .pixelclock = {120000000 ,141860000 ,150000000 }, .hactive = {1920 ,1920 ,1920 },
@@ -5314,6 +5340,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,g121xce-l01", .data = &innolux_g121xce_l01, + }, { + .compatible = "innolux,g150xge-l05", + .data = &innolux_g150xge_l05, }, { .compatible = "innolux,g156hce-l01", .data = &innolux_g156hce_l01,
Signature · 1 line
2.34.1
Quoted 14 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Add Innolux G150XGE-L05 15.0" TFT 1024x768 LVDS panel compatible string.
Signed-off-by Fabio Estevam <[email protected]>--- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/display/panel/panel-simple.yaml +0
-0
Documentation/devicetree/bindings/display/panel/panel-simple.yaml properties: · line 186
Quoted 5 lines
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +2
-0@@ -182,6 +182,8 @@ properties: - innolux,g156hce-l01 # InnoLux 13.3" FHD (1920x1080) TFT LCD panel - innolux,n133hse-ea1 + # InnoLux 15.0" G150XGE-l05 XGA (1024x768) TFT LCD panel + - innolux,g150xge-l0
g < n
g150 < g156, at least that is what is visible in the diff. Please keep things sorted.
Best regards,
Krzysztof