diff options
author | Rong Chang <rongchang@chromium.org> | 2012-05-29 11:17:33 +0800 |
---|---|---|
committer | Rong Chang <rongchang@chromium.org> | 2012-05-31 18:56:47 +0800 |
commit | 29b9a28c9d17bbab8693300063f49d84dbdacc5c (patch) | |
tree | 5d44e46cb440cbaf2daea5e9de89290dbd115cb9 /board | |
parent | ee495ac6a699df75051b8aa2d7ab473a2ad79c87 (diff) | |
download | chrome-ec-29b9a28c9d17bbab8693300063f49d84dbdacc5c.tar.gz |
PMU tps65090 driver
This is an initial commit of tps65090 pmu driver. An empty charging
task added.
Signed-off-by: Rong Chang <rongchang@chromium.org>
BUG=chrome-os-partner:9756
TEST=manual
When connected to a battery, the EC uart console will display
battery status on value change.
Check pmu register with 'i2c r 0x90 4'. Output should be '0x03'.
Change-Id: I99e243d203c438751af0c3647556cbf9a94e928f
Diffstat (limited to 'board')
-rw-r--r-- | board/daisy/board.h | 1 | ||||
-rw-r--r-- | board/daisy/ec.tasklist | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/daisy/board.h b/board/daisy/board.h index 21a3f206de..b0a3df0963 100644 --- a/board/daisy/board.h +++ b/board/daisy/board.h @@ -34,6 +34,7 @@ /* Charging */ #define CONFIG_SMART_BATTERY +#define CONFIG_PMU_TPS65090 #define I2C_PORT_BATTERY 1 #define I2C_PORT_CHARGER 1 diff --git a/board/daisy/ec.tasklist b/board/daisy/ec.tasklist index 24b151ba87..6656552c33 100644 --- a/board/daisy/ec.tasklist +++ b/board/daisy/ec.tasklist @@ -15,6 +15,7 @@ */ #define CONFIG_TASK_LIST \ TASK(WATCHDOG, watchdog_task, NULL) \ + TASK(PMU_TPS65090_CHARGER, pmu_charger_task, NULL) \ TASK(KEYSCAN, keyboard_scan_task, NULL) \ TASK(GAIAPOWER, gaia_power_task, NULL) \ TASK(CONSOLE, console_task, NULL) \ |