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

omapdrm: panel: fix compatible vendor string for td028ttec1

The vendor name was "toppoly" but other panels and the vendor list
have defined it as "tpo". So let's fix it in driver and bindings.

We keep the old definition in parallel to stay compatible with
potential older DTB setup.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

authored by

H. Nikolaus Schaller and committed by
Tomi Valkeinen
c1b9d4c7 a942b3c2

+8 -2
+2 -2
Documentation/devicetree/bindings/display/panel/toppoly,td028ttec1.txt Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt
··· 2 2 ======================== 3 3 4 4 Required properties: 5 - - compatible: "toppoly,td028ttec1" 5 + - compatible: "tpo,td028ttec1" 6 6 7 7 Optional properties: 8 8 - label: a symbolic name for the panel ··· 14 14 ------- 15 15 16 16 lcd-panel: td028ttec1@0 { 17 - compatible = "toppoly,td028ttec1"; 17 + compatible = "tpo,td028ttec1"; 18 18 reg = <0>; 19 19 spi-max-frequency = <100000>; 20 20 spi-cpol;
+3
drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c
··· 452 452 } 453 453 454 454 static const struct of_device_id td028ttec1_of_match[] = { 455 + { .compatible = "omapdss,tpo,td028ttec1", }, 456 + /* keep to not break older DTB */ 455 457 { .compatible = "omapdss,toppoly,td028ttec1", }, 456 458 {}, 457 459 }; ··· 473 471 474 472 module_spi_driver(td028ttec1_spi_driver); 475 473 474 + MODULE_ALIAS("spi:tpo,td028ttec1"); 476 475 MODULE_ALIAS("spi:toppoly,td028ttec1"); 477 476 MODULE_AUTHOR("H. Nikolaus Schaller <hns@goldelico.com>"); 478 477 MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver");
+3
drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c
··· 455 455 } 456 456 457 457 static const struct of_device_id td028ttec1_of_match[] = { 458 + { .compatible = "omapdss,tpo,td028ttec1", }, 459 + /* keep to not break older DTB */ 458 460 { .compatible = "omapdss,toppoly,td028ttec1", }, 459 461 {}, 460 462 }; ··· 476 474 477 475 module_spi_driver(td028ttec1_spi_driver); 478 476 477 + MODULE_ALIAS("spi:tpo,td028ttec1"); 479 478 MODULE_ALIAS("spi:toppoly,td028ttec1"); 480 479 MODULE_AUTHOR("H. Nikolaus Schaller <hns@goldelico.com>"); 481 480 MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver");