blob: ef6510abdd8997484015447a2ff6f9d5fc721e78 [file] [log] [blame]
Donghwa Leed84f7832012-04-05 19:36:21 +00001/*
2 * Copyright (C) 2012 Samsung Electronics
3 *
4 * Author: InKi Dae <inki.dae@samsung.com>
5 * Author: Donghwa Lee <dh09.lee@samsung.com>
6 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
Donghwa Leed84f7832012-04-05 19:36:21 +00008 */
9
10#include <linux/fb.h>
11
12#ifndef _EXYNOS_MIPI_DSI_COMMON_H
13#define _EXYNOS_MIPI_DSI_COMMON_H
14
15int exynos_mipi_dsi_wr_data(struct mipi_dsim_device *dsim, unsigned int data_id,
Donghwa Lee934d9b82013-08-05 13:34:32 +090016 const unsigned char *data0, unsigned int data1);
Donghwa Leed84f7832012-04-05 19:36:21 +000017int exynos_mipi_dsi_pll_on(struct mipi_dsim_device *dsim, unsigned int enable);
18unsigned long exynos_mipi_dsi_change_pll(struct mipi_dsim_device *dsim,
19 unsigned int pre_divider, unsigned int main_divider,
20 unsigned int scaler);
21int exynos_mipi_dsi_set_clock(struct mipi_dsim_device *dsim,
22 unsigned int byte_clk_sel, unsigned int enable);
23int exynos_mipi_dsi_init_dsim(struct mipi_dsim_device *dsim);
24int exynos_mipi_dsi_set_display_mode(struct mipi_dsim_device *dsim,
25 struct mipi_dsim_config *dsim_info);
26int exynos_mipi_dsi_init_link(struct mipi_dsim_device *dsim);
27int exynos_mipi_dsi_set_hs_enable(struct mipi_dsim_device *dsim);
28int exynos_mipi_dsi_set_data_transfer_mode(struct mipi_dsim_device *dsim,
29 unsigned int mode);
30int exynos_mipi_dsi_enable_frame_done_int(struct mipi_dsim_device *dsim,
31 unsigned int enable);
32int exynos_mipi_dsi_get_frame_done_status(struct mipi_dsim_device *dsim);
33int exynos_mipi_dsi_clear_frame_done(struct mipi_dsim_device *dsim);
34
35#endif /* _EXYNOS_MIPI_DSI_COMMON_H */