uboot/drivers/video/exynos/exynos_mipi_dsi_common.h
<<
>>
Prefs
   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
  15int exynos_mipi_dsi_wr_data(struct mipi_dsim_device *dsim, unsigned int data_id,
  16        const unsigned char *data0, unsigned int data1);
  17int 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 */
  36