coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
panel.h File Reference
#include <mipi/panel.h>
#include <soc/dsi.h>
Include dependency graph for panel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  panel_description
 

Macros

#define GPIO_LCM_RST_1V8   GPIO(LCM_RST) /* 45 */
 
#define GPIO_MIPIBRDG_PWRDN_L_1V8   GPIO(LCM_RST) /* 45 */
 
#define GPIO_MIPIBRDG_RST_L_1V8   GPIO(BPI_BUS3) /* 73 */
 
#define GPIO_PP1200_MIPIBRDG_EN   GPIO(BPI_OLAT1) /* 54 */
 
#define GPIO_PP1800_LCM_EN   GPIO(SIM2_SRST) /* 36 */
 
#define GPIO_PP3300_LCM_EN   GPIO(SIM2_SIO) /* 35 */
 
#define GPIO_PPVARN_LCD_EN   GPIO(PERIPHERAL_EN9) /* 166 */
 
#define GPIO_PPVARP_LCD_EN   GPIO(MISC_BSI_CK_3) /* 66 */
 
#define GPIO_VDDIO_MIPIBRDG_EN   GPIO(SIM2_SCLK) /* 37 */
 

Functions

struct panel_descriptionget_panel_description (int panel_id)
 
struct panel_descriptionget_panel_from_cbfs (struct panel_description *desc)
 

Macro Definition Documentation

◆ GPIO_LCM_RST_1V8

#define GPIO_LCM_RST_1V8   GPIO(LCM_RST) /* 45 */

Definition at line 24 of file panel.h.

◆ GPIO_MIPIBRDG_PWRDN_L_1V8

#define GPIO_MIPIBRDG_PWRDN_L_1V8   GPIO(LCM_RST) /* 45 */

Definition at line 25 of file panel.h.

◆ GPIO_MIPIBRDG_RST_L_1V8

#define GPIO_MIPIBRDG_RST_L_1V8   GPIO(BPI_BUS3) /* 73 */

Definition at line 26 of file panel.h.

◆ GPIO_PP1200_MIPIBRDG_EN

#define GPIO_PP1200_MIPIBRDG_EN   GPIO(BPI_OLAT1) /* 54 */

Definition at line 27 of file panel.h.

◆ GPIO_PP1800_LCM_EN

#define GPIO_PP1800_LCM_EN   GPIO(SIM2_SRST) /* 36 */

Definition at line 28 of file panel.h.

◆ GPIO_PP3300_LCM_EN

#define GPIO_PP3300_LCM_EN   GPIO(SIM2_SIO) /* 35 */

Definition at line 29 of file panel.h.

◆ GPIO_PPVARN_LCD_EN

#define GPIO_PPVARN_LCD_EN   GPIO(PERIPHERAL_EN9) /* 166 */

Definition at line 30 of file panel.h.

◆ GPIO_PPVARP_LCD_EN

#define GPIO_PPVARP_LCD_EN   GPIO(MISC_BSI_CK_3) /* 66 */

Definition at line 31 of file panel.h.

◆ GPIO_VDDIO_MIPIBRDG_EN

#define GPIO_VDDIO_MIPIBRDG_EN   GPIO(SIM2_SCLK) /* 37 */

Definition at line 32 of file panel.h.

Function Documentation

◆ get_panel_description()

◆ get_panel_from_cbfs()

struct panel_description* get_panel_from_cbfs ( struct panel_description desc)

Definition at line 100 of file mainboard.c.

References BIOS_ERR, buffer, cbfs_load(), panel_description::name, NULL, printk, raw, panel_description::s, and snprintf().

Referenced by get_panel_description().

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