Commit Graph

5 Commits

Author SHA1 Message Date
Christopher N. Hesse
1226350ee7 power: Get panel backlight brightness from lights helper
Change-Id: I3f28fc4abac947cc4a30d95ba74f45bf24c12c20
2016-12-21 14:24:03 -08:00
Christopher N. Hesse
4139d85cc6 power: Allow devices to override node paths
Change-Id: Ida7f41ddce2ef458cc77348c0b44ec0a7a86df72
2016-12-08 15:11:18 +01:00
ishantvivek
987dcca825 power: Update DT2W_PATH
* TARGET_TAP_TO_WAKE_NODE is defined in if condition. But in DT2W_PATH, TARGET_DT2W_PATH is defined. Why?
* Use same flag for both, otherwise we need to define two flags for the dt2w path.
* Use TARGET_TAP_TO_WAKE_NODE instead of TARGET_DT2W_PATH, for similarity with qcom powerHAL.

Change-Id: I87cbdc3f2aa1a3f9f6509580f2c1f001129a0fda
2016-11-21 06:29:20 +00:00
Christopher N. Hesse
e480d89ce5 power: Add double tap to wake support
Change-Id: Icb0b6d442544b39576ec74e70e97751d6bc70590
2016-07-13 01:59:31 -07:00
Christopher N. Hesse
de5e3c618d Initial unified Samsung power HAL
This is a power HAL for non-qcom Samsung devices.

It currently supports standard multi-core systems as well as
big.LITTLE configurations.

This HAL auto-detects your touchscreen and touchkey input switches
and handles the interactive state requests.

I also implemented a check to make sure your touchkeys won't turn
on when they're not supposed to (for example when a CMHW class disables
the capacitive buttons and activates a software navigation solution).
This previously needed a kernel hack to make sure the touchkeys wouldn't
be activated when resuming from suspend.

Change-Id: I22888c5ac490c85c417c5457ea4f457f78ed3521
2016-01-21 16:01:27 +01:00