coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
dsi_phy.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _SOC_DISPLAY_DSI_PHY_H
4 #define _SOC_DISPLAY_DSI_PHY_H
5 
6 #include <stdint.h>
8 
9 #define MAX_REGULATOR_CONFIG 7
10 #define MAX_BIST_CONFIG 6
11 #define MAX_TIMING_CONFIG 40
12 #define MAX_LANE_CONFIG 45
13 #define MAX_STRENGTH_CONFIG 10
14 #define MAX_CTRL_CONFIG 4
15 #define DMA_TPG_FIFO_LEN 64
16 
17 struct msm_panel_info;
24 };
25 
29 };
30 
31 enum {
34 };
35 
52 };
53 
62  int pll_type;
63 };
64 
65 enum cb_err mdss_dsi_phy_10nm_init(struct edid *edid, uint32_t num_of_lanes, uint32_t bpp);
66 
67 #endif
cb_err
coreboot error codes
Definition: cb_err.h:15
@ DSI_PLL_TYPE_MAX
Definition: dsi_phy.h:33
@ DSI_PLL_TYPE_10NM
Definition: dsi_phy.h:32
#define MAX_BIST_CONFIG
Definition: dsi_phy.h:10
#define MAX_TIMING_CONFIG
Definition: dsi_phy.h:11
enum cb_err mdss_dsi_phy_10nm_init(struct edid *edid, uint32_t num_of_lanes, uint32_t bpp)
Definition: dsi_phy.c:755
#define MAX_STRENGTH_CONFIG
Definition: dsi_phy.h:13
dsi_reg_mode
Definition: dsi_phy.h:26
@ DSI_PHY_REGULATOR_DCDC_MODE
Definition: dsi_phy.h:27
@ DSI_PHY_REGULATOR_LDO_MODE
Definition: dsi_phy.h:28
#define MAX_LANE_CONFIG
Definition: dsi_phy.h:12
#define MAX_CTRL_CONFIG
Definition: dsi_phy.h:14
#define MAX_REGULATOR_CONFIG
Definition: dsi_phy.h:9
unsigned int uint32_t
Definition: stdint.h:14
Definition: edid.h:49
uint32_t timing[MAX_TIMING_CONFIG]
Definition: dsi_phy.h:56
char laneCfg[MAX_LANE_CONFIG]
Definition: dsi_phy.h:60
uint32_t strength[MAX_STRENGTH_CONFIG]
Definition: dsi_phy.h:58
char bistCtrl[MAX_BIST_CONFIG]
Definition: dsi_phy.h:59
uint32_t ctrl[MAX_CTRL_CONFIG]
Definition: dsi_phy.h:57
enum dsi_reg_mode regulator_mode
Definition: dsi_phy.h:61
uint32_t regulator[MAX_REGULATOR_CONFIG]
Definition: dsi_phy.h:55
uint32_t timing[12]
Definition: dsi_phy.h:20
uint32_t regulator[5]
Definition: dsi_phy.h:19
uint32_t strength[4]
Definition: dsi_phy.h:22
uint32_t ctrl[4]
Definition: dsi_phy.h:21
uint32_t hs_zero
Definition: dsi_phy.h:43
uint32_t clk_post
Definition: dsi_phy.h:38
bool clk_pre_inc_by_2
Definition: dsi_phy.h:51
uint32_t half_byte_clk_en
Definition: dsi_phy.h:50
uint32_t clk_trail
Definition: dsi_phy.h:40
uint32_t hs_rqst
Definition: dsi_phy.h:46
uint32_t hs_trail
Definition: dsi_phy.h:45
uint32_t ta_get
Definition: dsi_phy.h:49
uint32_t clk_pre
Definition: dsi_phy.h:37
uint32_t clk_zero
Definition: dsi_phy.h:39
uint32_t clk_prepare
Definition: dsi_phy.h:41
uint32_t hs_prepare
Definition: dsi_phy.h:44
uint32_t ta_go
Definition: dsi_phy.h:47
uint32_t hs_exit
Definition: dsi_phy.h:42
uint32_t ta_sure
Definition: dsi_phy.h:48
Definition: pll_common.h:32