summaryrefslogtreecommitdiff
path: root/board/kano/fw_config.h
diff options
context:
space:
mode:
authorBoris Mittelberg <bmbm@google.com>2022-04-14 11:38:33 -0700
committerBoris Mittelberg <bmbm@google.com>2022-04-14 11:38:33 -0700
commit10cf54860dc2f7ac36610799919f1a0cf1d501bb (patch)
treeac982e3f9c46d97c7ec713ac5e15ee284179fec7 /board/kano/fw_config.h
parent59ede6b1714c313de3e003c0497c70725bf625d5 (diff)
parent265691a2fe290e0fa54ecccba151a5c63dd73e47 (diff)
downloadchrome-ec-firmware-brya-14505.71.B-main.tar.gz
Merge remote-tracking branch cros/main into firmware-brya-14505.B-mainfirmware-brya-14505.71.B-main
Generated by: util/update_release_branch.py --baseboard brya --relevant_paths_file baseboard/brya/relevant-paths.txt firmware-brya-14505.B-main Relevant changes: git log --oneline 59ede6b17..265691a2f -- baseboard/brya board/agah board/anahera board/banshee board/brya board/crota board/felwinter board/gimble board/kano board/primus board/redrix board/taeko board/taniks board/vell board/volmar driver/bc12/pi3usb9201_public.* driver/charger/bq25710.* driver/ppc/nx20p348x.* driver/ppc/syv682x_public.* driver/retimer/bb_retimer_public.* driver/tcpm/nct38xx.* driver/tcpm/ps8xxx_public.* driver/tcpm/tcpci.* include/power/alderlake* include/intel_x86.h power/alderlake* power/intel_x86.c util/getversion.sh 98493ee98 crota: remove type-c port 2 to avoid confusion 88a19dd1b anahera: Tune USBA retimer EQ revision 2 37d45dd56 kano: Support 28w cpu fan table BRANCH=None BUG=b:228775653 b:203837657 b:219176652 TEST=`make -j buildall` Signed-off-by: Boris Mittelberg <bmbm@google.com> Change-Id: Ia775339f54ad90ecdbc81ce1543b1b38f94f3b3b
Diffstat (limited to 'board/kano/fw_config.h')
-rw-r--r--board/kano/fw_config.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/board/kano/fw_config.h b/board/kano/fw_config.h
index 8402b5568d..88573bdd33 100644
--- a/board/kano/fw_config.h
+++ b/board/kano/fw_config.h
@@ -19,12 +19,19 @@ enum ec_cfg_keyboard_backlight_type {
KEYBOARD_BACKLIGHT_ENABLED = 1
};
+enum ec_cfg_thermal_solution_type {
+ THERMAL_SOLUTION_15W = 0,
+ THERMAL_SOLUTION_28W = 1
+};
+
union kano_cbi_fw_config {
struct {
enum ec_cfg_keyboard_backlight_type kb_bl : 1;
uint32_t audio : 3;
uint32_t ufc : 2;
- uint32_t reserved_1 : 26;
+ uint32_t stylus : 1;
+ enum ec_cfg_thermal_solution_type thermal_solution : 1;
+ uint32_t reserved_1 : 24;
};
uint32_t raw_value;
};
@@ -44,4 +51,11 @@ union kano_cbi_fw_config get_fw_config(void);
*/
bool ec_cfg_has_kblight(void);
+/**
+ * Read the thermal solution config.
+ *
+ * @return thermal solution config.
+ */
+enum ec_cfg_thermal_solution_type ec_cfg_thermal_solution(void);
+
#endif /* __BOARD_KANO_FW_CONFIG_H_ */