mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
drm/panel: simple: Add support for AUO B101EW05 1280x800 panel
The AUO B101EW05 panel is a 10.1" 1280(RGB)x800 WXGA TFT-LCD panel, connected using LVDS interfaces Change-Id: Ic67fe5793a975b585cecfb8da02e81cd9fa6346f Signed-off-by: Yakir Yang <ykk@rock-chips.com>
This commit is contained in:
@@ -440,6 +440,29 @@ static const struct panel_desc auo_b101ean01 = {
|
||||
},
|
||||
};
|
||||
|
||||
static const struct drm_display_mode auo_b101ew05_mode = {
|
||||
.clock = 71000,
|
||||
.hdisplay = 1280,
|
||||
.hsync_start = 1280 + 18,
|
||||
.hsync_end = 1280 + 18 + 10,
|
||||
.htotal = 1280 + 18 + 10 + 100,
|
||||
.vdisplay = 800,
|
||||
.vsync_start = 800 + 6,
|
||||
.vsync_end = 800 + 6 + 2,
|
||||
.vtotal = 800 + 6 + 2 + 8,
|
||||
.vrefresh = 60,
|
||||
};
|
||||
|
||||
static const struct panel_desc auo_b101ew05 = {
|
||||
.modes = &auo_b101ew05_mode,
|
||||
.num_modes = 1,
|
||||
.bpc = 6,
|
||||
.size = {
|
||||
.width = 217,
|
||||
.height = 136,
|
||||
},
|
||||
};
|
||||
|
||||
static const struct drm_display_mode auo_b101xtn01_mode = {
|
||||
.clock = 72000,
|
||||
.hdisplay = 1366,
|
||||
@@ -1196,6 +1219,9 @@ static const struct of_device_id platform_of_match[] = {
|
||||
}, {
|
||||
.compatible = "auo,b101ean01",
|
||||
.data = &auo_b101ean01,
|
||||
}, {
|
||||
.compatible = "auo,b101ew05",
|
||||
.data = &auo_b101ew05,
|
||||
}, {
|
||||
.compatible = "auo,b101xtn01",
|
||||
.data = &auo_b101xtn01,
|
||||
|
||||
Reference in New Issue
Block a user