1 /* 2 * Copyright (C) 2012 Samsung Electronics 3 * 4 * Author: InKi Dae <inki.dae@samsung.com> 5 * Author: Donghwa Lee <dh09.lee@samsung.com> 6 * 7 * SPDX-License-Identifier: GPL-2.0+ 8 */ 9 10 #include <linux/fb.h> 11 12 #ifndef _EXYNOS_MIPI_DSI_COMMON_H 13 #define _EXYNOS_MIPI_DSI_COMMON_H 14 15 int exynos_mipi_dsi_wr_data(struct mipi_dsim_device *dsim, unsigned int data_id, 16 const unsigned char *data0, unsigned int data1); 17 int exynos_mipi_dsi_pll_on(struct mipi_dsim_device *dsim, unsigned int enable); 18 unsigned long exynos_mipi_dsi_change_pll(struct mipi_dsim_device *dsim, 19 unsigned int pre_divider, unsigned int main_divider, 20 unsigned int scaler); 21 int exynos_mipi_dsi_set_clock(struct mipi_dsim_device *dsim, 22 unsigned int byte_clk_sel, unsigned int enable); 23 int exynos_mipi_dsi_init_dsim(struct mipi_dsim_device *dsim); 24 int exynos_mipi_dsi_set_display_mode(struct mipi_dsim_device *dsim, 25 struct mipi_dsim_config *dsim_info); 26 int exynos_mipi_dsi_init_link(struct mipi_dsim_device *dsim); 27 int exynos_mipi_dsi_set_hs_enable(struct mipi_dsim_device *dsim); 28 int exynos_mipi_dsi_set_data_transfer_mode(struct mipi_dsim_device *dsim, 29 unsigned int mode); 30 int exynos_mipi_dsi_enable_frame_done_int(struct mipi_dsim_device *dsim, 31 unsigned int enable); 32 int exynos_mipi_dsi_get_frame_done_status(struct mipi_dsim_device *dsim); 33 int exynos_mipi_dsi_clear_frame_done(struct mipi_dsim_device *dsim); 34 35 #endif /* _EXYNOS_MIPI_DSI_COMMON_H */ 36