diff options
-rw-r--r-- | baseboard/brya/baseboard.h | 3 | ||||
-rw-r--r-- | board/brya/board.h | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/baseboard/brya/baseboard.h b/baseboard/brya/baseboard.h index fdf31644d9..4d4a56067c 100644 --- a/baseboard/brya/baseboard.h +++ b/baseboard/brya/baseboard.h @@ -108,6 +108,9 @@ #define CONFIG_I2C #define CONFIG_I2C_CONTROLLER +/* EDP back-light control defines */ +#define CONFIG_BACKLIGHT_LID + /* USB Type C and USB PD defines */ /* Enable the new USB-C PD stack */ #define CONFIG_USB_PD_TCPMV2 diff --git a/board/brya/board.h b/board/brya/board.h index e9d2243bfb..bf902e976c 100644 --- a/board/brya/board.h +++ b/board/brya/board.h @@ -53,8 +53,15 @@ #define PD_MAX_CURRENT_MA 3000 #define PD_MAX_VOLTAGE_MV 20000 +/* + * Macros for GPIO signals used in common code that don't match the + * schematic names. Signal names in gpio.inc match the schematic and are + * then redefined here to so it's more clear which signal is being used for + * which purpose. + */ #define GPIO_AC_PRESENT GPIO_ACOK_EC_OD #define GPIO_CPU_PROCHOT GPIO_EC_PROCHOT_ODL +#define GPIO_ENABLE_BACKLIGHT GPIO_EC_EN_EDP_BL #define GPIO_ENTERING_RW GPIO_EC_ENTERING_RW #define GPIO_KBD_KSO2 GPIO_EC_KSO_02_INV #define GPIO_LID_OPEN GPIO_LID_OPEN_OD |