coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
panel_anx7625.c File Reference
#include <console/console.h>
#include <delay.h>
#include <drivers/analogix/anx7625/anx7625.h>
#include <edid.h>
#include <gpio.h>
#include <soc/dsi.h>
#include <soc/i2c.h>
#include "panel.h"
Include dependency graph for panel_anx7625.c:

Go to the source code of this file.

Macros

#define ANX7625_I2C_BUS   4
 

Functions

static void dummy_power_on (void)
 
static void start_anx7625 (void)
 
static void power_on_anx7625 (void)
 
struct panel_descriptionget_panel_description (int panel_id)
 
void mtk_dsi_override_phy_timing (struct mtk_phy_timing *timing)
 

Variables

static struct panel_serializable_data anx7625_data
 
static struct panel_description anx7625_panel
 

Macro Definition Documentation

◆ ANX7625_I2C_BUS

#define ANX7625_I2C_BUS   4

Definition at line 13 of file panel_anx7625.c.

Function Documentation

◆ dummy_power_on()

static void dummy_power_on ( void  )
static

Definition at line 19 of file panel_anx7625.c.

◆ get_panel_description()

struct panel_description* get_panel_description ( int  panel_id)

◆ mtk_dsi_override_phy_timing()

void mtk_dsi_override_phy_timing ( struct mtk_phy_timing timing)

Definition at line 77 of file panel_anx7625.c.

References mtk_phy_timing::da_hs_trail.

◆ power_on_anx7625()

static void power_on_anx7625 ( void  )
static

Definition at line 40 of file panel_anx7625.c.

References GPIO, GPIO_MIPIBRDG_PWRDN_L_1V8, GPIO_MIPIBRDG_RST_L_1V8, gpio_output(), GPIO_PP1200_MIPIBRDG_EN, GPIO_PP1800_LCM_EN, GPIO_PP3300_LCM_EN, GPIO_VDDIO_MIPIBRDG_EN, and mdelay().

Referenced by get_panel_description().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ start_anx7625()

static void start_anx7625 ( void  )
static

Definition at line 27 of file panel_anx7625.c.

Variable Documentation

◆ anx7625_data

struct panel_serializable_data anx7625_data
static
Initial value:
= {
.init = { PANEL_END },
}
#define PANEL_END
Definition: panel.h:53

Definition at line 1 of file panel_anx7625.c.

Referenced by get_panel_description().

◆ anx7625_panel

struct panel_description anx7625_panel
static
Initial value:
= {
.s = &anx7625_data,
.orientation = LB_FB_ORIENTATION_NORMAL,
.power_on = dummy_power_on,
.post_power_on = start_anx7625,
}
@ LB_FB_ORIENTATION_NORMAL
static void dummy_power_on(void)
Definition: panel_anx7625.c:19
static void start_anx7625(void)
Definition: panel_anx7625.c:27
static struct panel_serializable_data anx7625_data
Definition: panel_anx7625.c:15

Definition at line 27 of file panel_anx7625.c.

Referenced by get_panel_description().