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

Go to the source code of this file.

Macros

#define GPIO_SAR_INT_ODL   GPIO(EINT5)
 
#define GPIO_BT_WAKE_AP_ODL   GPIO(EINT6)
 
#define GPIO_WIFI_INT_ODL   GPIO(EINT7)
 
#define GPIO_DPBRDG_INT_ODL   GPIO(EINT8)
 
#define GPIO_EC_AP_HPD_OD   GPIO(EINT10)
 
#define GPIO_TCHPAD_INT_ODL   GPIO(EINT11)
 
#define GPIO_TCHSCR_INT_1V8_ODL   GPIO(EINT12)
 
#define GPIO_EC_AP_INT_ODL   GPIO(EINT13)
 
#define GPIO_EC_IN_RW_ODL   GPIO(EINT14)
 
#define GPIO_GSC_AP_INT_ODL   GPIO(EINT15)
 
#define GPIO_AP_WP_ODL   GPIO(EINT16)
 
#define GPIO_HP_INT_ODL   GPIO(EINT17)
 
#define GPIO_PEN_EJECT_OD   GPIO(EINT18)
 
#define GPIO_UCAM_DET_ODL   GPIO(CAM_CLK2)
 
#define GPIO_RESET   GPIO(PERIPHERAL_EN0)
 
#define GPIO_XHCI_DONE   GPIO(PERIPHERAL_EN1)
 
#define GPIO_USB3_HUB_RST_L   GPIO(PERIPHERAL_EN2)
 
#define GPIO_EN_SPK   GPIO(PERIPHERAL_EN3)
 
#define GPIO_BEEP_ON   GPIO(PERIPHERAL_EN4)
 
#define GPIO_EN_PP3300_SDBRDG_X   GPIO(PERIPHERAL_EN7)
 
#define GPIO_AP_EDP_BKLTEN   GPIO(PERIPHERAL_EN5)
 
#define GPIO_BL_PWM_1V8   GPIO(DISP_PWM)
 
#define GPIO_EN_PP3300_DISP_X   GPIO(PERIPHERAL_EN6)
 
#define GPIO_EDPBRDG_RST_L   GPIO(LCM_RST)
 
#define GPIO_EN_PP1000_EDPBRDG   GPIO(ANT_SEL0)
 
#define GPIO_EN_PP1800_EDPBRDG   GPIO(ANT_SEL1)
 
#define GPIO_EN_PP3300_EDPBRDG   GPIO(ANT_SEL2)
 
#define GPIO_EDPBRDG_INT_ODL   GPIO(EINT9)
 
#define GPIO_EDPBRDG_PWREN   GPIO(DSI_TE)
 

Functions

void setup_chromeos_gpios (void)
 

Macro Definition Documentation

◆ GPIO_AP_EDP_BKLTEN

#define GPIO_AP_EDP_BKLTEN   GPIO(PERIPHERAL_EN5)

Definition at line 33 of file gpio.h.

◆ GPIO_AP_WP_ODL

#define GPIO_AP_WP_ODL   GPIO(EINT16)

Definition at line 18 of file gpio.h.

◆ GPIO_BEEP_ON

#define GPIO_BEEP_ON   GPIO(PERIPHERAL_EN4)

Definition at line 27 of file gpio.h.

◆ GPIO_BL_PWM_1V8

#define GPIO_BL_PWM_1V8   GPIO(DISP_PWM)

Definition at line 34 of file gpio.h.

◆ GPIO_BT_WAKE_AP_ODL

#define GPIO_BT_WAKE_AP_ODL   GPIO(EINT6)

Definition at line 9 of file gpio.h.

◆ GPIO_DPBRDG_INT_ODL

#define GPIO_DPBRDG_INT_ODL   GPIO(EINT8)

Definition at line 11 of file gpio.h.

◆ GPIO_EC_AP_HPD_OD

#define GPIO_EC_AP_HPD_OD   GPIO(EINT10)

Definition at line 12 of file gpio.h.

◆ GPIO_EC_AP_INT_ODL

