diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2013-02-13 09:58:05 -0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-02-13 11:58:41 -0800 |
commit | 154c73f32d2625d2cfbe2fa9be4e15b4f382a917 (patch) | |
tree | 575dac2478c049603b920c1dd20073862a98f5de | |
parent | 92ceccbc4ba81ae077b2a41594d83dc125af0b46 (diff) | |
download | chrome-ec-154c73f32d2625d2cfbe2fa9be4e15b4f382a917.tar.gz |
spring: always enable the PP3300_WWAN rail
The kernel driver to control the 3G modem LDO is not submitted yet.
Let's hardcode it for now to enable RF testing and revert this patch
later.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=chrome-os-partner:17790
TEST=on Spring, boot and dump the TPS65090 configuration from the EC
command line by using "pmu" command.
See 0x1f in the register 0x11 for FET3.
Change-Id: I29aa7d1d7fb819ff1881a756e9592e272e87ad0b
Reviewed-on: https://gerrit.chromium.org/gerrit/43181
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/spring/board.c | 6 | ||||
-rw-r--r-- | board/spring/board.h | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/board/spring/board.c b/board/spring/board.c index 2867128050..b271fc5d43 100644 --- a/board/spring/board.c +++ b/board/spring/board.c @@ -205,10 +205,8 @@ static void board_startup_hook(void) gpio_set_flags(GPIO_SUSPEND_L, INT_BOTH_PULL_UP); #ifdef CONFIG_PMU_FORCE_FET - /* Enable lcd panel power */ - pmu_enable_fet(FET_LCD_PANEL, 1, NULL); - /* Enable backlight power */ - pmu_enable_fet(FET_BACKLIGHT, 1, NULL); + /* Enable 3G modem power */ + pmu_enable_fet(FET_WWAN, 1, NULL); #endif /* CONFIG_PMU_FORCE_FET */ } DECLARE_HOOK(HOOK_CHIPSET_STARTUP, board_startup_hook, HOOK_PRIO_DEFAULT); diff --git a/board/spring/board.h b/board/spring/board.h index 757e26bcea..0e30a98a6b 100644 --- a/board/spring/board.h +++ b/board/spring/board.h @@ -33,6 +33,9 @@ /* Smart battery and TPSchrome are on a private I2C bus behind the EC */ #define CONFIG_I2C_PASSTHROUGH +/* always enable the 3G modem power rail */ +#define CONFIG_PMU_FORCE_FET + #ifndef __ASSEMBLER__ /* By default, enable all console messages except keyboard */ |