]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAPDSS: Add DT support to HDMI
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 16 Dec 2013 13:14:04 +0000 (15:14 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 19 Mar 2014 09:03:07 +0000 (11:03 +0200)
Add DT support to HDMI driver. The only thing needed for DT support here
is the of_match_table.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/hdmi4.c

index ba6f02518ebef28d71d785e5eeb6b29aba790ac3..a2a4d955d71eed62fadf4743bbbabe3f41aaa317 100644 (file)
@@ -682,6 +682,11 @@ static const struct dev_pm_ops hdmi_pm_ops = {
        .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 = {
        .probe          = omapdss_hdmihw_probe,
        .remove         = __exit_p(omapdss_hdmihw_remove),
@@ -689,6 +694,7 @@ static struct platform_driver omapdss_hdmihw_driver = {
                .name   = "omapdss_hdmi",
                .owner  = THIS_MODULE,
                .pm     = &hdmi_pm_ops,
+               .of_match_table = hdmi_of_match,
        },
 };