dt-bindings: display: simple: Add YTS700TLBC-02-100C and G104AGE-L02
Subsystems (4)
PATCH 1/3 dt-bindings: display: simple: Add YTS700TLBC-02-100C and G104AGE-L02
Adds these panels to the dt bindings:
- Yes Optoelectronics YTS700TLBC-02-100C
- Innolux G104AGE-L02
Signed-off-by Mike Looijmans <[email protected]>
--- .../devicetree/bindings/display/panel/panel-simple.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +4 -0
@@ -156,6 +156,8 @@ properties: - innolux,g070y2-l01 # Innolux Corporation 10.1" G101ICE-L01 WXGA (1280x800) LVDS panel - innolux,g101ice-l01 + # Innolux Corporation 7" G104AGE-L02 (800x600) LVDS panel + - innolux,g104age-l02 # Innolux Corporation 12.1" WXGA (1280x800) TFT LCD panel - innolux,g121i1-l01 # Innolux Corporation 12.1" G121X1-L03 XGA (1024x768) TFT LCD panel
@@ -293,6 +295,8 @@ properties: - winstar,wf35ltiacd # Yes Optoelectronics YTC700TLAG-05-201C 7" TFT LCD panel - yes-optoelectronics,ytc700tlag-05-201c + # Yes Optoelectronics YTS700TLBC-02-100C (1024x600) TFT LCD panel + - yes-optoelectronics,yts700tlbc-02-100c backlight: true enable-gpios: true
Signature · 1 line
2.17.1
PATCH 2/3 drm/panel: Add Innolux G104AGE-L02 to panel-simple
Adds support for the Innolux G104AGE-L02 which is a 800x600 TFT display panel with LVDS interface.
Signed-off-by Mike Looijmans <[email protected]>
--- drivers/gpu/drm/panel/panel-simple.c | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +34 -0
@@ -2352,6 +2352,37 @@ static const struct panel_desc innolux_g101ice_l01 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct display_timing innolux_g104age_l02_timing = { + .pixelclock = {30000000 ,41666666 ,50000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {80 ,128 ,130 }, + .hback_porch = {79 ,127 ,129 }, + .hsync_len = {1 ,1 ,1 }, + .vactive = {600 ,600 ,600 }, + .vfront_porch = {4 ,29 ,212 }, + .vback_porch = {3 ,28 ,211 }, + .vsync_len = {1 ,1 ,1 }, + .flags =DISPLAY_FLAGS_DE_HIGH | +DISPLAY_FLAGS_HSYNC_HIGH | +DISPLAY_FLAGS_VSYNC_HIGH , +}; + +static const struct panel_desc innolux_g104age_l02 = { + .timings = &innolux_g104age_l02_timing, + .num_timings =1 , + .bpc =8 , + .size = { + .width =211 ,/* 211.2 X 158.4(mm) */ + .height =158 , + }, + .delay = { + .enable =200 , + .disable =200 , + }, + .bus_format =MEDIA_BUS_FMT_RGB888_1X7X4_SPWG , + .connector_type =DRM_MODE_CONNECTOR_LVDS , +}; +static const struct display_timing innolux_g121i1_l01_timing = { .pixelclock = {67450000 ,71000000 ,74550000 }, .hactive = {1280 ,1280 ,1280 },
@@ -4347,6 +4378,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,g101ice-l01", .data = &innolux_g101ice_l01 + }, { + .compatible = "innolux,g104age-l02", + .data = &innolux_g104age_l02 }, { .compatible ="innolux,g121i1-l01" , .data = &innolux_g121i1_l01
Signature · 1 line
2.17.1
PATCH 3/3 drm/panel: Add Yes Optoelectronics YTS700TLBC-02-100C to panel-simple
In reply to Mike LooijmansAdds support for the Yes YTS700TLBC-02-100C which is a 1024x600 TFT display panel with LVDS interface.
Signed-off-by Mike Looijmans <[email protected]>
--- drivers/gpu/drm/panel/panel-simple.c | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +30 -0
@@ -4139,6 +4139,33 @@ static const struct panel_desc winstar_wf35ltiacd = { .bus_format = MEDIA_BUS_FMT_RGB888_1X24, }; +static const struct display_timing yes_optoelectronics_yts700tlbc_02_100c_timing = { + .pixelclock = {40800000 ,50000000 ,67200000 }, + .hactive = {1024 ,1024 ,1024 }, + .hfront_porch = {16 ,127 ,216 }, + .hback_porch = {160 ,160 ,160 }, + .hsync_len = {1 ,1 ,1 }, + .vactive = {600 ,600 ,600 }, + .vfront_porch = {1 ,11 ,127 }, + .vback_porch = {23 ,23 ,23 }, + .vsync_len = {1 ,1 ,1 }, + .flags =DISPLAY_FLAGS_DE_HIGH | +DISPLAY_FLAGS_HSYNC_LOW | +DISPLAY_FLAGS_VSYNC_LOW , +}; + +static const struct panel_desc yes_optoelectronics_yts700tlbc_02_100c = { + .timings = &yes_optoelectronics_yts700tlbc_02_100c_timing, + .num_timings =1 , + .bpc =8 , + .size = { + .width =154 , + .height =86 , + }, + .bus_format =MEDIA_BUS_FMT_RGB888_1X7X4_SPWG , + .connector_type =DRM_MODE_CONNECTOR_LVDS , +}; +static const struct drm_display_mode yes_optoelectronics_ytc700tlag_05_201c_mode = { .clock =51200 , .hdisplay =1024 ,
@@ -4606,6 +4633,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "yes-optoelectronics,ytc700tlag-05-201c", .data = &yes_optoelectronics_ytc700tlag_05_201c, + }, { + .compatible = "yes-optoelectronics,yts700tlbc-02-100c", + .data = &yes_optoelectronics_yts700tlbc_02_100c, }, { /* Must be the last entry */ .compatible = "panel-dpi",
Signature · 1 line
2.17.1
Quoted 9 lines · Mike Looijmans
Adds these panels to the dt bindings:
- Yes Optoelectronics YTS700TLBC-02-100C
- Innolux G104AGE-L02Signed-off-by Mike Looijmans <[email protected]>--- .../devicetree/bindings/display/panel/panel-simple.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Acked-by Rob Herring <[email protected]>