summaryrefslogtreecommitdiff
path: root/baseboard/kalista/baseboard.h
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2018-10-24 08:51:11 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-10-30 01:04:58 -0700
commit7bff3d8b41741d91bdd8013b80d211fcdf738074 (patch)
treedc9f40e541053cce7882253268061556bed2cc47 /baseboard/kalista/baseboard.h
parent36190da7c5b8ac47aefc8eaa9fb581b9b77bd26b (diff)
downloadchrome-ec-7bff3d8b41741d91bdd8013b80d211fcdf738074.tar.gz
Kalista: Update baseboard directory
This patch updates Kalista as follows: - Update BJ adapter list and current limit handling - Remove unused code (mostly for Proto Fizz) - Remove unused fan configurations - Change CBI field sizes (board version:1, OEM:1, SKU:4) - Update I2C port map: charger -> backlight - Simplify board_set_active_charge_port This patch updates GPIO list as follows: - Use GPIO34 for current limit control (and remove 33 and 34) - Remove ADP_IN_L (Power source is only BJ) - Remove AC_JACK_CHARGE (Power source is only BJ) Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> BUG=b:111571989 BRANCH=none TEST=build karma Change-Id: I2af208df28d6e7b3472eeb8929d055b93b661af8 Reviewed-on: https://chromium-review.googlesource.com/1298318 Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Diffstat (limited to 'baseboard/kalista/baseboard.h')
-rw-r--r--baseboard/kalista/baseboard.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/baseboard/kalista/baseboard.h b/baseboard/kalista/baseboard.h
index 295538a3b9..e72c28a0ee 100644
--- a/baseboard/kalista/baseboard.h
+++ b/baseboard/kalista/baseboard.h
@@ -121,7 +121,7 @@
/* USB-A config */
#define CONFIG_USB_PORT_POWER_DUMB
-#define USB_PORT_COUNT 5
+#define USB_PORT_COUNT 4
/* Optional feature to configure npcx chip */
#define NPCX_UART_MODULE2 1 /* 1:GPIO64/65 as UART */
@@ -131,8 +131,7 @@
/* I2C ports */
#define I2C_PORT_TCPC0 NPCX_I2C_PORT0_0
#define I2C_PORT_EEPROM NPCX_I2C_PORT0_1
-#define I2C_PORT_BATTERY NPCX_I2C_PORT1
-#define I2C_PORT_CHARGER NPCX_I2C_PORT1
+#define I2C_PORT_BACKLIGHT NPCX_I2C_PORT1
#define I2C_PORT_PMIC NPCX_I2C_PORT2
#define I2C_PORT_THERMAL NPCX_I2C_PORT3
@@ -233,13 +232,7 @@ enum mft_channel {
};
enum OEM_ID {
- OEM_KENCH = 0,
- OEM_TEEMO = 1,
- OEM_SION = 2,
- OEM_WUKONG_N = 3,
- OEM_WUKONG_A = 4,
- OEM_WUKONG_M = 5,
- OEM_BLEEMO = 6,
+ OEM_KARMA = 7,
/* Number of OEM IDs */
OEM_COUNT
};
@@ -255,7 +248,7 @@ enum OEM_ID {
/* delay to turn on/off vconn */
#define PD_VCONN_SWAP_DELAY 5000 /* us */
-/* Define typical operating power. Since Fizz doesn't have a battery to charge,
+/* Define typical operating power. Since Kalista doesn't have a battery,
* we're not interested in any power lower than the AP power-on threshold. */
#define PD_OPERATING_POWER_MW CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON
#define PD_MAX_POWER_MW 100000