diff options
Diffstat (limited to 'baseboard/zork/cbi_ec_fw_config.h')
-rw-r--r-- | baseboard/zork/cbi_ec_fw_config.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/baseboard/zork/cbi_ec_fw_config.h b/baseboard/zork/cbi_ec_fw_config.h index 38c4c2bda2..4888298e3a 100644 --- a/baseboard/zork/cbi_ec_fw_config.h +++ b/baseboard/zork/cbi_ec_fw_config.h @@ -113,6 +113,21 @@ enum ec_cfg_lte_present_type { GENMASK(EC_CFG_LTE_PRESENT_H,\ EC_CFG_LTE_PRESENT_L) +/* + * Keyboard Layout (2 bit) + * + * ec_config_keyboard_layout() will return keyboard layout type. + */ +enum ec_cfg_keyboard_layout_type { + KB_LAYOUT_DEFAULT = 0, + KB_LAYOUT_1 = 1, +}; +#define EC_CFG_KEYBOARD_LAYOUT_L 30 +#define EC_CFG_KEYBOARD_LAYOUT_H 31 +#define EC_CFG_KEYBOARD_LAYOUT_MASK \ + GENMASK(EC_CFG_KEYBOARD_LAYOUT_H,\ + EC_CFG_KEYBOARD_LAYOUT_L) + uint32_t get_cbi_fw_config(void); enum ec_cfg_usb_db_type ec_config_get_usb_db(void); @@ -124,5 +139,6 @@ enum ec_cfg_pwm_keyboard_backlight_type ec_config_has_pwm_keyboard_backlight( enum ec_cfg_lid_angle_tablet_mode_type ec_config_has_lid_angle_tablet_mode( void); enum ec_cfg_lte_present_type ec_config_lte_present(void); +enum ec_cfg_keyboard_layout_type ec_config_keyboard_layout(void); #endif /* _ZORK_CBI_EC_FW_CONFIG__H_ */ |