Commit Graph

9 Commits

Author SHA1 Message Date
Giuseppe Barillari
d5b042464f sdm845-common: Override stock power HAL service definition
The service must be made part of the input group,
so that the power HAL can access the input nodes present
in the different targets.

Change-Id: I30a7bde8aebac4b76cbf59f5f795ea245aba1014
Signed-off-by: Giuseppe Barillari <joe2k01dev@gmail.com>
2019-03-06 11:14:23 +01:00
Ananth Raghavan Subramanian
d1a289d2fb sdm845-common: power: Clean up code and add generic hint handling
Removed unused code and added generic hint handling to power.c file,
does not need to be device specific anymore.

Change-Id: I0d4e2a73de0ce4d3735314d2e49ba58c23eb313c
2019-02-26 19:33:51 +00:00
Rajashekar Adi
69bcde86de sdm845-common: power: Fix for VNDK compliance issue
VNDK flag enablement for P upgrade

Change-Id: I033c3d9c8a1ee1e7f52a6398ae989becd66d161e
2019-02-26 19:33:51 +00:00
Vinay Verma
9b946f5c95 sdm845-common: power: Fix VNDK compilation errors
VNDK restrictions doesn't includes standard headers by
default, add them explicitly.

Change-Id: I4c72a28ffa141ecadcfe47cc7c1f62f2a0c8576e
2019-02-26 19:33:51 +00:00
TheScarastic
cdd2d459d5 sdm845-common: Switch to more generic dt2w node
Change-Id: I08c874f3ca50fad1db820ddd85ef0f5d7ccf0ed2
2019-01-31 00:38:14 +01:00
Wei Wang
7690a1c964 sdm845-common: power: Use monotonic time for interaction boost
Using the wall clock will cause boosts to be disabled
when/if the clock is adjusted backward.

Bug: 29191415
Bug: 29208304
Change-Id: I8af5f40b46d996ce7bccb8324fc186e2f3a5b267
2019-01-05 20:01:37 +00:00
BeYkeRYkt
cbf9d771a4 sdm845-common: power: Handle launch and interaction hints
* MP-CTL does not handle POWER_HINT_INTERACTION and POWER_HINT_LAUNCH
   directly. Requests for processing are sent by Qualcomm BoostFramework
   (QPerformance) at the framework service level. Since we do not have
   BoostFramework, process POWER_HINT_INTERACTION and POWER_HINT_LAUNCH
   in PowerHAL to ensure a sufficient level of performance.
 * For proper operation, perfboostsconfig.xml file is required.

Change-Id: I9fedcbaa189147c91d932711c831c2ce038a7ec7
2019-01-05 20:01:37 +00:00
Steve Kondik
d0544a616a sdm845-common: power: Add support for tap-to-wake feature control
Change-Id: I545902b29f4828c127bc32def6e30b67ce4a3aa7
2018-09-09 01:01:01 +01:00
Bruno Martins
d09238f8a2 sdm845-common: Import QCOM power HAL
* Plain QCOM power HAL based on tag LA.UM.6.3.r4-05000-sdm845.0.

Change-Id: Ia4fe5dd8e0240955b7d2199e3e1d6743138b511d
2018-09-09 01:01:01 +01:00