20 #define DSS_SUBSYS_NAME "SDI"
22 #include <linux/kernel.h>
26 #include <linux/export.h>
28 #include <linux/string.h>
50 sdi.mgr_config.stallmode =
false;
51 sdi.mgr_config.fifohandcheck =
false;
53 sdi.mgr_config.video_port_width = 24;
54 sdi.mgr_config.lcden_sig_polarity = 1;
69 DSSERR(
"failed to enable display: no output/manager\n");
75 DSSERR(
"failed to start device\n");
93 goto err_calc_clock_div;
95 sdi.mgr_config.clock_info = dispc_cinfo;
100 DSSWARN(
"Could not find exact pixel clock. Requested %d kHz, "
112 goto err_set_dss_clock_div;
114 sdi_config_lcd_manager(dssdev);
144 err_set_dss_clock_div:
175 sdi.timings = *timings;
189 if (
sdi.vdds_sdi_reg ==
NULL) {
194 if (IS_ERR(vdds_sdi)) {
195 DSSERR(
"can't get VDDS_SDI regulator\n");
196 return PTR_ERR(vdds_sdi);
199 sdi.vdds_sdi_reg = vdds_sdi;
220 if (def_dssdev ==
NULL)
223 if (def_disp_name !=
NULL &&
239 plat_dssdev = sdi_find_dssdev(sdidev);
250 r = sdi_init_display(dssdev);
252 DSSERR(
"device %s init failed: %d\n", dssdev->
name, r);
259 DSSERR(
"device %s register failed: %d\n", dssdev->
name, r);
285 sdi_init_output(pdev);
287 sdi_probe_pdata(pdev);
296 sdi_uninit_output(pdev);
302 .remove =
__exit_p(omap_sdi_remove),
304 .name =
"omapdss_sdi",