Skip to content

Commit 4fb8640

Browse files
alexggthierryreding
authored andcommitted
drm/panel: simple: Add AUO G101EVN010 panel support
The change adds support for the AU Optronics G101EVN010 10.1" TFT LCD panel. Signed-off-by: Alex Gonzalez <[email protected]> Reviewed-by: Rob Herring <[email protected]> [[email protected]: sort new entry alphabetically] Signed-off-by: Thierry Reding <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 3a936bc commit 4fb8640

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
AU Optronics Corporation 10.1" (1280x800) color TFT LCD panel
2+
3+
Required properties:
4+
- compatible: should be "auo,g101evn010"
5+
- power-supply: as specified in the base binding
6+
7+
Optional properties:
8+
- backlight: as specified in the base binding
9+
- enable-gpios: as specified in the base binding
10+
11+
This binding is compatible with the simple-panel binding, which is specified
12+
in simple-panel.txt in this directory.

drivers/gpu/drm/panel/panel-simple.c

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,30 @@ static const struct panel_desc auo_g070vvn01 = {
618618
},
619619
};
620620

621+
static const struct drm_display_mode auo_g101evn010_mode = {
622+
.clock = 68930,
623+
.hdisplay = 1280,
624+
.hsync_start = 1280 + 82,
625+
.hsync_end = 1280 + 82 + 2,
626+
.htotal = 1280 + 82 + 2 + 84,
627+
.vdisplay = 800,
628+
.vsync_start = 800 + 8,
629+
.vsync_end = 800 + 8 + 2,
630+
.vtotal = 800 + 8 + 2 + 6,
631+
.vrefresh = 60,
632+
};
633+
634+
static const struct panel_desc auo_g101evn010 = {
635+
.modes = &auo_g101evn010_mode,
636+
.num_modes = 1,
637+
.bpc = 6,
638+
.size = {
639+
.width = 216,
640+
.height = 135,
641+
},
642+
.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
643+
};
644+
621645
static const struct drm_display_mode auo_g104sn02_mode = {
622646
.clock = 40000,
623647
.hdisplay = 800,
@@ -2493,6 +2517,9 @@ static const struct of_device_id platform_of_match[] = {
24932517
}, {
24942518
.compatible = "auo,g070vvn01",
24952519
.data = &auo_g070vvn01,
2520+
}, {
2521+
.compatible = "auo,g101evn010",
2522+
.data = &auo_g101evn010,
24962523
}, {
24972524
.compatible = "auo,g104sn02",
24982525
.data = &auo_g104sn02,

0 commit comments

Comments
 (0)