aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-12-16 08:14:04 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-03-19 05:03:07 -0400
commit0465616d34e928ed0041f37b507cb1fa0b41372d (patch)
tree2e2dab4c8c9b338ddccbaaf278f1d03fccccef47 /drivers/video
parentd7977f888b83d29506a59bf3fbf6c36085a0b2b9 (diff)
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: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/omap2/dss/hdmi4.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/hdmi4.c b/drivers/video/omap2/dss/hdmi4.c
index ba6f02518ebe..a2a4d955d71e 100644
--- a/drivers/video/omap2/dss/hdmi4.c
+++ b/drivers/video/omap2/dss/hdmi4.c
@@ -682,6 +682,11 @@ static const struct dev_pm_ops hdmi_pm_ops = {
682 .runtime_resume = hdmi_runtime_resume, 682 .runtime_resume = hdmi_runtime_resume,
683}; 683};
684 684
685static const struct of_device_id hdmi_of_match[] = {
686 { .compatible = "ti,omap4-hdmi", },
687 {},
688};
689
685static struct platform_driver omapdss_hdmihw_driver = { 690static struct platform_driver omapdss_hdmihw_driver = {
686 .probe = omapdss_hdmihw_probe, 691 .probe = omapdss_hdmihw_probe,
687 .remove = __exit_p(omapdss_hdmihw_remove), 692 .remove = __exit_p(omapdss_hdmihw_remove),
@@ -689,6 +694,7 @@ static struct platform_driver omapdss_hdmihw_driver = {
689 .name = "omapdss_hdmi", 694 .name = "omapdss_hdmi",
690 .owner = THIS_MODULE, 695 .owner = THIS_MODULE,
691 .pm = &hdmi_pm_ops, 696 .pm = &hdmi_pm_ops,
697 .of_match_table = hdmi_of_match,
692 }, 698 },
693}; 699};
694 700