sdm710-common: powerhint: Add DT2W

Change-Id: I7d0dfe249798864a39afd4f339b692584faaf3ec
This commit is contained in:
Georg Veichtlbauer
2024-01-30 09:29:36 +01:00
committed by Rodney Etienne
parent 96c588eb97
commit ac7cf04563
2 changed files with 16 additions and 3 deletions

View File

@@ -120,9 +120,6 @@ BOARD_VENDOR := xiaomi
BOARD_USES_QCOM_HARDWARE := true
TARGET_BOARD_PLATFORM := sdm710
# Power
TARGET_TAP_TO_WAKE_NODE := "/sys/touchpanel/double_tap"
# Properties
TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop
TARGET_SYSTEM_PROP += $(COMMON_PATH)/system.prop

View File

@@ -235,6 +235,16 @@
""
],
"Type": "Property"
},
{
"Name": "DoubleTapToWake",
"Path": "/sys/touchpanel/double_tap",
"Values": [
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": true
}
],
"Actions": [
@@ -609,6 +619,12 @@
"Node": "PMQoSCpuDmaLatency",
"Duration": 2000,
"Value": "2c"
},
{
"PowerHint": "DOUBLE_TAP_TO_WAKE",
"Node": "DoubleTapToWake",
"Duration": 0,
"Value": "1"
}
]
}