mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 15:17:07 +07:00
drm/panel: simple: Add support for AUO G190EAN01 panel
Add timings for the G190EAN01 dual channel LVDS panel. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200415172725.84257-2-sebastian.reichel@collabora.com
This commit is contained in:
parent
50de2e9ebb
commit
2f7b832fc9
@ -57,6 +57,8 @@ properties:
|
|||||||
- auo,g133han01
|
- auo,g133han01
|
||||||
# AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel
|
# AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel
|
||||||
- auo,g185han01
|
- auo,g185han01
|
||||||
|
# AU Optronics Corporation 19.0" (1280x1024) TFT LCD panel
|
||||||
|
- auo,g190ean01
|
||||||
# AU Optronics Corporation 31.5" FHD (1920x1080) TFT LCD panel
|
# AU Optronics Corporation 31.5" FHD (1920x1080) TFT LCD panel
|
||||||
- auo,p320hvn03
|
- auo,p320hvn03
|
||||||
# AU Optronics Corporation 21.5" FHD (1920x1080) color TFT LCD panel
|
# AU Optronics Corporation 21.5" FHD (1920x1080) color TFT LCD panel
|
||||||
|
@ -922,6 +922,36 @@ static const struct panel_desc auo_g185han01 = {
|
|||||||
.connector_type = DRM_MODE_CONNECTOR_LVDS,
|
.connector_type = DRM_MODE_CONNECTOR_LVDS,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct display_timing auo_g190ean01_timings = {
|
||||||
|
.pixelclock = { 90000000, 108000000, 135000000 },
|
||||||
|
.hactive = { 1280, 1280, 1280 },
|
||||||
|
.hfront_porch = { 126, 184, 1266 },
|
||||||
|
.hback_porch = { 84, 122, 844 },
|
||||||
|
.hsync_len = { 70, 102, 704 },
|
||||||
|
.vactive = { 1024, 1024, 1024 },
|
||||||
|
.vfront_porch = { 4, 26, 76 },
|
||||||
|
.vback_porch = { 2, 8, 25 },
|
||||||
|
.vsync_len = { 2, 8, 25 },
|
||||||
|
};
|
||||||
|
|
||||||
|
static const struct panel_desc auo_g190ean01 = {
|
||||||
|
.timings = &auo_g190ean01_timings,
|
||||||
|
.num_timings = 1,
|
||||||
|
.bpc = 8,
|
||||||
|
.size = {
|
||||||
|
.width = 376,
|
||||||
|
.height = 301,
|
||||||
|
},
|
||||||
|
.delay = {
|
||||||
|
.prepare = 50,
|
||||||
|
.enable = 200,
|
||||||
|
.disable = 110,
|
||||||
|
.unprepare = 1000,
|
||||||
|
},
|
||||||
|
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
|
||||||
|
.connector_type = DRM_MODE_CONNECTOR_LVDS,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct display_timing auo_p320hvn03_timings = {
|
static const struct display_timing auo_p320hvn03_timings = {
|
||||||
.pixelclock = { 106000000, 148500000, 164000000 },
|
.pixelclock = { 106000000, 148500000, 164000000 },
|
||||||
.hactive = { 1920, 1920, 1920 },
|
.hactive = { 1920, 1920, 1920 },
|
||||||
@ -3486,6 +3516,9 @@ static const struct of_device_id platform_of_match[] = {
|
|||||||
}, {
|
}, {
|
||||||
.compatible = "auo,g185han01",
|
.compatible = "auo,g185han01",
|
||||||
.data = &auo_g185han01,
|
.data = &auo_g185han01,
|
||||||
|
}, {
|
||||||
|
.compatible = "auo,g190ean01",
|
||||||
|
.data = &auo_g190ean01,
|
||||||
}, {
|
}, {
|
||||||
.compatible = "auo,p320hvn03",
|
.compatible = "auo,p320hvn03",
|
||||||
.data = &auo_p320hvn03,
|
.data = &auo_p320hvn03,
|
||||||
|
Loading…
Reference in New Issue
Block a user