#define GPIO_EC_AP_INT_ODL   GPIO(EINT13)

Definition at line 15 of file gpio.h.

◆ GPIO_EC_IN_RW_ODL

#define GPIO_EC_IN_RW_ODL   GPIO(EINT14)

Definition at line 16 of file gpio.h.

◆ GPIO_EDPBRDG_INT_ODL

#define GPIO_EDPBRDG_INT_ODL   GPIO(EINT9)

Definition at line 40 of file gpio.h.

◆ GPIO_EDPBRDG_PWREN

#define GPIO_EDPBRDG_PWREN   GPIO(DSI_TE)

Definition at line 41 of file gpio.h.

◆ GPIO_EDPBRDG_RST_L

#define GPIO_EDPBRDG_RST_L   GPIO(LCM_RST)

Definition at line 36 of file gpio.h.

◆ GPIO_EN_PP1000_EDPBRDG

#define GPIO_EN_PP1000_EDPBRDG   GPIO(ANT_SEL0)

Definition at line 37 of file gpio.h.

◆ GPIO_EN_PP1800_EDPBRDG

#define GPIO_EN_PP1800_EDPBRDG   GPIO(ANT_SEL1)

Definition at line 38 of file gpio.h.

◆ GPIO_EN_PP3300_DISP_X

#define GPIO_EN_PP3300_DISP_X   GPIO(PERIPHERAL_EN6)

Definition at line 35 of file gpio.h.

◆ GPIO_EN_PP3300_EDPBRDG

#define GPIO_EN_PP3300_EDPBRDG   GPIO(ANT_SEL2)

Definition at line 39 of file gpio.h.

◆ GPIO_EN_PP3300_SDBRDG_X

#define GPIO_EN_PP3300_SDBRDG_X   GPIO(PERIPHERAL_EN7)

Definition at line 30 of file gpio.h.

◆ GPIO_EN_SPK

#define GPIO_EN_SPK   GPIO(PERIPHERAL_EN3)

Definition at line 26 of file gpio.h.

◆ GPIO_GSC_AP_INT_ODL

#define GPIO_GSC_AP_INT_ODL   GPIO(EINT15)

Definition at line 17 of file gpio.h.

◆ GPIO_HP_INT_ODL

#define GPIO_HP_INT_ODL   GPIO(EINT17)

Definition at line 19 of file gpio.h.

◆ GPIO_PEN_EJECT_OD

#define GPIO_PEN_EJECT_OD   GPIO(EINT18)

Definition at line 20 of file gpio.h.

◆ GPIO_RESET

#define GPIO_RESET   GPIO(PERIPHERAL_EN0)

Definition at line 23 of file gpio.h.

◆ GPIO_SAR_INT_ODL

#define GPIO_SAR_INT_ODL   GPIO(EINT5)

Definition at line 8 of file gpio.h.

◆ GPIO_TCHPAD_INT_ODL

#define GPIO_TCHPAD_INT_ODL   GPIO(EINT11)

Definition at line 13 of file gpio.h.

◆ GPIO_TCHSCR_INT_1V8_ODL

#define GPIO_TCHSCR_INT_1V8_ODL   GPIO(EINT12)

Definition at line 14 of file gpio.h.

◆ GPIO_UCAM_DET_ODL

#define GPIO_UCAM_DET_ODL   GPIO(CAM_CLK2)

Definition at line 21 of file gpio.h.

◆ GPIO_USB3_HUB_RST_L

#define GPIO_USB3_HUB_RST_L   GPIO(PERIPHERAL_EN2)

Definition at line 25 of file gpio.h.

◆ GPIO_WIFI_INT_ODL

#define GPIO_WIFI_INT_ODL   GPIO(EINT7)

Definition at line 10 of file gpio.h.

◆ GPIO_XHCI_DONE

#define GPIO_XHCI_DONE   GPIO(PERIPHERAL_EN1)

Definition at line 24 of file gpio.h.

Function Documentation

◆ setup_chromeos_gpios()

void setup_chromeos_gpios ( void  )

Definition at line 10 of file chromeos.c.