示例#1
0
void s5p_dsim_exit_d_phy(unsigned int dsim_base)
{
	/* enable DSI master block */
	s5p_dsim_enable_dsi_master(0);

	/* enable D-PHY */
	s5p_dsim_enable_d_phy(0);
}
int s5p_dsim_init_d_phy(struct mipi_dsim_device *dsim, unsigned int enable)
{
	/**
	 * DPHY and aster block must be enabled at the system initialization
	 * step before data access from/to DPHY begins.
	 */
	s5p_dsim_enable_d_phy(dsim, enable);

	s5p_dsim_enable_dsi_master(dsim, enable);
	return 0;
}