Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38f3a879 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Paul Mundt
Browse files

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: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 0851d50d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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