Commit c1b9d4c7 authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Tomi Valkeinen

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: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent a942b3c2
...@@ -2,7 +2,7 @@ Toppoly TD028TTEC1 Panel ...@@ -2,7 +2,7 @@ Toppoly TD028TTEC1 Panel
======================== ========================
Required properties: Required properties:
- compatible: "toppoly,td028ttec1" - compatible: "tpo,td028ttec1"
Optional properties: Optional properties:
- label: a symbolic name for the panel - label: a symbolic name for the panel
...@@ -14,7 +14,7 @@ Example ...@@ -14,7 +14,7 @@ Example
------- -------
lcd-panel: td028ttec1@0 { lcd-panel: td028ttec1@0 {
compatible = "toppoly,td028ttec1"; compatible = "tpo,td028ttec1";
reg = <0>; reg = <0>;
spi-max-frequency = <100000>; spi-max-frequency = <100000>;
spi-cpol; spi-cpol;
......
...@@ -452,6 +452,8 @@ static int td028ttec1_panel_remove(struct spi_device *spi) ...@@ -452,6 +452,8 @@ static int td028ttec1_panel_remove(struct spi_device *spi)
} }
static const struct of_device_id td028ttec1_of_match[] = { static const struct of_device_id td028ttec1_of_match[] = {
{ .compatible = "omapdss,tpo,td028ttec1", },
/* keep to not break older DTB */
{ .compatible = "omapdss,toppoly,td028ttec1", }, { .compatible = "omapdss,toppoly,td028ttec1", },
{}, {},
}; };
...@@ -471,6 +473,7 @@ static struct spi_driver td028ttec1_spi_driver = { ...@@ -471,6 +473,7 @@ static struct spi_driver td028ttec1_spi_driver = {
module_spi_driver(td028ttec1_spi_driver); module_spi_driver(td028ttec1_spi_driver);
MODULE_ALIAS("spi:tpo,td028ttec1");
MODULE_ALIAS("spi:toppoly,td028ttec1"); MODULE_ALIAS("spi:toppoly,td028ttec1");
MODULE_AUTHOR("H. Nikolaus Schaller <hns@goldelico.com>"); MODULE_AUTHOR("H. Nikolaus Schaller <hns@goldelico.com>");
MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver"); MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver");
......
...@@ -455,6 +455,8 @@ static int td028ttec1_panel_remove(struct spi_device *spi) ...@@ -455,6 +455,8 @@ static int td028ttec1_panel_remove(struct spi_device *spi)
} }
static const struct of_device_id td028ttec1_of_match[] = { static const struct of_device_id td028ttec1_of_match[] = {
{ .compatible = "omapdss,tpo,td028ttec1", },
/* keep to not break older DTB */
{ .compatible = "omapdss,toppoly,td028ttec1", }, { .compatible = "omapdss,toppoly,td028ttec1", },
{}, {},
}; };
...@@ -474,6 +476,7 @@ static struct spi_driver td028ttec1_spi_driver = { ...@@ -474,6 +476,7 @@ static struct spi_driver td028ttec1_spi_driver = {
module_spi_driver(td028ttec1_spi_driver); module_spi_driver(td028ttec1_spi_driver);
MODULE_ALIAS("spi:tpo,td028ttec1");
MODULE_ALIAS("spi:toppoly,td028ttec1"); MODULE_ALIAS("spi:toppoly,td028ttec1");
MODULE_AUTHOR("H. Nikolaus Schaller <hns@goldelico.com>"); MODULE_AUTHOR("H. Nikolaus Schaller <hns@goldelico.com>");
MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver"); MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment