diff options
| author | Grazvydas Ignotas <notasas@gmail.com> | 2012-03-15 14:00:24 -0400 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-04-23 03:48:07 -0400 |
| commit | 31e8dfe14871f08d335e6884cb2b96f2679c1ebe (patch) | |
| tree | 6debaf9dcb5f8897593f0f18b0deff4fe1aaca7d | |
| parent | 4b6430fc98cfe051eab69f4696a608bba14ebd6c (diff) | |
OMAPDSS: TPO-TD03MTEA1: add set/check timing functions
On pandora we use .set_timings to alter refresh rate,
so add .check_timings/.set_timings functions.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
| -rw-r--r-- | drivers/video/omap2/displays/panel-tpo-td043mtea1.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c index 987cb8404c3e..4b6448b3c31f 100644 --- a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c +++ b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c | |||
| @@ -473,6 +473,18 @@ static void tpo_td043_remove(struct omap_dss_device *dssdev) | |||
| 473 | gpio_free(nreset_gpio); | 473 | gpio_free(nreset_gpio); |
| 474 | } | 474 | } |
| 475 | 475 | ||
| 476 | static void tpo_td043_set_timings(struct omap_dss_device *dssdev, | ||
| 477 | struct omap_video_timings *timings) | ||
| 478 | { | ||
| 479 | dpi_set_timings(dssdev, timings); | ||
| 480 | } | ||
| 481 | |||
| 482 | static int tpo_td043_check_timings(struct omap_dss_device *dssdev, | ||
| 483 | struct omap_video_timings *timings) | ||
| 484 | { | ||
| 485 | return dpi_check_timings(dssdev, timings); | ||
| 486 | } | ||
| 487 | |||
| 476 | static struct omap_dss_driver tpo_td043_driver = { | 488 | static struct omap_dss_driver tpo_td043_driver = { |
| 477 | .probe = tpo_td043_probe, | 489 | .probe = tpo_td043_probe, |
| 478 | .remove = tpo_td043_remove, | 490 | .remove = tpo_td043_remove, |
| @@ -484,6 +496,9 @@ static struct omap_dss_driver tpo_td043_driver = { | |||
| 484 | .set_mirror = tpo_td043_set_hmirror, | 496 | .set_mirror = tpo_td043_set_hmirror, |
| 485 | .get_mirror = tpo_td043_get_hmirror, | 497 | .get_mirror = tpo_td043_get_hmirror, |
| 486 | 498 | ||
| 499 | .set_timings = tpo_td043_set_timings, | ||
| 500 | .check_timings = tpo_td043_check_timings, | ||
| 501 | |||
| 487 | .driver = { | 502 | .driver = { |
| 488 | .name = "tpo_td043mtea1_panel", | 503 | .name = "tpo_td043mtea1_panel", |
| 489 | .owner = THIS_MODULE, | 504 | .owner = THIS_MODULE, |
