From: Archit Taneja Date: Fri, 29 Jun 2012 08:33:48 +0000 (+0530) Subject: OMAPDSS: Add struct to hold LCD overlay manager configuration X-Git-Tag: firefly_0821_release~3680^2~1437^2^2~108^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c56fb3ef051c6cafca48c0ddcf52a570d6257574;p=firefly-linux-kernel-4.4.55.git OMAPDSS: Add struct to hold LCD overlay manager configuration Create a struct dss_lcd_mgr_config which holds LCD overlay manager related parameters. These are currently partially contained in the omap_dss_device connected to the manager, and the rest are in the interface driver. The parameters are directly written to the DISPC registers in the interface drivers. These should eventually be applied at the correct time using the shadow register programming model. This struct would help in grouping these parameters so that they can be applied together. Signed-off-by: Archit Taneja --- diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index a638846559ce..061c95e20d49 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h @@ -158,6 +158,19 @@ struct reg_field { u8 low; }; +struct dss_lcd_mgr_config { + enum dss_io_pad_mode io_pad_mode; + + bool stallmode; + bool fifohandcheck; + + struct dispc_clock_info clock_info; + + int video_port_width; + + int lcden_sig_polarity; +}; + struct seq_file; struct platform_device;