coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mipi_dsi.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _SOC_DISPLAY_MIPI_DSI_H_
4 #define _SOC_DISPLAY_MIPI_DSI_H_
5 
6 /**********************************************************
7  DSI register configuration options
8  **********************************************************/
9 #define MIPI_DSI_MRPS 0x04 /* Maximum Return Packet Size */
10 #define MIPI_DSI_REG_LEN 16 /* 4 x 4 bytes register */
11 
12 #define DSI_VIDEO_DST_FORMAT_RGB565 0
13 #define DSI_VIDEO_DST_FORMAT_RGB666 1
14 #define DSI_VIDEO_DST_FORMAT_RGB666_LOOSE 2
15 #define DSI_VIDEO_DST_FORMAT_RGB888 3
16 
17 enum {
20 };
21 
22 enum cb_err mdss_dsi_config(struct edid *edid, uint32_t num_of_lanes, uint32_t bpp);
23 void mdss_dsi_clock_config(void);
24 void mdss_dsi_video_mode_config(struct edid *edid, uint32_t bpp);
25 enum cb_err mdss_dsi_panel_initialize(const u8 *init_cmds);
26 
27 #endif
cb_err
coreboot error codes
Definition: cb_err.h:15
void mdss_dsi_video_mode_config(struct edid *edid, uint32_t bpp)
Definition: dsi.c:99
@ DSI_VIDEO_MODE
Definition: mipi_dsi.h:18
@ DSI_CMD_MODE
Definition: mipi_dsi.h:19
enum cb_err mdss_dsi_panel_initialize(const u8 *init_cmds)
Definition: dsi.c:280
void mdss_dsi_clock_config(void)
Definition: dsi.c:154
enum cb_err mdss_dsi_config(struct edid *edid, uint32_t num_of_lanes, uint32_t bpp)
Definition: dsi.c:141
unsigned int uint32_t
Definition: stdint.h:14
uint8_t u8
Definition: stdint.h:45
Definition: edid.h:49