33 #include <linux/module.h>
35 #include <linux/slab.h>
78 .power_off_delay = 100,
104 .power_on_delay = 50,
105 .power_off_delay = 100,
115 .pixel_clock = 26000,
132 .power_off_delay = 0,
133 .name =
"toppoly_tdo35s",
159 .power_off_delay = 0,
160 .name =
"samsung_lte430wq_f0c",
169 .pixel_clock = 33000,
186 .power_off_delay = 0,
187 .name =
"seiko_70wvw1tz3",
213 .power_off_delay = 0,
214 .name =
"powertip_ph480272t",
223 .pixel_clock = 40000,
240 .power_off_delay = 0,
241 .name =
"innolux_at070tn83",
266 .name =
"nec_nl2432dr22-11b",
324 .pixel_clock = 28000,
340 .name =
"focaltech_etm070003dh6",
349 .pixel_clock = 34560,
366 .power_off_delay = 0,
367 .name =
"microtips_umsh_8173md",
392 .name =
"ortustech_com43h4m10xtc",
401 .pixel_clock = 41142,
417 .name =
"innolux_at080tn52",
425 .pixel_clock = 40000,
441 .name =
"mitsubishi_aa084sb01",
448 .pixel_clock = 33260,
464 .name =
"edt_et0500g0dh6",
473 .pixel_clock = 25000,
489 .name =
"primeview_pd050vl1",
498 .pixel_clock = 32000,
514 .name =
"primeview_pm070wl4",
523 .pixel_clock = 40000,
539 .name =
"primeview_pd104slf",
592 static void generic_dpi_panel_power_off(
struct omap_dss_device *dssdev)
596 struct panel_config *panel_config = drv_data->
panel_config;
614 struct panel_config *panel_config =
NULL;
620 if (!panel_data || !panel_data->
name)
623 for (i = 0; i <
ARRAY_SIZE(generic_dpi_panels); i++) {
625 panel_config = &generic_dpi_panels[
i];
635 drv_data = kzalloc(
sizeof(*drv_data),
GFP_KERNEL);
667 r = generic_dpi_panel_power_on(dssdev);
684 generic_dpi_panel_power_off(dssdev);
697 generic_dpi_panel_power_off(dssdev);
713 r = generic_dpi_panel_power_on(dssdev);
725 static void generic_dpi_panel_set_timings(
struct omap_dss_device *dssdev,
734 dssdev->
panel.timings = *timings;
739 static void generic_dpi_panel_get_timings(
struct omap_dss_device *dssdev,
746 *timings = dssdev->
panel.timings;
751 static int generic_dpi_panel_check_timings(
struct omap_dss_device *dssdev,
767 .probe = generic_dpi_panel_probe,
768 .remove =
__exit_p(generic_dpi_panel_remove),
770 .enable = generic_dpi_panel_enable,
771 .disable = generic_dpi_panel_disable,
772 .suspend = generic_dpi_panel_suspend,
773 .resume = generic_dpi_panel_resume,
775 .set_timings = generic_dpi_panel_set_timings,
776 .get_timings = generic_dpi_panel_get_timings,
777 .check_timings = generic_dpi_panel_check_timings,
780 .name =
"generic_dpi_panel",
785 static int __init generic_dpi_panel_drv_init(
void)
790 static void __exit generic_dpi_panel_drv_exit(
void)