Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel/simple: add optronics B101XTN01.0 (v3)

LVDS panel, make/model described as:

AU Optronics Corporation - B101XTN01.0 (H/W:0A)

See:
http://www.encore-electronic.com/media/B101XTN01.0.pdf

Tested with panel attached to an Inforce IFC6410 board.

Signed-off-by: Rob Clark <robdclark@gmail.com>

Rob Clark dac746e0 3e87599b

+34
+7
Documentation/devicetree/bindings/panel/auo,b101xtn01.txt
··· 1 + AU Optronics Corporation 10.1" WXGA TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "auo,b101xtn01" 5 + 6 + This binding is compatible with the simple-panel binding, which is specified 7 + in simple-panel.txt in this directory.
+27
drivers/gpu/drm/panel/panel-simple.c
··· 352 352 }, 353 353 }; 354 354 355 + static const struct drm_display_mode auo_b101xtn01_mode = { 356 + .clock = 72000, 357 + .hdisplay = 1366, 358 + .hsync_start = 1366 + 20, 359 + .hsync_end = 1366 + 20 + 70, 360 + .htotal = 1366 + 20 + 70, 361 + .vdisplay = 768, 362 + .vsync_start = 768 + 14, 363 + .vsync_end = 768 + 14 + 42, 364 + .vtotal = 768 + 14 + 42, 365 + .vrefresh = 60, 366 + .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC, 367 + }; 368 + 369 + static const struct panel_desc auo_b101xtn01 = { 370 + .modes = &auo_b101xtn01_mode, 371 + .num_modes = 1, 372 + .bpc = 6, 373 + .size = { 374 + .width = 223, 375 + .height = 125, 376 + }, 377 + }; 378 + 355 379 static const struct drm_display_mode auo_b133xtn01_mode = { 356 380 .clock = 69500, 357 381 .hdisplay = 1366, ··· 639 615 { 640 616 .compatible = "auo,b101aw03", 641 617 .data = &auo_b101aw03, 618 + }, { 619 + .compatible = "auo,b101xtn01", 620 + .data = &auo_b101xtn01, 642 621 }, { 643 622 .compatible = "auo,b133htn01", 644 623 .data = &auo_b133htn01,