Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31e8dfe1 authored by Grazvydas Ignotas's avatar Grazvydas Ignotas Committed by Tomi Valkeinen
Browse files

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: default avatarGrazvydas Ignotas <notasas@gmail.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 4b6430fc
Loading
Loading
Loading
Loading
+15 −0
Original line number Original line Diff line number Diff line
@@ -473,6 +473,18 @@ static void tpo_td043_remove(struct omap_dss_device *dssdev)
		gpio_free(nreset_gpio);
		gpio_free(nreset_gpio);
}
}


static void tpo_td043_set_timings(struct omap_dss_device *dssdev,
		struct omap_video_timings *timings)
{
	dpi_set_timings(dssdev, timings);
}

static int tpo_td043_check_timings(struct omap_dss_device *dssdev,
		struct omap_video_timings *timings)
{
	return dpi_check_timings(dssdev, timings);
}

static struct omap_dss_driver tpo_td043_driver = {
static struct omap_dss_driver tpo_td043_driver = {
	.probe		= tpo_td043_probe,
	.probe		= tpo_td043_probe,
	.remove		= tpo_td043_remove,
	.remove		= tpo_td043_remove,
@@ -484,6 +496,9 @@ static struct omap_dss_driver tpo_td043_driver = {
	.set_mirror	= tpo_td043_set_hmirror,
	.set_mirror	= tpo_td043_set_hmirror,
	.get_mirror	= tpo_td043_get_hmirror,
	.get_mirror	= tpo_td043_get_hmirror,


	.set_timings	= tpo_td043_set_timings,
	.check_timings	= tpo_td043_check_timings,

	.driver         = {
	.driver         = {
		.name	= "tpo_td043mtea1_panel",
		.name	= "tpo_td043mtea1_panel",
		.owner  = THIS_MODULE,
		.owner  = THIS_MODULE,