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

Go to the source code of this file.

Functions

static void power_on_ps8640 (void)
 
static void dummy_power_on (void)
 
struct panel_descriptionget_panel_description (int panel_id)
 

Variables

static struct panel_serializable_data ps8640_data
 
static struct panel_description ps8640_panel
 

Function Documentation

◆ dummy_power_on()

static void dummy_power_on ( void  )
static

Definition at line 29 of file panel_ps8640.c.

◆ get_panel_description()

struct panel_description* get_panel_description ( int  panel_id)

Definition at line 46 of file panel_ps8640.c.

References BIOS_ERR, panel_serializable_data::edid, mtk_i2c_bus_init(), NULL, power_on_ps8640(), printk, ps8640_data, ps8640_get_edid(), ps8640_init(), and ps8640_panel.

Here is the call graph for this function:

◆ power_on_ps8640()

static void power_on_ps8640 ( void  )
static

Definition at line 12 of file panel_ps8640.c.

References GPIO, GPIO_MIPIBRDG_PWRDN_L_1V8, GPIO_MIPIBRDG_RST_L_1V8, gpio_output(), GPIO_PP1200_MIPIBRDG_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:

Variable Documentation

◆ ps8640_data

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

Definition at line 29 of file panel_ps8640.c.

Referenced by get_panel_description().

◆ ps8640_panel

struct panel_description ps8640_panel
static
Initial value:
= {
.s = &ps8640_data,
.orientation = LB_FB_ORIENTATION_NORMAL,
.power_on = dummy_power_on,
}
@ LB_FB_ORIENTATION_NORMAL
static struct panel_serializable_data ps8640_data
Definition: panel_ps8640.c:36
static void dummy_power_on(void)
Definition: panel_ps8640.c:29

Definition at line 29 of file panel_ps8640.c.

Referenced by get_panel_description().