diff options
author | Tony Lindgren <tony@atomide.com> | 2019-10-16 17:37:07 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-10-16 17:51:16 +0300 |
commit | 4873843718f903de74b496e39367dc7aaf267c37 (patch) | |
tree | 462301c30214ffaf75170dc0e38d2bbc8bf4dcd1 /arch/arm/mach-omap2/pmic-cpcap.c | |
parent | caf8c87d7ff2037b502e76ce450565e9bd32a819 (diff) | |
download | linux-4873843718f903de74b496e39367dc7aaf267c37.tar.xz |
ARM: OMAP2+: Initialize voltage controller for omap4
We're missing initializing the PRM_VOLTCTRL register for voltage
controller. Let's add omap4_vc_init_pmic_signaling() similar to what we
have for omap3 and enable voltage control for retention.
This brings down droid4 power consumption with mainline kernel to somewhere
between 40 and 50mW from about 70 to 80 mW for the whole device when
running idle with LCD and backlight off, WLAN connected, and USB and modem
modules unloaded.
Mostly just rmmod of omap2430, ohci-platform and phy-mapphone-mdm6600 are
needed to idle USB and shut down the modem. And after that measuring idle
power consumption can be done with reading sysfs entry periodically
for /sys/class/power_supply/battery/power_avg. Then rmmod of phy-cpcap-usb
will save few more mW, but will disable the debug UART.
Note that sometimes CM_L4PER_UART1_CLKCTRL at 0x4a009540 does not idle
properly after unloading of phy-mapphone-mdm6600.
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pmic-cpcap.c')
0 files changed, 0 insertions, 0 deletions