forked from luck/tmp_suning_uos_patched
fbdev: sh_mipi_dsi: support different register layouts
The register layout of the MIPI DSI unit on sh-mobile SoCs differ. Add platform parameters to support such variations. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
0851d50dc1
commit
38f3a87942
@ -27,9 +27,15 @@ enum sh_mipi_dsi_data_fmt {
|
||||
|
||||
struct sh_mobile_lcdc_chan_cfg;
|
||||
|
||||
#define SH_MIPI_DSI_HSABM (1 << 0)
|
||||
#define SH_MIPI_DSI_HSPBM (1 << 1)
|
||||
|
||||
struct sh_mipi_dsi_info {
|
||||
enum sh_mipi_dsi_data_fmt data_format;
|
||||
struct sh_mobile_lcdc_chan_cfg *lcd_chan;
|
||||
unsigned long flags;
|
||||
u32 clksrc;
|
||||
unsigned int vsynw_offset;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user