PDK API Guide for J721E
pmic_gpio_lp8764x.h File Reference

Introduction

PMIC LP8764x Hera PMIC GPIO API/interface file.

Go to the source code of this file.

Macros

PMIC GPIO supported pins for LP8764x HERA Device

#define PMIC_LP8764X_GPIO1_PIN   (1U)
 
#define PMIC_LP8764X_GPIO2_PIN   (2U)
 
#define PMIC_LP8764X_GPIO3_PIN   (3U)
 
#define PMIC_LP8764X_GPIO4_PIN   (4U)
 
#define PMIC_LP8764X_GPIO5_PIN   (5U)
 
#define PMIC_LP8764X_GPIO6_PIN   (6U)
 
#define PMIC_LP8764X_GPIO7_PIN   (7U)
 
#define PMIC_LP8764X_GPIO8_PIN   (8U)
 
#define PMIC_LP8764X_GPIO9_PIN   (9U)
 
#define PMIC_LP8764X_GPIO10_PIN   (10U)
 
PMIC GPIO pin functions supported by LP8764x HERA PMIC

#define PMIC_LP8764X_GPIO_PINFUNC_GPIO   (0U)
 Used to configure GPIO Pin Function. Valid for all GPIO Pins. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO1_EN_DRV   (1U)
 Used to configure EN_DRV Pin Function. Valid only for GPIO1 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO2_SCL_I2C2   (1U)
 Used to configure SCL_I2C2 Pin Function. Valid only for GPIO2 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO3_SDA_I2C2   (1U)
 Used to configure SDA_I2C2 Pin Function. Valid only for GPIO3 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO4_ENABLE   (1U)
 Used to configure ENABLE Pin Function. Valid only for GPIO4 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO5_SYNCCLKIN   (1U)
 Used to configure SYNCCLKIN Pin Function. Valid only for GPIO5 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO6_GPIO7_NERR_MCU   (1U)
 Used to configure nERR_MCU Pin Function. Valid only for GPIO7 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO8_SCLK_SPMI   (1U)
 Used to configure SCLK_SPMI Pin Function. Valid only for GPIO8 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO9_SDATA_SPMI   (1U)
 Used to configure SDATA_SPMI Pin Function. Valid only for GPIO9 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO10_NRSTOUT   (1U)
 Used to configure nRSTOUT Pin Function. Valid only for GPIO10 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO1_GPIO10_NRSTOUT_SOC   (2U)
 Used to configure nRSTOUT_SOC Pin Function. Valid only for GPIO1 and GPIO10 Pins. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO2_CS_SPI   (2U)
 Used to configure CS_SPI Pin Function. Valid only for GPIO2 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO3_SDO_SPI   (2U)
 Used to configure SDO_SPI Pin Function. Valid only for GPIO3 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO4_TRIG_WDOG   (2U)
 Used to configure TRIG_WDOG Pin Function. Valid only for GPIO4 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO5_GPIO6_SYNCCLKOUT   (2U)
 Used to configure SYNCCLKOUT Pin Function. Valid only for GPIO5 and GPIO6 Pins. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO7_REFOUT   (2U)
 Used to configure REFOUT Pin Function. Valid only for GPIO7 Pins. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO8_VMON2   (2U)
 Used to configure VMON2 Pin Function. Valid only for GPIO8 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO9_PGOOD   (2U)
 Used to configure PGOOD Pin Function. Valid only for GPIO9 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO1_GPIO6_PGOOD   (3U)
 Used to configure PGOOD Pin Function. Valid only for GPIO1 and GPIO6 Pins. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO2_TRIG_WDOG   (3U)
 Used to configure TRIG_WDOG Pin Function. Valid only for GPIO2 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO4_BUCK1_VMON   (3U)
 Used to configure BUCK1_VMON Pin Function. Valid only for GPIO4 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO5_NRSTOUT_SOC   (3U)
 Used to configure nRSTOUT_SOC Pin Function. Valid only for GPIO5 Pins. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO7_VMON1   (3U)
 Used to configure VMON1 Pin Function. Valid only for GPIO7 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_GPIO9_SYNCCLKIN   (3U)
 Used to configure SYNCCLKIN Pin Function. Valid only for GPIO9 Pin. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_NSLEEP1   (4U)
 Used to configure NSLEEP1 Pin Function. Valid only for GPIO1 to GPIO10 Pins. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_NSLEEP2   (5U)
 Used to configure NSLEEP2 Pin Function. Valid only for GPIO1 to GPIO10 Pins. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_WKUP1   (6U)
 Used to configure WKUP1 Pin Function. Valid only for GPIO1 to GPIO10 Pins. More...
 
#define PMIC_LP8764X_GPIO_PINFUNC_WKUP2   (7U)
 Used to configure WKUP2 Pin Function. Valid only for GPIO1 to GPIO10 Pins. More...