summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-08-27 12:36:47 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-08-30 15:39:31 +0000
commitea41735a4cfc658642b861fd2f68dd451824ca74 (patch)
treee607a5ce7138005715748992b0abc0ecf263fb85 /board
parent8f79405766c0172e0e958ce54b0a2b6f4a7c8be6 (diff)
downloadchrome-ec-ea41735a4cfc658642b861fd2f68dd451824ca74.tar.gz
Add BQ24192 charger driver
This is the initial version of BQ24192 charger driver. For now, it only probes for BQ24192 chip on initialization and get BQ24192 into host mode. Also, charger_closest_current() is identical across all charger drivers. Let's move it to charger_common.c. BUG=chrome-os-partner:22238 TEST=Build all boards. Boot Kirby and see BQ24192 initialized. BRANCH=None Change-Id: I5291362ff0e69b281bffd6d609ce6dc48eb10898 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/167457
Diffstat (limited to 'board')
-rw-r--r--board/kirby/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/kirby/board.h b/board/kirby/board.h
index 26e031b7b2..d246622504 100644
--- a/board/kirby/board.h
+++ b/board/kirby/board.h
@@ -9,6 +9,8 @@
#define __BOARD_H
/* Optional features */
+#define CONFIG_CHARGER
+#define CONFIG_CHARGER_BQ24192
#define CONFIG_CHIPSET_GAIA
#define CONFIG_HOST_COMMAND_STATUS
#define CONFIG_I2C