From de632bfeedece3fee7dfbd4f35efb323b781db66 Mon Sep 17 00:00:00 2001 From: roynatech2544 Date: Mon, 17 Jan 2022 22:37:18 +0900 Subject: [PATCH] universal7885: power: allow system to turn off touchscreen * Also, remove nodes that are only effective when using interactive gorvernor --- .../configs/power/powerhint.json | 51 +------------------ 1 file changed, 2 insertions(+), 49 deletions(-) diff --git a/universal7885-common/configs/power/powerhint.json b/universal7885-common/configs/power/powerhint.json index 50d0bf4..17d6d8b 100644 --- a/universal7885-common/configs/power/powerhint.json +++ b/universal7885-common/configs/power/powerhint.json @@ -1,40 +1,11 @@ { "Nodes": [ - { - "Name": "CPULittleClusterIOIsBusy", - "Path": "/sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy", - "Values": [ - "0", - "1" - ], - "DefaultIndex": 0, - "ResetOnInit": true - }, - { - "Name": "CPUBoostPulse", - "Path": "/sys/devices/system/cpu/cpu0/cpufreq/interactive/boostpulse", - "Values": [ - "0", - "1" - ], - "DefaultIndex": 0, - "ResetOnInit": true - }, - { - "Name": "CPUBigClusterIOIsBusy", - "Path": "/sys/devices/system/cpu/cpu6/cpufreq/interactive/io_is_busy", - "Values": [ - "0", - "1" - ], - "DefaultIndex": 0, - "ResetOnInit": true - }, { "Name": "TouchscreenEnable", "Path": "/sys/class/sec/tsp/input/enabled", "Values": [ - "1" + "1", + "0" ], "ResetOnInit": true }, @@ -90,24 +61,6 @@ } ], "Actions": [ - { - "PowerHint": "INTERACTION", - "Node": "CPULittleClusterIOIsBusy", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "INTERACTION", - "Node": "CPUBoostPulse", - "Duration": 0, - "Value": "1" - }, - { - "PowerHint": "INTERACTION", - "Node": "CPUBigClusterIOIsBusy", - "Duration": 0, - "Value": "1" - }, { "PowerHint": "DOUBLE_TAP_TO_WAKE", "Node": "DoubleTapToWakeEnable",