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

Commit 0465616d authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

OMAPDSS: Add DT support to HDMI



Add DT support to HDMI driver. The only thing needed for DT support here
is the of_match_table.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: default avatarArchit Taneja <archit@ti.com>
parent d7977f88
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -682,6 +682,11 @@ static const struct dev_pm_ops hdmi_pm_ops = {
	.runtime_resume = hdmi_runtime_resume,
	.runtime_resume = hdmi_runtime_resume,
};
};


static const struct of_device_id hdmi_of_match[] = {
	{ .compatible = "ti,omap4-hdmi", },
	{},
};

static struct platform_driver omapdss_hdmihw_driver = {
static struct platform_driver omapdss_hdmihw_driver = {
	.probe		= omapdss_hdmihw_probe,
	.probe		= omapdss_hdmihw_probe,
	.remove         = __exit_p(omapdss_hdmihw_remove),
	.remove         = __exit_p(omapdss_hdmihw_remove),
@@ -689,6 +694,7 @@ static struct platform_driver omapdss_hdmihw_driver = {
		.name   = "omapdss_hdmi",
		.name   = "omapdss_hdmi",
		.owner  = THIS_MODULE,
		.owner  = THIS_MODULE,
		.pm	= &hdmi_pm_ops,
		.pm	= &hdmi_pm_ops,
		.of_match_table = hdmi_of_match,
	},
	},
};
};