blob: 1e8f273f7c8bc505a45e146f3ef9bda474440653 [file] [log] [blame]
Rob Clark16ea9752013-01-08 15:04:28 -06001/*
2 * Copyright (C) 2012 Texas Instruments
3 * Author: Rob Clark <robdclark@gmail.com>
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18/* LCDC DRM driver, based on da8xx-fb */
19
20#include "tilcdc_drv.h"
21#include "tilcdc_regs.h"
22#include "tilcdc_tfp410.h"
Rob Clark6e8de0bd2013-01-22 16:02:21 -060023#include "tilcdc_slave.h"
Rob Clark0d4bbaf2012-12-18 17:34:16 -060024#include "tilcdc_panel.h"
Rob Clark16ea9752013-01-08 15:04:28 -060025
26#include "drm_fb_helper.h"
27
28static LIST_HEAD(module_list);
29
30void tilcdc_module_init(struct tilcdc_module *mod, const char *name,
31 const struct tilcdc_module_ops *funcs)
32{
33 mod->name = name;
34 mod->funcs = funcs;
35 INIT_LIST_HEAD(&mod->list);
36 list_add(&mod->list, &module_list);
37}
38
39void tilcdc_module_cleanup(struct tilcdc_module *mod)
40{
41 list_del(&mod->list);
42}
43
44static struct of_device_id tilcdc_of_match[];
45
46static struct drm_framebuffer *tilcdc_fb_create(struct drm_device *dev,
47 struct drm_file *file_priv, struct drm_mode_fb_cmd2 *mode_cmd)
48{
49 return drm_fb_cma_create(dev, file_priv, mode_cmd);
50}
51
52static void tilcdc_fb_output_poll_changed(struct drm_device *dev)
53{
54 struct tilcdc_drm_private *priv = dev->dev_private;
55 if (priv->fbdev)
56 drm_fbdev_cma_hotplug_event(priv->fbdev);
57}
58
59static const struct drm_mode_config_funcs mode_config_funcs = {
60 .fb_create = tilcdc_fb_create,
61 .output_poll_changed = tilcdc_fb_output_poll_changed,
62};
63
64static int modeset_init(struct drm_device *dev)
65{
66 struct tilcdc_drm_private *priv = dev->dev_private;
67 struct tilcdc_module *mod;
68
69 drm_mode_config_init(dev);
70
71 priv->crtc = tilcdc_crtc_create(dev);
72
73 list_for_each_entry(mod, &module_list, list) {
74 DBG("loading module: %s", mod->name);
75 mod->funcs->modeset_init(mod, dev);
76 }
77
Sachin Kamat9e488542013-03-02 15:53:06 +053078 if ((priv->num_encoders == 0) || (priv->num_connectors == 0)) {
Rob Clark16ea9752013-01-08 15:04:28 -060079 /* oh nos! */
80 dev_err(dev->dev, "no encoders/connectors found\n");
81 return -ENXIO;
82 }
83
84 dev->mode_config.min_width = 0;
85 dev->mode_config.min_height = 0;
86 dev->mode_config.max_width = tilcdc_crtc_max_width(priv->crtc);
87 dev->mode_config.max_height = 2048;
88 dev->mode_config.funcs = &mode_config_funcs;
89
90 return 0;
91}
92
93#ifdef CONFIG_CPU_FREQ
94static int cpufreq_transition(struct notifier_block *nb,
95 unsigned long val, void *data)
96{
97 struct tilcdc_drm_private *priv = container_of(nb,
98 struct tilcdc_drm_private, freq_transition);
99 if (val == CPUFREQ_POSTCHANGE) {
100 if (priv->lcd_fck_rate != clk_get_rate(priv->clk)) {
101 priv->lcd_fck_rate = clk_get_rate(priv->clk);
102 tilcdc_crtc_update_clk(priv->crtc);
103 }
104 }
105
106 return 0;
107}
108#endif
109
110/*
111 * DRM operations:
112 */
113
114static int tilcdc_unload(struct drm_device *dev)
115{
116 struct tilcdc_drm_private *priv = dev->dev_private;
117 struct tilcdc_module *mod, *cur;
118
119 drm_kms_helper_poll_fini(dev);
120 drm_mode_config_cleanup(dev);
121 drm_vblank_cleanup(dev);
122
123 pm_runtime_get_sync(dev->dev);
124 drm_irq_uninstall(dev);
125 pm_runtime_put_sync(dev->dev);
126
127#ifdef CONFIG_CPU_FREQ
128 cpufreq_unregister_notifier(&priv->freq_transition,
129 CPUFREQ_TRANSITION_NOTIFIER);
130#endif
131
132 if (priv->clk)
133 clk_put(priv->clk);
134
135 if (priv->mmio)
136 iounmap(priv->mmio);
137
138 flush_workqueue(priv->wq);
139 destroy_workqueue(priv->wq);
140
141 dev->dev_private = NULL;
142
143 pm_runtime_disable(dev->dev);
144
145 list_for_each_entry_safe(mod, cur, &module_list, list) {
146 DBG("destroying module: %s", mod->name);
147 mod->funcs->destroy(mod);
148 }
149
150 kfree(priv);
151
152 return 0;
153}
154
155static int tilcdc_load(struct drm_device *dev, unsigned long flags)
156{
157 struct platform_device *pdev = dev->platformdev;
158 struct device_node *node = pdev->dev.of_node;
159 struct tilcdc_drm_private *priv;
Benoit Parrotdc28aa02013-06-18 17:18:31 -0500160 struct tilcdc_module *mod;
Rob Clark16ea9752013-01-08 15:04:28 -0600161 struct resource *res;
Benoit Parrotdc28aa02013-06-18 17:18:31 -0500162 u32 bpp = 0;
Rob Clark16ea9752013-01-08 15:04:28 -0600163 int ret;
164
165 priv = kzalloc(sizeof(*priv), GFP_KERNEL);
166 if (!priv) {
167 dev_err(dev->dev, "failed to allocate private data\n");
168 return -ENOMEM;
169 }
170
171 dev->dev_private = priv;
172
173 priv->wq = alloc_ordered_workqueue("tilcdc", 0);
174
175 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
176 if (!res) {
177 dev_err(dev->dev, "failed to get memory resource\n");
178 ret = -EINVAL;
179 goto fail;
180 }
181
182 priv->mmio = ioremap_nocache(res->start, resource_size(res));
183 if (!priv->mmio) {
184 dev_err(dev->dev, "failed to ioremap\n");
185 ret = -ENOMEM;
186 goto fail;
187 }
188
189 priv->clk = clk_get(dev->dev, "fck");
190 if (IS_ERR(priv->clk)) {
191 dev_err(dev->dev, "failed to get functional clock\n");
192 ret = -ENODEV;
193 goto fail;
194 }
195
196 priv->disp_clk = clk_get(dev->dev, "dpll_disp_ck");
197 if (IS_ERR(priv->clk)) {
198 dev_err(dev->dev, "failed to get display clock\n");
199 ret = -ENODEV;
200 goto fail;
201 }
202
203#ifdef CONFIG_CPU_FREQ
204 priv->lcd_fck_rate = clk_get_rate(priv->clk);
205 priv->freq_transition.notifier_call = cpufreq_transition;
206 ret = cpufreq_register_notifier(&priv->freq_transition,
207 CPUFREQ_TRANSITION_NOTIFIER);
208 if (ret) {
209 dev_err(dev->dev, "failed to register cpufreq notifier\n");
210 goto fail;
211 }
212#endif
213
214 if (of_property_read_u32(node, "max-bandwidth", &priv->max_bandwidth))
Darren Etheridge4e564342013-06-21 13:52:23 -0500215 priv->max_bandwidth = TILCDC_DEFAULT_MAX_BANDWIDTH;
216
217 DBG("Maximum Bandwidth Value %d", priv->max_bandwidth);
218
219 if (of_property_read_u32(node, "ti,max-width", &priv->max_width))
220 priv->max_width = TILCDC_DEFAULT_MAX_WIDTH;
221
222 DBG("Maximum Horizontal Pixel Width Value %dpixels", priv->max_width);
223
224 if (of_property_read_u32(node, "ti,max-pixelclock",
225 &priv->max_pixelclock))
226 priv->max_pixelclock = TILCDC_DEFAULT_MAX_PIXELCLOCK;
227
228 DBG("Maximum Pixel Clock Value %dKHz", priv->max_pixelclock);
Rob Clark16ea9752013-01-08 15:04:28 -0600229
230 pm_runtime_enable(dev->dev);
231
232 /* Determine LCD IP Version */
233 pm_runtime_get_sync(dev->dev);
234 switch (tilcdc_read(dev, LCDC_PID_REG)) {
235 case 0x4c100102:
236 priv->rev = 1;
237 break;
238 case 0x4f200800:
239 case 0x4f201000:
240 priv->rev = 2;
241 break;
242 default:
243 dev_warn(dev->dev, "Unknown PID Reg value 0x%08x, "
244 "defaulting to LCD revision 1\n",
245 tilcdc_read(dev, LCDC_PID_REG));
246 priv->rev = 1;
247 break;
248 }
249
250 pm_runtime_put_sync(dev->dev);
251
252 ret = modeset_init(dev);
253 if (ret < 0) {
254 dev_err(dev->dev, "failed to initialize mode setting\n");
255 goto fail;
256 }
257
258 ret = drm_vblank_init(dev, 1);
259 if (ret < 0) {
260 dev_err(dev->dev, "failed to initialize vblank\n");
261 goto fail;
262 }
263
264 pm_runtime_get_sync(dev->dev);
265 ret = drm_irq_install(dev);
266 pm_runtime_put_sync(dev->dev);
267 if (ret < 0) {
268 dev_err(dev->dev, "failed to install IRQ handler\n");
269 goto fail;
270 }
271
272 platform_set_drvdata(pdev, dev);
273
Benoit Parrotdc28aa02013-06-18 17:18:31 -0500274
275 list_for_each_entry(mod, &module_list, list) {
276 DBG("%s: preferred_bpp: %d", mod->name, mod->preferred_bpp);
277 bpp = mod->preferred_bpp;
278 if (bpp > 0)
279 break;
280 }
281
282 priv->fbdev = drm_fbdev_cma_init(dev, bpp,
Rob Clark16ea9752013-01-08 15:04:28 -0600283 dev->mode_config.num_crtc,
284 dev->mode_config.num_connector);
285
286 drm_kms_helper_poll_init(dev);
287
288 return 0;
289
290fail:
291 tilcdc_unload(dev);
292 return ret;
293}
294
295static void tilcdc_preclose(struct drm_device *dev, struct drm_file *file)
296{
297 struct tilcdc_drm_private *priv = dev->dev_private;
298
299 tilcdc_crtc_cancel_page_flip(priv->crtc, file);
300}
301
302static void tilcdc_lastclose(struct drm_device *dev)
303{
304 struct tilcdc_drm_private *priv = dev->dev_private;
305 drm_fbdev_cma_restore_mode(priv->fbdev);
306}
307
308static irqreturn_t tilcdc_irq(DRM_IRQ_ARGS)
309{
310 struct drm_device *dev = arg;
311 struct tilcdc_drm_private *priv = dev->dev_private;
312 return tilcdc_crtc_irq(priv->crtc);
313}
314
315static void tilcdc_irq_preinstall(struct drm_device *dev)
316{
317 tilcdc_clear_irqstatus(dev, 0xffffffff);
318}
319
320static int tilcdc_irq_postinstall(struct drm_device *dev)
321{
322 struct tilcdc_drm_private *priv = dev->dev_private;
323
324 /* enable FIFO underflow irq: */
Sachin Kamata50b24f2013-03-02 15:53:07 +0530325 if (priv->rev == 1)
Rob Clark16ea9752013-01-08 15:04:28 -0600326 tilcdc_set(dev, LCDC_RASTER_CTRL_REG, LCDC_V1_UNDERFLOW_INT_ENA);
Sachin Kamata50b24f2013-03-02 15:53:07 +0530327 else
Rob Clark16ea9752013-01-08 15:04:28 -0600328 tilcdc_set(dev, LCDC_INT_ENABLE_SET_REG, LCDC_V2_UNDERFLOW_INT_ENA);
Rob Clark16ea9752013-01-08 15:04:28 -0600329
330 return 0;
331}
332
333static void tilcdc_irq_uninstall(struct drm_device *dev)
334{
335 struct tilcdc_drm_private *priv = dev->dev_private;
336
337 /* disable irqs that we might have enabled: */
338 if (priv->rev == 1) {
339 tilcdc_clear(dev, LCDC_RASTER_CTRL_REG,
340 LCDC_V1_UNDERFLOW_INT_ENA | LCDC_V1_PL_INT_ENA);
341 tilcdc_clear(dev, LCDC_DMA_CTRL_REG, LCDC_V1_END_OF_FRAME_INT_ENA);
342 } else {
343 tilcdc_clear(dev, LCDC_INT_ENABLE_SET_REG,
344 LCDC_V2_UNDERFLOW_INT_ENA | LCDC_V2_PL_INT_ENA |
345 LCDC_V2_END_OF_FRAME0_INT_ENA | LCDC_V2_END_OF_FRAME1_INT_ENA |
346 LCDC_FRAME_DONE);
347 }
348
349}
350
351static void enable_vblank(struct drm_device *dev, bool enable)
352{
353 struct tilcdc_drm_private *priv = dev->dev_private;
354 u32 reg, mask;
355
356 if (priv->rev == 1) {
357 reg = LCDC_DMA_CTRL_REG;
358 mask = LCDC_V1_END_OF_FRAME_INT_ENA;
359 } else {
360 reg = LCDC_INT_ENABLE_SET_REG;
361 mask = LCDC_V2_END_OF_FRAME0_INT_ENA |
362 LCDC_V2_END_OF_FRAME1_INT_ENA | LCDC_FRAME_DONE;
363 }
364
365 if (enable)
366 tilcdc_set(dev, reg, mask);
367 else
368 tilcdc_clear(dev, reg, mask);
369}
370
371static int tilcdc_enable_vblank(struct drm_device *dev, int crtc)
372{
373 enable_vblank(dev, true);
374 return 0;
375}
376
377static void tilcdc_disable_vblank(struct drm_device *dev, int crtc)
378{
379 enable_vblank(dev, false);
380}
381
382#if defined(CONFIG_DEBUG_FS) || defined(CONFIG_PM_SLEEP)
383static const struct {
384 const char *name;
385 uint8_t rev;
386 uint8_t save;
387 uint32_t reg;
Sachin Kamat32501452013-03-02 15:53:08 +0530388} registers[] = {
Rob Clark16ea9752013-01-08 15:04:28 -0600389#define REG(rev, save, reg) { #reg, rev, save, reg }
390 /* exists in revision 1: */
391 REG(1, false, LCDC_PID_REG),
392 REG(1, true, LCDC_CTRL_REG),
393 REG(1, false, LCDC_STAT_REG),
394 REG(1, true, LCDC_RASTER_CTRL_REG),
395 REG(1, true, LCDC_RASTER_TIMING_0_REG),
396 REG(1, true, LCDC_RASTER_TIMING_1_REG),
397 REG(1, true, LCDC_RASTER_TIMING_2_REG),
398 REG(1, true, LCDC_DMA_CTRL_REG),
399 REG(1, true, LCDC_DMA_FB_BASE_ADDR_0_REG),
400 REG(1, true, LCDC_DMA_FB_CEILING_ADDR_0_REG),
401 REG(1, true, LCDC_DMA_FB_BASE_ADDR_1_REG),
402 REG(1, true, LCDC_DMA_FB_CEILING_ADDR_1_REG),
403 /* new in revision 2: */
404 REG(2, false, LCDC_RAW_STAT_REG),
405 REG(2, false, LCDC_MASKED_STAT_REG),
406 REG(2, false, LCDC_INT_ENABLE_SET_REG),
407 REG(2, false, LCDC_INT_ENABLE_CLR_REG),
408 REG(2, false, LCDC_END_OF_INT_IND_REG),
409 REG(2, true, LCDC_CLK_ENABLE_REG),
410 REG(2, true, LCDC_INT_ENABLE_SET_REG),
411#undef REG
412};
413#endif
414
415#ifdef CONFIG_DEBUG_FS
416static int tilcdc_regs_show(struct seq_file *m, void *arg)
417{
418 struct drm_info_node *node = (struct drm_info_node *) m->private;
419 struct drm_device *dev = node->minor->dev;
420 struct tilcdc_drm_private *priv = dev->dev_private;
421 unsigned i;
422
423 pm_runtime_get_sync(dev->dev);
424
425 seq_printf(m, "revision: %d\n", priv->rev);
426
427 for (i = 0; i < ARRAY_SIZE(registers); i++)
428 if (priv->rev >= registers[i].rev)
429 seq_printf(m, "%s:\t %08x\n", registers[i].name,
430 tilcdc_read(dev, registers[i].reg));
431
432 pm_runtime_put_sync(dev->dev);
433
434 return 0;
435}
436
437static int tilcdc_mm_show(struct seq_file *m, void *arg)
438{
439 struct drm_info_node *node = (struct drm_info_node *) m->private;
440 struct drm_device *dev = node->minor->dev;
441 return drm_mm_dump_table(m, dev->mm_private);
442}
443
444static struct drm_info_list tilcdc_debugfs_list[] = {
445 { "regs", tilcdc_regs_show, 0 },
446 { "mm", tilcdc_mm_show, 0 },
447 { "fb", drm_fb_cma_debugfs_show, 0 },
448};
449
450static int tilcdc_debugfs_init(struct drm_minor *minor)
451{
452 struct drm_device *dev = minor->dev;
453 struct tilcdc_module *mod;
454 int ret;
455
456 ret = drm_debugfs_create_files(tilcdc_debugfs_list,
457 ARRAY_SIZE(tilcdc_debugfs_list),
458 minor->debugfs_root, minor);
459
460 list_for_each_entry(mod, &module_list, list)
461 if (mod->funcs->debugfs_init)
462 mod->funcs->debugfs_init(mod, minor);
463
464 if (ret) {
465 dev_err(dev->dev, "could not install tilcdc_debugfs_list\n");
466 return ret;
467 }
468
469 return ret;
470}
471
472static void tilcdc_debugfs_cleanup(struct drm_minor *minor)
473{
474 struct tilcdc_module *mod;
475 drm_debugfs_remove_files(tilcdc_debugfs_list,
476 ARRAY_SIZE(tilcdc_debugfs_list), minor);
477
478 list_for_each_entry(mod, &module_list, list)
479 if (mod->funcs->debugfs_cleanup)
480 mod->funcs->debugfs_cleanup(mod, minor);
481}
482#endif
483
484static const struct file_operations fops = {
485 .owner = THIS_MODULE,
486 .open = drm_open,
487 .release = drm_release,
488 .unlocked_ioctl = drm_ioctl,
489#ifdef CONFIG_COMPAT
490 .compat_ioctl = drm_compat_ioctl,
491#endif
492 .poll = drm_poll,
493 .read = drm_read,
494 .fasync = drm_fasync,
495 .llseek = no_llseek,
496 .mmap = drm_gem_cma_mmap,
497};
498
499static struct drm_driver tilcdc_driver = {
500 .driver_features = DRIVER_HAVE_IRQ | DRIVER_GEM | DRIVER_MODESET,
501 .load = tilcdc_load,
502 .unload = tilcdc_unload,
503 .preclose = tilcdc_preclose,
504 .lastclose = tilcdc_lastclose,
505 .irq_handler = tilcdc_irq,
506 .irq_preinstall = tilcdc_irq_preinstall,
507 .irq_postinstall = tilcdc_irq_postinstall,
508 .irq_uninstall = tilcdc_irq_uninstall,
509 .get_vblank_counter = drm_vblank_count,
510 .enable_vblank = tilcdc_enable_vblank,
511 .disable_vblank = tilcdc_disable_vblank,
512 .gem_free_object = drm_gem_cma_free_object,
513 .gem_vm_ops = &drm_gem_cma_vm_ops,
514 .dumb_create = drm_gem_cma_dumb_create,
515 .dumb_map_offset = drm_gem_cma_dumb_map_offset,
516 .dumb_destroy = drm_gem_cma_dumb_destroy,
517#ifdef CONFIG_DEBUG_FS
518 .debugfs_init = tilcdc_debugfs_init,
519 .debugfs_cleanup = tilcdc_debugfs_cleanup,
520#endif
521 .fops = &fops,
522 .name = "tilcdc",
523 .desc = "TI LCD Controller DRM",
524 .date = "20121205",
525 .major = 1,
526 .minor = 0,
527};
528
529/*
530 * Power management:
531 */
532
533#ifdef CONFIG_PM_SLEEP
534static int tilcdc_pm_suspend(struct device *dev)
535{
536 struct drm_device *ddev = dev_get_drvdata(dev);
537 struct tilcdc_drm_private *priv = ddev->dev_private;
538 unsigned i, n = 0;
539
540 drm_kms_helper_poll_disable(ddev);
541
542 /* Save register state: */
543 for (i = 0; i < ARRAY_SIZE(registers); i++)
544 if (registers[i].save && (priv->rev >= registers[i].rev))
545 priv->saved_register[n++] = tilcdc_read(ddev, registers[i].reg);
546
547 return 0;
548}
549
550static int tilcdc_pm_resume(struct device *dev)
551{
552 struct drm_device *ddev = dev_get_drvdata(dev);
553 struct tilcdc_drm_private *priv = ddev->dev_private;
554 unsigned i, n = 0;
555
556 /* Restore register state: */
557 for (i = 0; i < ARRAY_SIZE(registers); i++)
558 if (registers[i].save && (priv->rev >= registers[i].rev))
559 tilcdc_write(ddev, registers[i].reg, priv->saved_register[n++]);
560
561 drm_kms_helper_poll_enable(ddev);
562
563 return 0;
564}
565#endif
566
567static const struct dev_pm_ops tilcdc_pm_ops = {
568 SET_SYSTEM_SLEEP_PM_OPS(tilcdc_pm_suspend, tilcdc_pm_resume)
569};
570
571/*
572 * Platform driver:
573 */
574
575static int tilcdc_pdev_probe(struct platform_device *pdev)
576{
577 /* bail out early if no DT data: */
578 if (!pdev->dev.of_node) {
579 dev_err(&pdev->dev, "device-tree data is missing\n");
580 return -ENXIO;
581 }
582
583 return drm_platform_init(&tilcdc_driver, pdev);
584}
585
586static int tilcdc_pdev_remove(struct platform_device *pdev)
587{
588 drm_platform_exit(&tilcdc_driver, pdev);
589
590 return 0;
591}
592
593static struct of_device_id tilcdc_of_match[] = {
594 { .compatible = "ti,am33xx-tilcdc", },
595 { },
596};
597MODULE_DEVICE_TABLE(of, tilcdc_of_match);
598
599static struct platform_driver tilcdc_platform_driver = {
600 .probe = tilcdc_pdev_probe,
601 .remove = tilcdc_pdev_remove,
602 .driver = {
603 .owner = THIS_MODULE,
604 .name = "tilcdc",
605 .pm = &tilcdc_pm_ops,
606 .of_match_table = tilcdc_of_match,
607 },
608};
609
610static int __init tilcdc_drm_init(void)
611{
612 DBG("init");
613 tilcdc_tfp410_init();
Rob Clark6e8de0bd2013-01-22 16:02:21 -0600614 tilcdc_slave_init();
Rob Clark0d4bbaf2012-12-18 17:34:16 -0600615 tilcdc_panel_init();
Rob Clark16ea9752013-01-08 15:04:28 -0600616 return platform_driver_register(&tilcdc_platform_driver);
617}
618
619static void __exit tilcdc_drm_fini(void)
620{
621 DBG("fini");
622 tilcdc_tfp410_fini();
Rob Clark6e8de0bd2013-01-22 16:02:21 -0600623 tilcdc_slave_fini();
Rob Clark0d4bbaf2012-12-18 17:34:16 -0600624 tilcdc_panel_fini();
Rob Clark16ea9752013-01-08 15:04:28 -0600625 platform_driver_unregister(&tilcdc_platform_driver);
626}
627
Rob Clark6e8de0bd2013-01-22 16:02:21 -0600628late_initcall(tilcdc_drm_init);
Rob Clark16ea9752013-01-08 15:04:28 -0600629module_exit(tilcdc_drm_fini);
630
631MODULE_AUTHOR("Rob Clark <robdclark@gmail.com");
632MODULE_DESCRIPTION("TI LCD Controller DRM Driver");
633MODULE_LICENSE("GPL");