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

drm/panel: simple - Add AUO B133XTN01 panel support

This panel is used by nyan-big and can be supported by the simple-panel
driver.

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
[treding@nvidia.com: add device tree binding document]
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Stéphane Marchesin and committed by
Thierry Reding
a333f7ad d02fd93e

+32
+7
Documentation/devicetree/bindings/panel/auo,b133xtn01.txt
··· 1 + AU Optronics Corporation 13.3" WXGA (1366x768) TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "auo,b133xtn01" 5 + 6 + This binding is compatible with the simple-panel binding, which is specified 7 + in simple-panel.txt in this directory.
+25
drivers/gpu/drm/panel/panel-simple.c
··· 291 291 }, 292 292 }; 293 293 294 + static const struct drm_display_mode auo_b133xtn01_mode = { 295 + .clock = 69500, 296 + .hdisplay = 1366, 297 + .hsync_start = 1366 + 48, 298 + .hsync_end = 1366 + 48 + 32, 299 + .htotal = 1366 + 48 + 32 + 20, 300 + .vdisplay = 768, 301 + .vsync_start = 768 + 3, 302 + .vsync_end = 768 + 3 + 6, 303 + .vtotal = 768 + 3 + 6 + 13, 304 + .vrefresh = 60, 305 + }; 306 + 307 + static const struct panel_desc auo_b133xtn01 = { 308 + .modes = &auo_b133xtn01_mode, 309 + .num_modes = 1, 310 + .size = { 311 + .width = 293, 312 + .height = 165, 313 + }, 314 + }; 315 + 294 316 static const struct drm_display_mode chunghwa_claa101wa01a_mode = { 295 317 .clock = 72070, 296 318 .hdisplay = 1366, ··· 451 429 { 452 430 .compatible = "auo,b101aw03", 453 431 .data = &auo_b101aw03, 432 + }, { 433 + .compatible = "auo,b133xtn01", 434 + .data = &auo_b133xtn01, 454 435 }, { 455 436 .compatible = "chunghwa,claa101wa01a", 456 437 .data = &chunghwa_claa101wa01a