aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-12-17 04:54:02 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-03-19 05:03:07 -0400
commitd7977f888b83d29506a59bf3fbf6c36085a0b2b9 (patch)
tree446f773d6233ca5158056bc369afbc8ba27dba1e /drivers/video
parent2ecef24630f434e58bf3e5adb4d9bb76e50daf78 (diff)
OMAPDSS: Add DT support to DISPC
Add DT support to DISPC. Only thing needed 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/dispc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index 77d6221618f4..7c3e4ec1ae33 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -3780,12 +3780,20 @@ static const struct dev_pm_ops dispc_pm_ops = {
3780 .runtime_resume = dispc_runtime_resume, 3780 .runtime_resume = dispc_runtime_resume,
3781}; 3781};
3782 3782
3783static const struct of_device_id dispc_of_match[] = {
3784 { .compatible = "ti,omap2-dispc", },
3785 { .compatible = "ti,omap3-dispc", },
3786 { .compatible = "ti,omap4-dispc", },
3787 {},
3788};
3789
3783static struct platform_driver omap_dispchw_driver = { 3790static struct platform_driver omap_dispchw_driver = {
3784 .remove = __exit_p(omap_dispchw_remove), 3791 .remove = __exit_p(omap_dispchw_remove),
3785 .driver = { 3792 .driver = {
3786 .name = "omapdss_dispc", 3793 .name = "omapdss_dispc",
3787 .owner = THIS_MODULE, 3794 .owner = THIS_MODULE,
3788 .pm = &dispc_pm_ops, 3795 .pm = &dispc_pm_ops,
3796 .of_match_table = dispc_of_match,
3789 }, 3797 },
3790}; 3798};
3791 3799